[dyad] Removed changelog link from header - wrote 1 file(s)
This commit is contained in:
@@ -1,22 +1,8 @@
|
|||||||
import { ImageConverter } from "@/components/image-converter";
|
import { ImageConverter } from "@/components/image-converter";
|
||||||
import { changelogData } from "@/lib/changelog-data";
|
|
||||||
import Link from "next/link";
|
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
const latestVersion = changelogData[0]?.version;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative flex flex-col items-center justify-center min-h-screen p-4 sm:p-8 bg-gray-50 dark:bg-background font-[family-name:var(--font-geist-sans)]">
|
<div className="relative flex flex-col items-center justify-center min-h-screen p-4 sm:p-8 bg-gray-50 dark:bg-background font-[family-name:var(--font-geist-sans)]">
|
||||||
{latestVersion && (
|
|
||||||
<header className="absolute top-4 left-4 sm:top-8 sm:left-8 z-20">
|
|
||||||
<Link
|
|
||||||
href="/changelog"
|
|
||||||
className="text-sm text-muted-foreground hover:text-primary transition-colors"
|
|
||||||
>
|
|
||||||
v{latestVersion}
|
|
||||||
</Link>
|
|
||||||
</header>
|
|
||||||
)}
|
|
||||||
<main className="flex flex-col items-center w-full max-w-6xl z-10">
|
<main className="flex flex-col items-center w-full max-w-6xl z-10">
|
||||||
<div className="text-center mb-8">
|
<div className="text-center mb-8">
|
||||||
<h1 className="text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm:text-5xl">
|
<h1 className="text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm:text-5xl">
|
||||||
|
|||||||
Reference in New Issue
Block a user