[dyad] Adding a language switcher - wrote 9 file(s)

This commit is contained in:
[dyad]
2026-01-18 15:31:20 +01:00
parent 90cfdf0785
commit cad0921161
9 changed files with 142 additions and 25 deletions

View File

@@ -2,6 +2,7 @@ import Link from "next/link";
import { Github, Twitter } from "lucide-react";
import { Button } from "@/components/ui/button";
import { changelogData } from "@/lib/changelog-data";
import { LanguageSwitcher } from "./language-switcher";
export function Footer() {
const latestVersion = changelogData[0]?.version;
@@ -14,6 +15,7 @@ export function Footer() {
</div>
<div className="absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center gap-1">
<LanguageSwitcher />
<Button variant="ghost" size="icon" asChild>
<Link href="https://github.com/" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
<Github className="h-4 w-4" />