From 3e9ca7a1e520e03315858b2740f36330d093335d Mon Sep 17 00:00:00 2001 From: mohanadft Date: Sat, 11 Jul 2026 14:40:25 +0300 Subject: [PATCH] feat(design): migrate projects/events-new to Tailwind design system, refresh copy Swap /projects-new and /events-new from their leftover MUI components (ProjectsNew.tsx, Events.tsx) to the orphaned Tailwind rebuilds already in the codebase (ProjectsDirectory, EventsNew), matching the pattern already shipped on /ideas-new. Also refreshes the /projects-new hero (headline, subtitle, CTA buttons) and strips the redundant "- Tech for Palestine" suffix from page titles across the -new pages. --- src/pages/contact-new.astro | 2 +- src/pages/donate-2-new.astro | 2 +- src/pages/donate-new.astro | 2 +- src/pages/e4p-new.astro | 2 +- src/pages/endorsements-new.astro | 2 +- src/pages/events-new.astro | 9 +++------ src/pages/get-involved-new.astro | 2 +- src/pages/ideas-new.astro | 2 +- src/pages/legal-new.astro | 2 +- src/pages/london-gathering-new.astro | 2 +- src/pages/media-new.astro | 2 +- src/pages/membership-new.astro | 2 +- src/pages/mentorship-new.astro | 2 +- src/pages/privacy-policy-new.astro | 2 +- src/pages/projects-new.astro | 26 ++++++++++++++++++-------- src/pages/terms-new.astro | 2 +- src/pages/tools-new.astro | 2 +- src/pages/volunteer-new.astro | 2 +- 18 files changed, 37 insertions(+), 30 deletions(-) diff --git a/src/pages/contact-new.astro b/src/pages/contact-new.astro index 3a2ffd0..e458d06 100644 --- a/src/pages/contact-new.astro +++ b/src/pages/contact-new.astro @@ -6,7 +6,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; --- diff --git a/src/pages/donate-2-new.astro b/src/pages/donate-2-new.astro index c96fbae..be5cb39 100644 --- a/src/pages/donate-2-new.astro +++ b/src/pages/donate-2-new.astro @@ -7,7 +7,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; --- diff --git a/src/pages/donate-new.astro b/src/pages/donate-new.astro index 2385483..4baebbf 100644 --- a/src/pages/donate-new.astro +++ b/src/pages/donate-new.astro @@ -9,7 +9,7 @@ const isUK = country === "GB"; --- diff --git a/src/pages/e4p-new.astro b/src/pages/e4p-new.astro index 12247ff..fc53360 100644 --- a/src/pages/e4p-new.astro +++ b/src/pages/e4p-new.astro @@ -151,7 +151,7 @@ const founders = [ --- diff --git a/src/pages/endorsements-new.astro b/src/pages/endorsements-new.astro index 115632a..71b6f51 100644 --- a/src/pages/endorsements-new.astro +++ b/src/pages/endorsements-new.astro @@ -8,7 +8,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; --- diff --git a/src/pages/events-new.astro b/src/pages/events-new.astro index 5663ed9..a105c50 100644 --- a/src/pages/events-new.astro +++ b/src/pages/events-new.astro @@ -3,16 +3,13 @@ import { getEnv } from "../utils/getEnv"; import HomeLayout from "../layouts/HomeLayout.astro"; import HomeNavbar from "../components/home/HomeNavbar.astro"; import Button from "../components/ui/Button.astro"; -import EventsComponent from "../components/Events.tsx"; +import EventsNewComponent from "../components/events/EventsNew"; const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; - -let events: any[] = []; -let loading: boolean = true; --- @@ -32,7 +29,7 @@ let loading: boolean = true;
- +
diff --git a/src/pages/get-involved-new.astro b/src/pages/get-involved-new.astro index 7ea622f..5a36931 100644 --- a/src/pages/get-involved-new.astro +++ b/src/pages/get-involved-new.astro @@ -9,7 +9,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; --- diff --git a/src/pages/ideas-new.astro b/src/pages/ideas-new.astro index 19e768f..530dd8b 100644 --- a/src/pages/ideas-new.astro +++ b/src/pages/ideas-new.astro @@ -31,7 +31,7 @@ const startedIdeas = rawIdeas.filter((i) => i.category === "started").map(mapIde --- diff --git a/src/pages/legal-new.astro b/src/pages/legal-new.astro index ac8eba6..af87b48 100644 --- a/src/pages/legal-new.astro +++ b/src/pages/legal-new.astro @@ -7,7 +7,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; --- diff --git a/src/pages/london-gathering-new.astro b/src/pages/london-gathering-new.astro index ab515b5..6c0b5b1 100644 --- a/src/pages/london-gathering-new.astro +++ b/src/pages/london-gathering-new.astro @@ -38,7 +38,7 @@ const stats = [ --- diff --git a/src/pages/media-new.astro b/src/pages/media-new.astro index da9bd1f..767162b 100644 --- a/src/pages/media-new.astro +++ b/src/pages/media-new.astro @@ -117,7 +117,7 @@ const darkAssets = [ --- diff --git a/src/pages/membership-new.astro b/src/pages/membership-new.astro index ff3eb7e..0ecd84b 100644 --- a/src/pages/membership-new.astro +++ b/src/pages/membership-new.astro @@ -45,7 +45,7 @@ const teams = [ --- diff --git a/src/pages/mentorship-new.astro b/src/pages/mentorship-new.astro index 3d2c4ae..c094c1e 100644 --- a/src/pages/mentorship-new.astro +++ b/src/pages/mentorship-new.astro @@ -9,7 +9,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; --- diff --git a/src/pages/privacy-policy-new.astro b/src/pages/privacy-policy-new.astro index 26aa186..178ac41 100644 --- a/src/pages/privacy-policy-new.astro +++ b/src/pages/privacy-policy-new.astro @@ -7,7 +7,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; --- diff --git a/src/pages/projects-new.astro b/src/pages/projects-new.astro index c5e9721..2d04a7a 100644 --- a/src/pages/projects-new.astro +++ b/src/pages/projects-new.astro @@ -3,16 +3,13 @@ import { getEnv } from "../utils/getEnv"; import HomeLayout from "../layouts/HomeLayout.astro"; import HomeNavbar from "../components/home/HomeNavbar.astro"; import Button from "../components/ui/Button.astro"; -import ProjectsNewComponent from "../components/ProjectsNew.tsx"; +import ProjectsDirectory from "../components/projects/ProjectsDirectory"; const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; - -let projects: any[] = []; -let loading: boolean = true; --- @@ -21,18 +18,31 @@ let loading: boolean = true;
-

Tech for Palestine

+

The Incubator

Incubator Projects

- What is the incubator? Learn more + Every project below was built and led by volunteers who turned frustration into action. Explore what the movement has built, then help lead the next one.

+
+ + +
- +
diff --git a/src/pages/terms-new.astro b/src/pages/terms-new.astro index f3d4aa1..cccb6ab 100644 --- a/src/pages/terms-new.astro +++ b/src/pages/terms-new.astro @@ -7,7 +7,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; --- diff --git a/src/pages/tools-new.astro b/src/pages/tools-new.astro index 97a3c94..82393dc 100644 --- a/src/pages/tools-new.astro +++ b/src/pages/tools-new.astro @@ -104,7 +104,7 @@ const tools = [ --- diff --git a/src/pages/volunteer-new.astro b/src/pages/volunteer-new.astro index a37f543..2e4da78 100644 --- a/src/pages/volunteer-new.astro +++ b/src/pages/volunteer-new.astro @@ -9,7 +9,7 @@ const membershipLive = getEnv("MEMBERSHIP_LIVE", Astro.locals) === "true"; ---