feat(layout): add metadata base URL configuration for dynamic app URL

- Configured `metadataBase` in `RootLayout` using `NEXT_PUBLIC_APP_URL` with a fallback to the default URL.
This commit is contained in:
Mathis HERRIOT
2026-01-21 09:47:49 +01:00
parent 82e98f4fce
commit 67a10ad7d8
2 changed files with 3 additions and 1 deletions

View File

@@ -49,6 +49,9 @@ export const metadata: Metadata = {
images: ["/memegoat-og.png"],
},
icons: "/memegoat-color.svg",
metadataBase: new URL(
process.env.NEXT_PUBLIC_APP_URL || "https://memegoat.fr",
),
};
export default function RootLayout({

View File

@@ -71,7 +71,6 @@ export function ContentCard({ content }: ContentCardProps) {
}
};
return (
<Card className="overflow-hidden border-none shadow-sm hover:shadow-md transition-shadow">
<CardHeader className="p-4 flex flex-row items-center space-y-0 gap-3">