From 92bf97e21ae90ea44799f14edd7c74d60aeeb0be Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 19 Jan 2026 21:47:45 +0100 Subject: [PATCH] website refactor --- apps/website/components/app/AppFooter.tsx | 89 ----------------------- apps/website/components/app/AppHeader.tsx | 18 ----- 2 files changed, 107 deletions(-) delete mode 100644 apps/website/components/app/AppFooter.tsx delete mode 100644 apps/website/components/app/AppHeader.tsx diff --git a/apps/website/components/app/AppFooter.tsx b/apps/website/components/app/AppFooter.tsx deleted file mode 100644 index a874410ee..000000000 --- a/apps/website/components/app/AppFooter.tsx +++ /dev/null @@ -1,89 +0,0 @@ -import React from 'react'; -import { Container } from '@/ui/Container'; -import { Grid } from '@/ui/Grid'; -import { Stack } from '@/ui/Stack'; -import { Text } from '@/ui/Text'; -import { Link } from '@/ui/Link'; -import { Surface } from '@/ui/Surface'; -import { BrandMark } from '@/ui/BrandMark'; -import { Box } from '@/ui/Box'; - -interface AppFooterProps { - children?: React.ReactNode; -} - -/** - * AppFooter is the bottom section of the application. - * It follows the "Telemetry Workspace" structure: matte surface, thin separators, minimal. - * Aligned with ControlBar (Header) design. - */ -export function AppFooter({ children }: AppFooterProps) { - return ( - - - {children ? ( - children - ) : ( - - - - - - - - INFRASTRUCTURE - - - - - The ultimate companion for sim racers. Track your performance, manage your team, and compete in leagues. - - - - - Platform - - Leagues - Teams - Leaderboards - - - - - Support - - Documentation - System Status - Contact Us - - - - - Legal - - Privacy Policy - Terms of Service - - - - )} - - - - © {new Date().getFullYear()} GridPilot. All rights reserved. - - - v1.0.0-stable - - - - - - ); -} diff --git a/apps/website/components/app/AppHeader.tsx b/apps/website/components/app/AppHeader.tsx deleted file mode 100644 index 942a09964..000000000 --- a/apps/website/components/app/AppHeader.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import { Header } from '@/ui/Header'; - -interface AppHeaderProps { - children: React.ReactNode; -} - -/** - * AppHeader is the top control bar of the application. - * It follows the "Telemetry Workspace" structure. - */ -export function AppHeader({ children }: AppHeaderProps) { - return ( -
- {children} -
- ); -}