diff --git a/public/logo.png b/public/logo.png index 26cfb61..4839048 100644 Binary files a/public/logo.png and b/public/logo.png differ diff --git a/src/app/(protected)/home/page.tsx b/src/app/(protected)/home/page.tsx new file mode 100644 index 0000000..ba4a383 --- /dev/null +++ b/src/app/(protected)/home/page.tsx @@ -0,0 +1,30 @@ +import HeroSection from "~/modules/home/ui/HeroSection"; +import ProductDemo from "~/modules/home/ui/ProductDemo"; +import ProductFeatures from "~/modules/home/ui/ProductFeatures"; +import FooterUI from "~/modules/home/ui/Footer"; +import { ArrowRight } from "lucide-react"; +import Link from "next/link"; + +import React from "react"; + +const HomePage = () => { + return ( +
+ +
+ + Start Learning + + +
+ + + +
+ ); +}; + +export default HomePage; diff --git a/src/app/page.tsx b/src/app/page.tsx index 9e12af4..d5ffaa1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,183 +1,10 @@ import React from "react"; -import Link from "next/link"; -import { - FileText, - Sparkles, - BrainCircuit, - Flame, - ShieldCheck, - ArrowRight, - Zap, - BookOpen, -} from "lucide-react"; -import { FeatureShowcase } from "~/components/landing/feature-showcase"; +import LandingLayout from "~/modules/home/LandingLayout"; const LandingPage = () => { return (
- {/* Hero Section - Reduced Top Padding */} -
- {/* Cinematic Background */} -
- -
- - - Evolution of Study - -
- - {/* Decreased Font Sizes */} -

- Meet Shikshya.{" "} -
- - The AI-Powered Study OS. - -

- -

- A professional ecosystem for students. From automated - streaks to AI-contextualized PDF learning, Shikshya turns - raw information into structured knowledge. -

- - {/* Two Feasible CTAs */} -
- - Start Learning - - - - - - Explore Syllabus - -
-
- - - - {/* Flagship Feature: AI + PDF */} -
-
-
-
-
- -
-

- Contextual
- - PDF Intelligence - -

-

- Stop just reading. Our AI automatically ingests - your PDF uploads, indexing every concept. Ask - questions directly to your documents and get - instant, contextual answers. -

- -
- {[ - "Auto-Indexing", - "Formula Sync", - "Smart Summary", - "Flashcards", - ].map((item, idx) => ( -
- - {item} -
- ))} -
-
- -
-
-
- - - Thermodynamics_Ch3.pdf - -
-
-
-
-
-
-
-

- "AI: The second law of - thermodynamics implies that the entropy - of an isolated system never - decreases..." -

-
-
-
-
-
-
- - {/* Secondary Features Grid */} -
-
-
- -

- Streak Integrity -

-

- Maintain discipline with your visual learning - streak. -

-
-
- -

- Focus Workflow -

-

- A minimalist interface designed for deep focus. -

-
-
- -

- Encrypted Data -

-

- Your resources are private and secured end-to-end. -

-
-
-
- - {/* Footer */} -
-
-
- शि -
- - Shikshya - -
-

- Better Learning, Managed. -

-
+
); }; diff --git a/src/components/layout/navbar.tsx b/src/components/layout/navbar.tsx index 9eca986..442f004 100644 --- a/src/components/layout/navbar.tsx +++ b/src/components/layout/navbar.tsx @@ -11,6 +11,7 @@ import { Menu, X, Trophy, + HomeIcon, } from "lucide-react"; import { cn } from "~/lib/utils"; import ProfileSidebar from "./sidebar"; @@ -19,6 +20,7 @@ import { UserAvatar } from "../user-avatar"; import Image from "next/image"; const navItems = [ + { name: "Home", path: "/home", icon: HomeIcon }, { name: "Dashboard", path: "/dashboard", icon: LayoutDashboard }, { name: "Courses", path: "/course", icon: LibraryBig }, { name: "Learn", path: "/learn", icon: BookOpen }, @@ -60,7 +62,7 @@ export default function Navbar() {
{/* Logo */} {/* Logo Icon */} diff --git a/src/modules/home/LandingLayout.tsx b/src/modules/home/LandingLayout.tsx new file mode 100644 index 0000000..172bc6c --- /dev/null +++ b/src/modules/home/LandingLayout.tsx @@ -0,0 +1,18 @@ +import React from "react"; +import ProductDemo from "./ui/ProductDemo"; +import HeroSection from "./ui/HeroSection"; +import FooterUI from "./ui/Footer"; +import ProductFeatures from "./ui/ProductFeatures"; +import CTA from "./ui/CTA"; + +const LandingLayout = () => ( +
+ + + + + +
+); + +export default LandingLayout; diff --git a/src/modules/home/ui/CTA.tsx b/src/modules/home/ui/CTA.tsx new file mode 100644 index 0000000..24ef0f8 --- /dev/null +++ b/src/modules/home/ui/CTA.tsx @@ -0,0 +1,29 @@ +import React from "react"; +import Link from "next/link"; +import { ArrowRight, BookOpen } from "lucide-react"; + +const CTA = () => { + return ( +
+
+ + Start Learning + + + + + + Explore Syllabus + +
+
+ ); +}; + +export default CTA; diff --git a/src/modules/home/ui/Footer.tsx b/src/modules/home/ui/Footer.tsx new file mode 100644 index 0000000..bc4e632 --- /dev/null +++ b/src/modules/home/ui/Footer.tsx @@ -0,0 +1,28 @@ +import React from "react"; +import Image from "next/image"; + +const FooterUI = () => { + return ( +
+
+
+ ShikShya logo + + ShikShya + +
+

+ Better Learning, Managed. +

+
+
+ ); +}; + +export default FooterUI; diff --git a/src/modules/home/ui/HeroSection.tsx b/src/modules/home/ui/HeroSection.tsx new file mode 100644 index 0000000..7280160 --- /dev/null +++ b/src/modules/home/ui/HeroSection.tsx @@ -0,0 +1,36 @@ +import React from "react"; +import { Sparkles } from "lucide-react"; +const HeroSection = () => { + return ( +
+
+ {/* Cinematic Background */} +
+ +
+ + + Evolution of Study + +
+ + {/* Decreased Font Sizes */} +

+ Meet Shikshya.{" "} +
+ + The AI-Powered Study OS. + +

+ +

+ A professional ecosystem for students. From automated + streaks to AI-contextualized PDF learning, Shikshya turns + raw information into structured knowledge. +

+
+
+ ); +}; + +export default HeroSection; diff --git a/src/modules/home/ui/ProductDemo.tsx b/src/modules/home/ui/ProductDemo.tsx new file mode 100644 index 0000000..93f3ae9 --- /dev/null +++ b/src/modules/home/ui/ProductDemo.tsx @@ -0,0 +1,75 @@ +import React from "react"; +import { BrainCircuit, FileText, Zap } from "lucide-react"; + +const ProductDemo = () => { + return ( +
+
+
+
+
+
+ +
+

+ Contextual
+ + PDF Intelligence + +

+

+ Stop just reading. Our AI automatically ingests + your PDF uploads, indexing every concept. Ask + questions directly to your documents and get + instant, contextual answers. +

+ +
+ {[ + "Auto-Indexing", + "Formula Sync", + "Smart Summary", + "Flashcards", + ].map((item, idx) => ( +
+ + {item} +
+ ))} +
+
+ +
+
+
+ + + Thermodynamics_Ch3.pdf + +
+
+
+
+
+
+
+

+ "AI: The second law of + thermodynamics implies that the entropy + of an isolated system never + decreases..." +

+
+
+
+
+
+
+
+ ); +}; + +export default ProductDemo; diff --git a/src/modules/home/ui/ProductFeatures.tsx b/src/modules/home/ui/ProductFeatures.tsx new file mode 100644 index 0000000..3272e8d --- /dev/null +++ b/src/modules/home/ui/ProductFeatures.tsx @@ -0,0 +1,43 @@ +import React from "react"; +import { Flame, Zap, ShieldCheck } from "lucide-react"; + +const ProductFeatures = () => { + return ( +
+
+
+
+ +

+ Streak Integrity +

+

+ Maintain discipline with your visual learning + streak. +

+
+
+ +

+ Focus Workflow +

+

+ A minimalist interface designed for deep focus. +

+
+
+ +

+ Encrypted Data +

+

+ Your resources are private and secured end-to-end. +

+
+
+
+
+ ); +}; + +export default ProductFeatures;