Nonprofit is a website template for charities, NGOs and community groups, built on Bootstrap 5. The layout is responsive and works in all popular web browsers. It comes with nine pages: home, about, causes, cause details, impact, blog, blog details, contact and a page of interface elements.
The home page has a hero, an upcoming cause with a progress bar, an about block with a counter, three service icons, a slider of campaign cards and volunteer profiles with a call to action. The inner pages add a grid of campaigns with target and raised amounts, a single campaign page, an impact page, a blog with search, categories, tags and comments, and a contact page with a working form and a click-to-load map.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used Bootstrap 4.0 and jQuery), compiled from Sass with the original Bootstrap 4 proportions, and plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel on the campaign slider, PhotoSwipe replaces Magnific Popup in the gallery, a keyboard-operable dialog replaces SlickNav for the mobile menu, and Lucide SVG icons replace the icon fonts. npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter pages: all nine pages together went from 52.1 MB and 485 requests to 6.0 MB and 258 requests, and the download from 25.3 MB to 3.9 MB. Every photo has an AVIF version with the JPEG as the fallback, real dimensions and lazy loading below the first screen.
No third-party requests: Playfair Display and Roboto are self-hosted, the contact page loads its map only after a click, and a Google Analytics 4 snippet stays commented out until you add your own ID. Before, every page loaded its fonts from Google Fonts and the contact page loaded Google Maps.
Working forms: the contact, comment and newsletter forms send through PHP handlers (php/send-email.php and php/subscribe.php) with validation, a spam trap and an in-page message. Before, the forms had no working action.
Accessibility: a skip link and a main landmark on every page, one h1 per page, a real menu button, a mobile menu that keeps keyboard focus inside and closes with Esc, names on icon-only links and fields, visible focus rings and WCAG AA text contrast, with a lighter active colour in the dark header menu and darker greys on light backgrounds.
Fixed: the percentage badge on the campaign progress bar was clipped, the volunteer social icons were drawn white on white, the footer linked to a “Rooms” page, and the typography page carried unrelated sample text.
Demo content: new photographs of food drives, books and produce, fictional volunteer and campaign names, and placeholder contact details.