diff --git a/components/Header.tsx b/components/Header.tsx index bfccf32..fc44a55 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -1,9 +1,28 @@ -import { Container, Group, Image } from '@mantine/core' +import { Container, Group } from '@mantine/core' import classes from '@/styles/Header.module.css' import { pageConfig } from '@/uptime.config' import { PageConfigLink } from '@/types/config' import { useTranslation } from 'react-i18next' +// OSG brand mark — same two-dot "connect" glyph as the wordmark on +// openshopgraph.org (BaseLayout.astro .top-brand .mark svg). +function OsgMark() { + return ( + + + + + + + + ) +} + export default function Header({ style }: { style?: React.CSSProperties }) { const { t } = useTranslation('common') const linkToElement = (link: PageConfigLink, i: number) => { @@ -26,17 +45,10 @@ export default function Header({ style }: { style?: React.CSSProperties }) {
- - logo + + + OpenShopGraph +  Status
diff --git a/pages/_app.tsx b/pages/_app.tsx index 1521da4..5c9b04b 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,4 +1,6 @@ import '@mantine/core/styles.css' +import '@/styles/osg-fonts.css' +import '@/styles/osg-theme.css' import type { AppProps } from 'next/app' import { MantineProvider } from '@mantine/core' import NoSsr from '@/components/NoSsr' diff --git a/pages/incidents.tsx b/pages/incidents.tsx index 480e5e4..8f00821 100644 --- a/pages/incidents.tsx +++ b/pages/incidents.tsx @@ -1,6 +1,5 @@ import Head from 'next/head' -import { Inter } from 'next/font/google' import { MaintenanceConfig, MonitorTarget } from '@/types/config' import { maintenances, pageConfig } from '@/uptime.config' import Header from '@/components/Header' @@ -12,7 +11,6 @@ import NoIncidentsAlert from '@/components/NoIncidents' import { useTranslation } from 'react-i18next' export const runtime = 'experimental-edge' -const inter = Inter({ subsets: ['latin'] }) function getSelectedMonth() { const hash = window.location.hash.replace('#', '') @@ -87,7 +85,7 @@ export default function IncidentsPage({ monitors }: { monitors: MonitorTarget[] -
+