Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/MCH.pdf
Binary file not shown.
33 changes: 33 additions & 0 deletions src/pages/Budget/PDFSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import MaxWidthWrapper from '@/components/MaxWidthWrapper';

function PDFSection() {
return (
<section className="py-12">
<MaxWidthWrapper>
<div className="bg-white rounded-lg shadow-lg p-8 text-center">
<h2 className="text-3xl font-bold text-gray-900 mb-4">Download Detailed MCH Proposal Report</h2>
<p className="text-lg text-gray-600 mb-6">
Get the complete budget breakdown and project documentation in PDF format
</p>
<div className="flex justify-center">
<a
href="/MCH.pdf"
download="Mountain-Children-Home.pdf"
className="inline-flex items-center px-6 py-3 bg-blue-600 hover:bg-blue-700 text-white font-semibold rounded-lg transition-colors duration-200"
>
<svg className="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
Download Budget Report (PDF)
</a>
</div>
<p className="text-sm text-gray-500 mt-4">
File size: ~2.5 MB | Last updated: August 2025
</p>
</div>
</MaxWidthWrapper>
</section>
);
}

export default PDFSection;
2 changes: 2 additions & 0 deletions src/pages/Budget/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import AnnualOperatingSection from './AnnualOperatingSection';
import BudgetOverview from './BudgetOverview';
import ChildWelfareSection from './ChildWelfareSection';
import ContactSection from './ContactSection';
import PDFSection from './PDFSection';
import SDGSection from './SDGSection';
import SustainableSection from './SustainableSection';

Expand Down Expand Up @@ -95,6 +96,7 @@ function Budget() {
/>
<SDGSection sdgAlignment={sdgAlignment} />
<ContactSection />
<PDFSection />
</div>

);
Expand Down
10 changes: 6 additions & 4 deletions src/pages/Event/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function Events() {
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
{events.map((event) => (
<Card key={event.id} className="overflow-hidden hover:shadow-lg transition-shadow duration-300">
<Card key={event.id} className="overflow-hidden hover:shadow-lg transition-shadow duration-300 pt-0">
<div className="relative">
<img
src={event.cover_image}
Expand All @@ -177,9 +177,11 @@ function Events() {
{event.title}
</h3>

<p className="text-muted-foreground mb-4 line-clamp-3">
{event.description}
</p>
<div
className="text-muted-foreground mb-4 line-clamp-3"
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{ __html: event.description }}
/>

<div className="space-y-2 mb-4">
<div className="flex items-center text-sm text-muted-foreground">
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"root":["./src/main.tsx","./src/vite-env.d.ts","./src/app/app.tsx","./src/app/protectroutes.tsx","./src/app/publicroutes.tsx","./src/components/footer/index.tsx","./src/components/herosection/index.tsx","./src/components/layout/index.tsx","./src/components/maxwidthwrapper/index.tsx","./src/components/navbar/index.tsx","./src/components/scrolltotop/index.tsx","./src/components/toploader/toploader.tsx","./src/components/ui/badge.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/carousel.tsx","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/sonner.tsx","./src/components/ui/table.tsx","./src/constants/index.tsx","./src/contexts/auth.tsx","./src/lib/base.ts","./src/lib/utils.ts","./src/pages/aboutus/missionandvision.tsx","./src/pages/aboutus/ourstory.tsx","./src/pages/aboutus/ourteam.tsx","./src/pages/aboutus/ourvalues.tsx","./src/pages/aboutus/index.tsx","./src/pages/blog/blogcontent.tsx","./src/pages/blog/index.tsx","./src/pages/blogdetail/index.tsx","./src/pages/budget/annualoperatingsection.tsx","./src/pages/budget/budgetoverview.tsx","./src/pages/budget/childwelfaresection.tsx","./src/pages/budget/contactsection.tsx","./src/pages/budget/sdgsection.tsx","./src/pages/budget/sustainablesection.tsx","./src/pages/budget/index.tsx","./src/pages/contactus/contactsection.tsx","./src/pages/contactus/mapsection.tsx","./src/pages/contactus/index.tsx","./src/pages/dashboard/index.tsx","./src/pages/event/index.tsx","./src/pages/eventdetail/index.tsx","./src/pages/gallery/gallerysection.tsx","./src/pages/gallery/index.tsx","./src/pages/home/blogpreview.tsx","./src/pages/home/contributorssection.tsx","./src/pages/home/gallerypreview.tsx","./src/pages/home/hero.tsx","./src/pages/home/howtohelpsection.tsx","./src/pages/home/whatwedosection.tsx","./src/pages/home/whowearesection.tsx","./src/pages/home/index.tsx","./src/pages/login/index.tsx"],"version":"5.7.3"}
{"root":["./src/main.tsx","./src/vite-env.d.ts","./src/app/app.tsx","./src/app/protectroutes.tsx","./src/app/publicroutes.tsx","./src/components/footer/index.tsx","./src/components/herosection/index.tsx","./src/components/layout/index.tsx","./src/components/maxwidthwrapper/index.tsx","./src/components/navbar/index.tsx","./src/components/scrolltotop/index.tsx","./src/components/toploader/toploader.tsx","./src/components/ui/badge.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/carousel.tsx","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/sonner.tsx","./src/components/ui/table.tsx","./src/constants/index.tsx","./src/contexts/auth.tsx","./src/lib/base.ts","./src/lib/utils.ts","./src/pages/aboutus/missionandvision.tsx","./src/pages/aboutus/ourstory.tsx","./src/pages/aboutus/ourteam.tsx","./src/pages/aboutus/ourvalues.tsx","./src/pages/aboutus/index.tsx","./src/pages/blog/blogcontent.tsx","./src/pages/blog/index.tsx","./src/pages/blogdetail/index.tsx","./src/pages/budget/annualoperatingsection.tsx","./src/pages/budget/budgetoverview.tsx","./src/pages/budget/childwelfaresection.tsx","./src/pages/budget/contactsection.tsx","./src/pages/budget/pdfsection.tsx","./src/pages/budget/sdgsection.tsx","./src/pages/budget/sustainablesection.tsx","./src/pages/budget/index.tsx","./src/pages/contactus/contactsection.tsx","./src/pages/contactus/mapsection.tsx","./src/pages/contactus/index.tsx","./src/pages/dashboard/index.tsx","./src/pages/event/index.tsx","./src/pages/eventdetail/index.tsx","./src/pages/gallery/gallerysection.tsx","./src/pages/gallery/index.tsx","./src/pages/home/blogpreview.tsx","./src/pages/home/contributorssection.tsx","./src/pages/home/gallerypreview.tsx","./src/pages/home/hero.tsx","./src/pages/home/howtohelpsection.tsx","./src/pages/home/whatwedosection.tsx","./src/pages/home/whowearesection.tsx","./src/pages/home/index.tsx","./src/pages/login/index.tsx"],"version":"5.7.3"}
Loading