Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions frontend/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ declare global {

/* ---------------- icons ---------------- */
type IconProps = { size?: number; stroke?: number };
const makeIcon =
(d: string) =>
({ size = 18, stroke = 1.6 }: IconProps) =>
(
const makeIcon = (d: string) => {
function Icon({ size = 18, stroke = 1.6 }: IconProps) {
return (
<svg
width={size}
height={size}
Expand All @@ -34,6 +33,10 @@ const makeIcon =
<path d={d} />
</svg>
);
}

return Icon;
};

const IconArrow = makeIcon("M5 12h14M13 5l7 7-7 7");
const IconGit = makeIcon(
Expand Down Expand Up @@ -858,13 +861,18 @@ function FinalCTA() {
);
}

/* ---------------- Footer ---------------- */
function Footer() {
const XIcon = (p: SVGProps<SVGSVGElement>) => (
function XIcon(p: SVGProps<SVGSVGElement>) {
return (
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" {...p}>
<path d="M18.244 2H21.5l-7.44 8.506L23 22h-6.86l-5.37-7.02L4.6 22H1.34l7.96-9.1L1 2h7.035l4.86 6.43L18.244 2zm-1.2 18h1.88L7.05 4H5.07l11.974 16z" />
</svg>
);
}

/* ---------------- Footer ---------------- */
function Footer() {
const currentYear = new Date().getFullYear();

return (
<footer className="footer">
<div>
Expand Down Expand Up @@ -899,7 +907,7 @@ function Footer() {
<span>Built for</span>
<img src="/assets/colosseumlogo.png" alt="Colosseum" />
</a>
<span className="footer-copy">© 2026 GH BOUNTY · ALL RIGHTS RESERVED</span>
<span className="footer-copy">© {currentYear} GH BOUNTY · ALL RIGHTS RESERVED</span>
</div>
</footer>
);
Expand Down
Loading