From cd8bbeff5d36d918eacb778cf283b53033aee2c5 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Tue, 29 Oct 2024 17:39:32 -0400 Subject: [PATCH] new footer --- projects/website/src/app/layout.tsx | 7 +- projects/website/src/components/footer.tsx | 216 +++++++++++++----- .../website/src/components/home/friends.tsx | 22 +- projects/website/src/components/home/hero.tsx | 4 +- .../src/components/home/realtime-scores.tsx | 9 +- 5 files changed, 186 insertions(+), 72 deletions(-) diff --git a/projects/website/src/app/layout.tsx b/projects/website/src/app/layout.tsx index b6f1b5b..cf9f2f9 100644 --- a/projects/website/src/app/layout.tsx +++ b/projects/website/src/app/layout.tsx @@ -1,5 +1,4 @@ import "./globals.css"; -import Footer from "@/components/footer"; import { PreloadResources } from "@/components/preload-resources"; import { QueryProvider } from "@/components/providers/query-provider"; import { ThemeProvider } from "@/components/providers/theme-provider"; @@ -14,6 +13,8 @@ import { Colors } from "@/common/colors"; import OfflineNetwork from "@/components/offline-network"; import Script from "next/script"; import { ApiHealth } from "@/components/api/api-health"; +import Footer from "@/components/footer"; +import { getBuildInformation } from "@/common/website-utils"; const siteFont = localFont({ src: "./fonts/JetBrainsMono.ttf", @@ -66,6 +67,7 @@ export default function RootLayout({ }: Readonly<{ children: React.ReactNode; }>) { + const { buildId, buildTimeShort } = getBuildInformation(); return ( @@ -84,7 +86,8 @@ export default function RootLayout({
{children}
-