diff --git a/web/app/layout.tsx b/web/app/layout.tsx index b3a6293..ea01ad6 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -1,6 +1,7 @@ import type { Metadata } from "next"; import "./globals.css"; import Nav from "@/components/Nav"; +import AresLogo from "@/components/AresLogo"; import { getLatestVersion, GITHUB_URL } from "@/lib/github"; const SITE_URL = "https://ares.romys.my.id"; @@ -62,11 +63,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
- + ARES {version && ( diff --git a/web/components/AresLogo.tsx b/web/components/AresLogo.tsx new file mode 100644 index 0000000..5572283 --- /dev/null +++ b/web/components/AresLogo.tsx @@ -0,0 +1,27 @@ +export default function AresLogo({ size = 28 }: { size?: number }) { + const id = `ares-logo-${size}`; + return ( + + ); +} diff --git a/web/components/Nav.tsx b/web/components/Nav.tsx index 1625d0d..5b43409 100644 --- a/web/components/Nav.tsx +++ b/web/components/Nav.tsx @@ -3,6 +3,7 @@ import Link from "next/link"; import { usePathname } from "next/navigation"; import clsx from "clsx"; import { GITHUB_URL } from "@/lib/github"; +import AresLogo from "./AresLogo"; const links = [ { href: "/", label: "Dashboard" }, @@ -17,11 +18,7 @@ export default function Nav({ version }: { version?: string | null }) {
{/* logo + wordmark */} - + ARES diff --git a/web/public/favicon.svg b/web/public/favicon.svg index ef18c67..8e6c538 100644 --- a/web/public/favicon.svg +++ b/web/public/favicon.svg @@ -1,5 +1,22 @@ - - - - + + + + + + + + + + + + + + + + + + + + +