From 4fcaca631b5248ef99a4298f2c4b6aad64db78f3 Mon Sep 17 00:00:00 2001 From: romysaputrasihananda Date: Fri, 12 Jun 2026 03:47:45 +0700 Subject: [PATCH] feat(web): update logo to new A-mark design, match accent color palette MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New AresLogo component: A-shape with indigo gradient (#5e6ad2 → #828fff) - Replaces old square icon in Nav, footer, and favicon.svg - Colors match site accent tokens (c-accent / c-accent-hov) Co-Authored-By: Claude Sonnet 4.6 --- web/app/layout.tsx | 7 ++----- web/components/AresLogo.tsx | 27 +++++++++++++++++++++++++++ web/components/Nav.tsx | 7 ++----- web/public/favicon.svg | 25 +++++++++++++++++++++---- 4 files changed, 52 insertions(+), 14 deletions(-) create mode 100644 web/components/AresLogo.tsx 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 @@ - - - - + + + + + + + + + + + + + + + + + + + + +