feat(i18n): convert portfolio lists to bilingual schemas and resolve localized values
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
import Link from "next/link";
|
||||
import { Link } from "@/i18n/routing";
|
||||
import { ReferenceCards } from "@/components/reference-cards";
|
||||
import { useTranslations } from "next-intl";
|
||||
|
||||
export function ReferencesDetailContent() {
|
||||
const t = useTranslations("About");
|
||||
|
||||
return (
|
||||
<section className="flex h-full flex-col gap-4 overflow-y-auto">
|
||||
<Link
|
||||
href="/about"
|
||||
className="inline-flex w-fit items-center rounded-sm border border-border px-3 py-1.5 text-sm text-muted-foreground transition-colors hover:text-foreground"
|
||||
>
|
||||
{"<- Hakkımda'ya dön"}
|
||||
{t("backToAbout")}
|
||||
</Link>
|
||||
|
||||
<ReferenceCards
|
||||
|
||||
Reference in New Issue
Block a user