diff --git a/app/(pages)/(landingPage)/WhyDeenBridge.jsx b/app/(pages)/(landingPage)/WhyDeenBridge.jsx deleted file mode 100644 index 0a2e26c0..00000000 --- a/app/(pages)/(landingPage)/WhyDeenBridge.jsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client"; -import { - FaBookOpen, - FaUsers, - FaMosque, - FaShieldAlt, - FaHandsHelping, -} from "react-icons/fa"; -import { BsStars } from "react-icons/bs"; -import Button from "@/components/atoms/form/Button"; -import { cn } from "@/lib/utils"; -import { poppins_600 } from "@/lib/config/font.config"; - -const features = [ - { - icon: , - title: "Trusted Islamic Resources", - desc: "Access authentic knowledge, curated by scholars and trusted sources, to strengthen your Deen with confidence.", - }, - { - icon: , - title: "Supportive Community", - desc: "Connect with Muslims worldwide, share experiences, and grow together in a safe, welcoming environment.", - }, - { - icon: , - title: "Spaces & Events", - desc: "Join live sessions, discussions, and events designed to inspire, educate, and unite the Ummah.", - }, - { - icon: , - title: "Personalized Learning", - desc: "Discover books, courses, and resources tailored to your interests and spiritual journey.", - }, - { - icon: , - title: "Privacy & Security", - desc: "Your data and conversations are protected with industry-leading security and privacy standards.", - }, - { - icon: , - title: "Excellence in Every Step", - desc: "Experience a platform built for beauty, ease, and spiritual excellence—where Deen meets modern design.", - }, -]; - -export default function WhyDeenBridge() { - return ( -
- {/* Decorative Islamic motif background */} -
-
-
-
-
-

- Why Deen Bridge? -

-
- {features.map((f, i) => ( -
- {f.icon} -

- {f.title} -

-

- {f.desc} -

-
- ))} -
-
- -
-
-
- ); -} diff --git a/app/(pages)/(auth)/login/page.jsx b/app/[locale]/(pages)/(auth)/login/page.jsx similarity index 100% rename from app/(pages)/(auth)/login/page.jsx rename to app/[locale]/(pages)/(auth)/login/page.jsx diff --git a/app/(pages)/(auth)/signup/page.jsx b/app/[locale]/(pages)/(auth)/signup/page.jsx similarity index 100% rename from app/(pages)/(auth)/signup/page.jsx rename to app/[locale]/(pages)/(auth)/signup/page.jsx diff --git a/app/(pages)/(landingPage)/About.jsx b/app/[locale]/(pages)/(landingPage)/About.jsx similarity index 65% rename from app/(pages)/(landingPage)/About.jsx rename to app/[locale]/(pages)/(landingPage)/About.jsx index b59dd67a..63d10bee 100644 --- a/app/(pages)/(landingPage)/About.jsx +++ b/app/[locale]/(pages)/(landingPage)/About.jsx @@ -2,8 +2,10 @@ import React from "react"; import Image from "next/image"; import Button from "@/components/atoms/form/Button"; +import { useTranslations } from "next-intl"; const About = () => { + const t = useTranslations("landing.about"); return (
@@ -12,18 +14,12 @@ const About = () => {

- Where Deen Meets{" "} - Excellence + {t.rich("title", { emphasis: (chunks) => {chunks} })}

- We are dedicated to connecting Muslims worldwide through - meaningful conversations, authentic knowledge, and a supportive - community. DeenBridge empowers users to learn, share, and grow in - their faith by providing access to trusted resources, inspiring - books, and opportunities to engage with others on their journey of - Islamic excellence. + {t("description")}

@@ -35,7 +31,7 @@ const About = () => { to="/signup" className=" text-white font-semibold py-4 px-8 text-lg transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl" > - Explore DeenBridge + {t("cta")}
@@ -45,7 +41,7 @@ const About = () => {
Beautiful mosque architecture representing Islamic excellence {
{/* Decorative Elements */} -
-
+
+
diff --git a/app/(pages)/(landingPage)/CTA.jsx b/app/[locale]/(pages)/(landingPage)/CTA.jsx similarity index 78% rename from app/(pages)/(landingPage)/CTA.jsx rename to app/[locale]/(pages)/(landingPage)/CTA.jsx index 166ff62b..b3e7b66d 100644 --- a/app/(pages)/(landingPage)/CTA.jsx +++ b/app/[locale]/(pages)/(landingPage)/CTA.jsx @@ -1,19 +1,20 @@ import Button from "@/components/atoms/form/Button"; import Link from "next/link"; +import { useTranslations } from "next-intl"; export default function CTA() { + const t = useTranslations("landing.cta"); return (

- Ready to Join Deen Bridge? + {t("title")}

- Unlock a world of knowledge, community, and growth. Sign up now and - start your journey with us today! + {t("description")}

diff --git a/app/(pages)/(landingPage)/Footer.jsx b/app/[locale]/(pages)/(landingPage)/Footer.jsx similarity index 72% rename from app/(pages)/(landingPage)/Footer.jsx rename to app/[locale]/(pages)/(landingPage)/Footer.jsx index 79318918..297d1158 100644 --- a/app/(pages)/(landingPage)/Footer.jsx +++ b/app/[locale]/(pages)/(landingPage)/Footer.jsx @@ -2,7 +2,17 @@ import { FaTwitter, FaGithub } from "react-icons/fa"; import { cn } from "@/lib/utils"; import { poppins_600 } from "@/lib/config/font.config"; import Link from "next/link"; +import { useTranslations } from "next-intl"; export default function Footer() { + const t = useTranslations("landing.footer"); + const links = [ + { name: t("courses"), href: "/dashboard/courses" }, + { name: t("library"), href: "/dashboard/library" }, + { name: t("spaces"), href: "/dashboard/spaces" }, + { name: t("sadaqah"), href: "/dashboard/sadaqah" }, + { name: t("blog"), href: "/blog" }, + { name: t("github"), href: "https://github.com/Deen-Bridge" }, + ]; return (