From 23524cb94314fd50476ccffe654841d980c713d7 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Fri, 19 Jan 2024 11:28:25 -0500 Subject: Clean project from marketing content (#50) * Clean project from marketing content * Remove some dependencies --- src/app/groups/layout.tsx | 8 --- src/app/layout.tsx | 19 +---- src/app/page.tsx | 174 +++------------------------------------------- 3 files changed, 9 insertions(+), 192 deletions(-) (limited to 'src/app') diff --git a/src/app/groups/layout.tsx b/src/app/groups/layout.tsx index 75128c8..3b8b10e 100644 --- a/src/app/groups/layout.tsx +++ b/src/app/groups/layout.tsx @@ -1,8 +1,3 @@ -import { - FeedbackButton, - FeedbackModal, -} from '@/components/feedback-button/feedback-button' -import { env } from '@/lib/env' import { PropsWithChildren } from 'react' export default function GroupsLayout({ children }: PropsWithChildren<{}>) { @@ -11,9 +6,6 @@ export default function GroupsLayout({ children }: PropsWithChildren<{}>) {
{children}
- - - ) } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index bff432c..7d95d6e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,13 +1,10 @@ -import { FeedbackModal } from '@/components/feedback-button/feedback-button' import { ProgressBar } from '@/components/progress-bar' import { ThemeProvider } from '@/components/theme-provider' import { ThemeToggle } from '@/components/theme-toggle' import { Button } from '@/components/ui/button' import { Toaster } from '@/components/ui/toaster' import { env } from '@/lib/env' -import { HeartFilledIcon } from '@radix-ui/react-icons' import type { Metadata, Viewport } from 'next' -import PlausibleProvider from 'next-plausible' import Image from 'next/image' import Link from 'next/link' import './globals.css' @@ -67,9 +64,6 @@ export default function RootLayout({ }) { return ( - {env.PLAUSIBLE_DOMAIN && ( - - )} - {children} +
{children}
@@ -142,17 +136,6 @@ export default function RootLayout({ contributors - - - - -
diff --git a/src/app/page.tsx b/src/app/page.tsx index a7e44d3..4f43c4a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,17 +1,5 @@ import { Button } from '@/components/ui/button' -import { - BarChartHorizontalBig, - CircleDollarSign, - Divide, - FolderTree, - Github, - List, - LucideIcon, - Share, - ShieldX, - Users, -} from 'lucide-react' -import Image from 'next/image' +import { Github, LucideIcon } from 'lucide-react' import Link from 'next/link' import { ReactNode } from 'react' @@ -28,164 +16,18 @@ export default function HomePage() { & Family

- No ads. No account.
Open Source. - Forever Free. + Welcome to your new Spliit instance!
+ Customize this page by editing src/app/page.tsx.

- -
- - - -
-
-

- Features -

-

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

-
- - - - - - - - -
-
-
- -
-
-

- Proudly Open Source -

-

- Spliit is open source and lives thanks to amazing{' '} - - contributors - - ! -

-
    - {[ - { - avatar: - 'https://avatars.githubusercontent.com/u/301948?s=120&v=4', - user: 'scastiel', - name: 'Sebastien Castiel', - }, - { - avatar: - 'https://avatars.githubusercontent.com/u/3932568?s=120&v=4', - user: 'ChristopherJohnston', - name: 'Chris Johnston', - }, - { - avatar: - 'https://avatars.githubusercontent.com/u/11523186?s=120&v=4', - user: 'acuteengle', - name: 'Brandon Eng', - }, - { - avatar: - 'https://avatars.githubusercontent.com/u/24687853?s=120&v=4', - user: 'Max-TheCat', - name: 'Max', - }, - { - avatar: - 'https://avatars.githubusercontent.com/u/10518723?s=120&v=4', - user: 'ankitbahl', - name: 'Ankit Bahl', - }, - { - avatar: - 'https://avatars.githubusercontent.com/u/13032812?s=120&v=4', - user: '174n', - name: 'Ivan Alexandrov', - }, - ].map((contributor) => ( -
  • - - {contributor.user} - -
  • - ))} -
-
-- cgit v1.3