diff --git a/bun.lockb b/bun.lockb index 2606a3e..e9d5616 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/projects/website/package.json b/projects/website/package.json index 8947b8b..e08d955 100644 --- a/projects/website/package.json +++ b/projects/website/package.json @@ -20,6 +20,7 @@ "@radix-ui/react-label": "^2.1.0", "@radix-ui/react-popover": "^1.1.2", "@radix-ui/react-scroll-area": "^1.1.0", + "@radix-ui/react-separator": "^1.1.0", "@radix-ui/react-slider": "^1.2.1", "@radix-ui/react-slot": "^1.1.0", "@radix-ui/react-toast": "^1.2.1", diff --git a/projects/website/public/assets/home/app-preview.png b/projects/website/public/assets/home/app-preview.png new file mode 100644 index 0000000..4297bb3 Binary files /dev/null and b/projects/website/public/assets/home/app-preview.png differ diff --git a/projects/website/public/assets/home/data-collection.png b/projects/website/public/assets/home/data-collection.png new file mode 100644 index 0000000..4297bb3 Binary files /dev/null and b/projects/website/public/assets/home/data-collection.png differ diff --git a/projects/website/public/assets/home/friends.png b/projects/website/public/assets/home/friends.png new file mode 100644 index 0000000..4297bb3 Binary files /dev/null and b/projects/website/public/assets/home/friends.png differ diff --git a/projects/website/public/assets/home/realtime-scores.png b/projects/website/public/assets/home/realtime-scores.png new file mode 100644 index 0000000..4297bb3 Binary files /dev/null and b/projects/website/public/assets/home/realtime-scores.png differ diff --git a/projects/website/public/assets/logos/discord.svg b/projects/website/public/assets/logos/discord.svg new file mode 100644 index 0000000..64571aa --- /dev/null +++ b/projects/website/public/assets/logos/discord.svg @@ -0,0 +1,4 @@ + + + \ No newline at end of file diff --git a/projects/website/src/app/(pages)/page.tsx b/projects/website/src/app/(pages)/page.tsx index babc5b9..5b99ff6 100644 --- a/projects/website/src/app/(pages)/page.tsx +++ b/projects/website/src/app/(pages)/page.tsx @@ -1,32 +1,20 @@ -import { Button } from "@/components/ui/button"; -import Link from "next/link"; -import { AppStatistics } from "@ssr/common/types/backend/app-statistics"; -import { kyFetch } from "@ssr/common/utils/utils"; -import { Config } from "@ssr/common/config"; -import { AppStats } from "@/components/app-statistics"; - -export const dynamic = "force-dynamic"; // Always generate the page on load +import HeroSection from "@/components/home/hero"; +import DataCollection from "@/components/home/data-collection"; +import Friends from "@/components/home/friends"; +import SiteStats from "@/components/home/site-stats"; +import RealtimeScores from "@/components/home/realtime-scores"; export default async function HomePage() { - const statistics = await kyFetch(Config.apiUrl + "/statistics"); - return ( -
-
-

ScoreSaber Reloaded

-

Welcome to the ScoreSaber Reloaded website.

-
- -
-

ScoreSaber Reloaded is a website that allows you to track your ScoreSaber data over time.

-
- - {statistics && } - -
- - - +
+
+
+ + + + + +
); diff --git a/projects/website/src/app/layout.tsx b/projects/website/src/app/layout.tsx index 055c7b6..b6f1b5b 100644 --- a/projects/website/src/app/layout.tsx +++ b/projects/website/src/app/layout.tsx @@ -79,9 +79,9 @@ export default function RootLayout({ -
+
-
+
{children}