From 06f43d02f756639c5b83b632c14e8c68f13d5056 Mon Sep 17 00:00:00 2001 From: CardsEditor <79968207+cardseditor@users.noreply.github.com> Date: Thu, 5 Jun 2025 22:50:31 +0900 Subject: [PATCH 1/3] Inline header icons and match link color --- componets/layout.tsx | 55 ++++++++++++++++++++++++++++++++++++++------ styles/global.css | 4 ++++ 2 files changed, 52 insertions(+), 7 deletions(-) diff --git a/componets/layout.tsx b/componets/layout.tsx index fba814c..569192c 100644 --- a/componets/layout.tsx +++ b/componets/layout.tsx @@ -59,32 +59,73 @@ export default function Layout({ children, home }: LayoutProps) { target="_blank" rel="noopener noreferrer" > - GitHub + - X + - Instagram + viewBox="0 0 24 24" + aria-hidden="true" + fill="currentColor" + xmlns="http://www.w3.org/2000/svg" + > + Instagram + + - Blog + diff --git a/styles/global.css b/styles/global.css index 2a9ea8c..adc944c 100644 --- a/styles/global.css +++ b/styles/global.css @@ -94,10 +94,14 @@ img { .icon { width: clamp(20px, 2.8vw, 28px); + fill: currentColor; + stroke: currentColor; } .size-24 { width: clamp(26px, 3.8vw, 36px); + fill: currentColor; + stroke: currentColor; } main { From a817e68faa25bb2e93819006fb660776a7cb87cf Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 5 Jun 2025 13:51:08 +0000 Subject: [PATCH 2/3] chore: apply lint and format --- componets/layout.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/componets/layout.tsx b/componets/layout.tsx index 569192c..32e6486 100644 --- a/componets/layout.tsx +++ b/componets/layout.tsx @@ -67,9 +67,7 @@ export default function Layout({ children, home }: LayoutProps) { xmlns="http://www.w3.org/2000/svg" > GitHub - + Instagram - + Date: Fri, 6 Jun 2025 08:00:21 +0900 Subject: [PATCH 3/3] fix: update icon styles for better color handling --- componets/layout.tsx | 22 ++++++++-------------- styles/global.css | 2 -- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/componets/layout.tsx b/componets/layout.tsx index 32e6486..4769390 100644 --- a/componets/layout.tsx +++ b/componets/layout.tsx @@ -60,7 +60,7 @@ export default function Layout({ children, home }: LayoutProps) { rel="noopener noreferrer" > diff --git a/styles/global.css b/styles/global.css index adc944c..29b05ef 100644 --- a/styles/global.css +++ b/styles/global.css @@ -94,8 +94,6 @@ img { .icon { width: clamp(20px, 2.8vw, 28px); - fill: currentColor; - stroke: currentColor; } .size-24 {