From 34c373272ba11077c2dfa31eee3736f51ffde684 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Fri, 8 Dec 2023 16:33:12 -0500 Subject: Landing page --- src/app/groups/layout.tsx | 6 +- src/app/layout.tsx | 30 +++++++++- src/app/page.tsx | 149 +++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 180 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/app/groups/layout.tsx b/src/app/groups/layout.tsx index d8aff39..df7d39e 100644 --- a/src/app/groups/layout.tsx +++ b/src/app/groups/layout.tsx @@ -1,5 +1,9 @@ import { PropsWithChildren } from 'react' export default function GroupsLayout({ children }: PropsWithChildren<{}>) { - return
{children}
+ return ( +
+ {children} +
+ ) } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 2edc33c..2abc96a 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -59,7 +59,7 @@ export default function RootLayout({ }) { return ( - + -
+

-
{children}
+ + {children} + + diff --git a/src/app/page.tsx b/src/app/page.tsx index dedeb98..77dfed0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,3 +1,150 @@ +import { Button } from '@/components/ui/button' +import { + BarChartHorizontalBig, + CircleDollarSign, + Github, + List, + LucideIcon, + Share, + ShieldX, + Users, +} from 'lucide-react' +import Link from 'next/link' +import { ReactNode } from 'react' + export default function HomePage() { - return
+ return ( +
+
+
+

+ Share Expenses
with Friends & Family +

+

+ No ads. No account.
Open Source. + Forever Free. +

+
+ + +
+
+
+ +
+
+

+ Features +

+

+ Spliit is a minimalist application to track and share expenses with + your friends and family. +

+
+ + + + + + +
+
+
+ +
+
+

+ Proudly Open Source +

+

+ Spliit is open source and powered by open source software. Feel free + to contribute! +

+ +
+
+
+ ) +} + +function Feature({ + name, + Icon, + description, +}: { + name: ReactNode + Icon: LucideIcon + description: ReactNode +}) { + return ( +
+ +
+ {name} +
+
+ {description} +
+
+ ) } -- cgit v1.3