Skip to content

Commit ed9d016

Browse files
committed
feat: progress towards the landing page
1 parent e1d5c7a commit ed9d016

File tree

1 file changed

+55
-3
lines changed

1 file changed

+55
-3
lines changed

src/app/(marketing)/page.tsx

+55-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,45 @@
11
import Link from 'next/link';
2-
import { ChevronRightIcon, StarIcon } from 'lucide-react';
2+
import {
3+
ChevronRightIcon,
4+
ClipboardCheckIcon,
5+
DiamondIcon,
6+
Edit3Icon,
7+
ListChecksIcon,
8+
StarIcon,
9+
} from 'lucide-react';
310

411
import { constants } from '@/constants';
512
import { Button } from '@/primitives/button';
613

714
import Image from 'next/image';
815

16+
const shortFeaturesIconSize = 30;
17+
18+
const shortFeatures = [
19+
{
20+
icon: <Edit3Icon size={shortFeaturesIconSize} />,
21+
title: 'Note Taking',
22+
description: 'Write your study notes and let Noodle take care of the rest.',
23+
},
24+
{
25+
icon: <DiamondIcon size={shortFeaturesIconSize} />,
26+
title: 'Flashcards',
27+
description:
28+
'Create flashcards with reminders or let AI auto-suggest them for you.',
29+
},
30+
{
31+
icon: <ListChecksIcon size={shortFeaturesIconSize} />,
32+
title: 'Task Management',
33+
description:
34+
'Create module specific tasks to keep on track with what you need to do.',
35+
},
36+
{
37+
icon: <ClipboardCheckIcon size={shortFeaturesIconSize} />,
38+
title: 'Grade Tracking',
39+
description: 'Find out what you need to achieve to stay in progression.',
40+
},
41+
];
42+
943
/**
1044
* The marketing home page.
1145
* @returns A react component representing the marketing home page.
@@ -23,10 +57,10 @@ export default function Home() {
2357
<StarIcon className="fill-amber-500 stroke-amber-500" size={16} />
2458
</a>
2559
</Button>
26-
<h1 className="max-w-[20ch] bg-gradient-to-b from-foreground to-gray-foreground-muted bg-clip-text text-center text-8xl font-extrabold leading-none text-transparent">
60+
<h1 className="max-w-[20ch] text-balance bg-gradient-to-b from-foreground to-gray-foreground-muted bg-clip-text text-center text-8xl font-extrabold leading-none text-transparent">
2761
{constants.tagline}
2862
</h1>
29-
<p className="max-w-[50ch] text-center text-lg text-foreground-muted [&>strong]:font-medium [&>strong]:text-foreground">
63+
<p className="max-w-[50ch] text-pretty text-center text-lg text-foreground-muted [&>strong]:font-medium [&>strong]:text-foreground">
3064
Noodle is an <strong>open-source</strong> student productivity platform
3165
made to <strong>streamline</strong> the process students conduct their
3266
studies and organize it.
@@ -43,6 +77,24 @@ export default function Home() {
4377
alt="Dashboard Preview"
4478
className="my-12 rounded-lg shadow-[0_50px_200px_75px] shadow-pink/10"
4579
/>
80+
<section className="my-36 grid grid-cols-4 gap-12">
81+
{shortFeatures.map((feature) => (
82+
<div key={feature.title} className="flex flex-col gap-2">
83+
{feature.icon}
84+
<h3 className="pt-2 text-xl font-medium">{feature.title}</h3>
85+
<p className="text-foreground-muted">{feature.description}</p>
86+
</div>
87+
))}
88+
</section>
89+
<section className="flex flex-col items-center gap-6">
90+
<h2 className="max-w-[20ch] text-balance bg-gradient-to-b from-foreground to-gray-foreground-muted bg-clip-text text-center text-6xl font-extrabold leading-tight text-transparent">
91+
One Platform to Rule Them All
92+
</h2>
93+
<p className="max-w-[45ch] text-pretty text-center text-lg text-foreground-muted [&>strong]:font-medium [&>strong]:text-foreground">
94+
A one of a kind platform, combining all the necessary productivity
95+
tools a student needs to stay on top of their work.
96+
</p>
97+
</section>
4698
</main>
4799
);
48100
}

0 commit comments

Comments
 (0)