Skip to content

Commit 0fee0d3

Browse files
committed
fix:aria label and fix svg
1 parent 6a06239 commit 0fee0d3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/app/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import Link from "next/link";
66

77
function GitHubIcon() {
88
return (
9-
<svg viewBox="0 0 24 24" className="size-5" fill="currentColor">
9+
<svg viewBox="0 0 24 24" className="size-5" fill="currentColor" role="img" aria-label="GitHub">
10+
<title>GitHub</title>
1011
<path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
1112
</svg>
1213
);

src/components/landing/hero-visual.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export function HeroVisual() {
307307
<div className="hero-sweep" />
308308
</div>
309309

310-
<svg viewBox="0 0 300 300" className="h-full w-full">
310+
<svg viewBox="0 0 300 300" className="h-full w-full" aria-hidden={true}>
311311
<g className="hero-outer-rings">
312312
{[40, 80, 120].map((r) => (
313313
<circle

0 commit comments

Comments
 (0)