From 725590a3fe6274df049c1d83c822af3514d2b1a9 Mon Sep 17 00:00:00 2001 From: Zeeshan Adil Date: Wed, 28 Oct 2026 03:56:42 +0500 Subject: [PATCH] feat(home): fold the programs section into Get involved and add MindMaster The Different paths, One purpose section repeated what Get involved already lists, so it is removed and Get involved moves up in its place. MindMaster joins the program list as invite only: ask your mentor or email info@devweekends.com. The Programs link in the header and the MindMaster page now point to Get involved. --- app/mindmaster/page.tsx | 2 +- app/page.tsx | 5 +-- components/home/data.ts | 41 ++++-------------- components/home/sections-mid.tsx | 74 -------------------------------- components/site/start-here.tsx | 2 +- 5 files changed, 13 insertions(+), 111 deletions(-) diff --git a/app/mindmaster/page.tsx b/app/mindmaster/page.tsx index 5d0b240..9e38ecb 100644 --- a/app/mindmaster/page.tsx +++ b/app/mindmaster/page.tsx @@ -30,7 +30,7 @@ export default function MindMasterPage() { Join the community See our programs diff --git a/app/page.tsx b/app/page.tsx index 3e8d545..7f5653a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,6 +1,6 @@ import type { Metadata } from "next" -import { Communities, Products, Programs } from "@/components/home/sections-mid" +import { Communities, Products } from "@/components/home/sections-mid" import { Partnerships, Qantara, Resources, Voices } from "@/components/home/sections-bottom" import { StartHere } from "@/components/site/start-here" import { Hero, Impact, Network, Outcomes, Reach } from "@/components/home/sections-top" @@ -22,9 +22,8 @@ export default function HomePage() { - - + diff --git a/components/home/data.ts b/components/home/data.ts index 5450d9f..eb19460 100644 --- a/components/home/data.ts +++ b/components/home/data.ts @@ -45,7 +45,7 @@ export const mailto = (subject: string) => `mailto:${LINKS.email}?subject=${enco */ export const navItems = [ { label: "Impact", href: "/#impact" }, - { label: "Programs", href: "/#programs" }, + { label: "Programs", href: "/#get-involved" }, { label: "Partners", href: "/#partners" }, { label: "Resources", href: "/#resources" }, { label: "Community links", href: "/links" }, @@ -56,7 +56,7 @@ export const navItems = [ export type ApplyProgram = { name: string when: string - status: "OPEN" | "CLOSED" | "GROUP" + status: "OPEN" | "CLOSED" | "GROUP" | "INVITE" cta: string href: string } @@ -97,6 +97,13 @@ export const applyPrograms: ApplyProgram[] = [ cta: "Learn more", href: "/ambassador-program", }, + { + name: "MindMaster", + when: "Invite only. Ask your mentor, or email info@devweekends.com", + status: "INVITE", + cta: "Ask for an invite", + href: mailto("Invitation to MindMaster"), + }, { name: "GSoC prep", when: "Join the prep group on WhatsApp and Discord", @@ -218,36 +225,6 @@ export const outcomes = [ }, ] -export const programs = [ - { - label: "Learn and build", - name: "Engineering Fellowship", - text: "A structured four-month journey. Real projects, focused study groups (clans), mentor guidance and the accountability to keep growing.", - link: { label: "Explore the fellowship", href: LINKS.fellowship }, - dark: false, - }, - { - label: "Contribute and grow", - name: "Open Source and GSoC", - text: "DWOSI products, DSOC cohorts and GSoC and LFX preparation. Work with maintainers and build a public record.", - link: { label: "Explore open source", href: LINKS.dwosi }, - dark: false, - }, - { - label: "Think and thrive", - name: "MindMaster", - text: "Human skills that make great engineers: growth mindset, communication, adaptability, teamwork, personal development and purpose.", - tag: "Invite only", - link: { label: "Courses coming soon on Buildment", href: null as string | null }, - dark: false, - }, -] - -export const platforms = [ - { name: "Pathment", text: "Where fellowships run: clans, mentors, tasks and progress.", href: LINKS.pathment }, - { name: "Buildment", text: "Where our courses will live, MindMaster included. Coming soon.", href: LINKS.buildment }, -] - /** Products not live yet link to our GitHub and keep a Coming soon tag */ export const products: { name: string; tag: string; text: string; href: string; soon?: boolean }[] = [ { name: "Pathment", tag: "PLATFORM", text: "Runs our fellowships: clans, mentors, tasks and progress tracking.", href: LINKS.pathment }, diff --git a/components/home/sections-mid.tsx b/components/home/sections-mid.tsx index 8366d9a..90f1517 100644 --- a/components/home/sections-mid.tsx +++ b/components/home/sections-mid.tsx @@ -1,88 +1,14 @@ -import { ArrowUpRight } from "lucide-react" - import { Slider } from "@/components/site/slider" import { SmartLink } from "./smart-link" import { LINKS, circles, - platforms, products, - programs, } from "./data" const eyebrow = "text-[13px] font-semibold uppercase tracking-[0.14em] text-[#5C5C5C]" const h2 = "mt-3.5 text-[clamp(36px,4.4vw,56px)] font-semibold leading-[1.05] tracking-[-0.04em]" -export function Programs() { - return ( -
-
-
-
-

Programs

-

- Different paths. One purpose. -

-
- - Explore all opportunities → - -
- -
- - {programs.map((program) => ( -
-

- {program.label} - {"tag" in program && program.tag && ( - {program.tag} - )} -

-

{program.name}

-

{program.text}

- - {program.link.label} - {program.link.href && " →"} - -
- ))} -
-
- -
-
-

Built by us, run on our own platforms

-

Every program runs on tools our community builds.

-
- {platforms.map((platform) => ( - - - {platform.name} - {platform.href ? ( - - {platform.text} - - ))} -
-
-
- ) -} - export function Products() { return (
diff --git a/components/site/start-here.tsx b/components/site/start-here.tsx index aab761a..dfa5f05 100644 --- a/components/site/start-here.tsx +++ b/components/site/start-here.tsx @@ -95,7 +95,7 @@ export function StartHere() { - {program.status} + {program.status === "INVITE" ? "INVITE ONLY" : program.status} {program.status === "CLOSED" ? ( // Closed programs still have a page worth reading: say so