Skip to content
Closed
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
45 changes: 24 additions & 21 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@
{ label: "GitHub Repository", href: "https://github.com/Priyanshu-byte-coder/devtrack" },
{ label: "Contributing Guide", href: "https://github.com/Priyanshu-byte-coder/devtrack/blob/main/CONTRIBUTING.md" },
];
const LEGAL_LINKS = [

Check failure on line 23 in src/components/Footer.tsx

View workflow job for this annotation

GitHub Actions / Type check

Cannot redeclare block-scoped variable 'LEGAL_LINKS'.
{ label: "Privacy Policy", href: "/privacy-policy" },
{ label: "Guidelines", href: "https://github.com/Priyanshu-byte-coder/devtrack/blob/main/CODE_OF_CONDUCT.md" },
{ label: "Documentation", href: "https://github.com/Priyanshu-byte-coder/devtrack/blob/main/DEVELOPMENT.md" },
];

const LEGAL_LINKS = [

Check failure on line 29 in src/components/Footer.tsx

View workflow job for this annotation

GitHub Actions / Type check

Cannot redeclare block-scoped variable 'LEGAL_LINKS'.
{ label: "Privacy Policy", href: "/privacy-policy" },
{ label: "Guidelines", href: "/guidelines" },
{ label: "Documentation", href: "/api-docs" },
Expand Down Expand Up @@ -219,28 +224,26 @@
))}
</nav>
</div>

{/* Legal Links */}
<div>
<h3
className="text-[11px] font-bold uppercase tracking-[0.2em] text-[var(--foreground)]"
style={{
fontFamily: "var(--font-jetbrains, ui-monospace, monospace)",
}}
>
Legal Links
</h3>

<nav
aria-label="Legal links"
className="mt-6 flex flex-col gap-3"
>
{LEGAL_LINKS.map(({ label, href }) => (
<FooterLink key={label} href={href}>
{label}
</FooterLink>
))}
</nav>
</div>
<h3
className="text-[11px] font-bold uppercase tracking-[0.2em] text-[var(--foreground)]"
style={{ fontFamily: "var(--font-jetbrains, ui-monospace, monospace)" }}
>
Legal Links
</h3>
<nav aria-label="Legal links" className="mt-6 flex flex-col gap-3">
{LEGAL_LINKS.map(({ label, href }) => (
<FooterLink
key={label}
href={href}
external={href.startsWith("http")}
>
{label}
</FooterLink>
))}
</nav>
</div>
{/* Stats column */}
<div>
<h3
Expand Down
Loading