Skip to content
Merged
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
4 changes: 3 additions & 1 deletion src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Link from "next/link";
import type { Locale } from "@/i18n/config";
import { getDictionary } from "@/i18n/dictionaries";
import Logo from "./Logo";

const REPO = "https://github.com/DataDave-Dev/weftmap";
Expand Down Expand Up @@ -62,6 +63,7 @@ export default function Footer({
resources,
footerNote,
}: Props) {
const t = getDictionary(lang);
return (
<footer className="relative isolate overflow-hidden bg-black">
{/* Metallic hairline accent at the top edge */}
Expand Down Expand Up @@ -100,7 +102,7 @@ export default function Footer({
{/* Product */}
<div className="flex flex-col gap-4">
<ColHeading>{product}</ColHeading>
<FooterLink href={`/${lang}/app`}>App</FooterLink>
<FooterLink href={`/${lang}/app`}>{t.getStarted}</FooterLink>
<FooterLink href={`/${lang}/docs`}>Docs</FooterLink>
</div>

Expand Down
Loading