feat(frontend): rich OG metadata + dynamic page titles across all routes
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Has been cancelled
test / unit (pull_request) Has been cancelled
test / integration (pull_request) Has been cancelled

This commit is contained in:
2026-05-15 01:38:59 +02:00
parent 71a0f55c93
commit a123c0b8cc
11 changed files with 206 additions and 2 deletions

View File

@@ -1,4 +1,10 @@
// app/(auth)/layout.tsx
import type { Metadata } from "next";
export const metadata: Metadata = {
openGraph: { type: "website" },
};
export default function AuthLayout({
children,
}: {

View File

@@ -0,0 +1,10 @@
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Sign in",
description: "Sign in to your Thoughts account",
};
export default function LoginLayout({ children }: { children: React.ReactNode }) {
return children;
}

View File

@@ -0,0 +1,10 @@
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Join Thoughts",
description: "Create an account on Thoughts and connect across the Fediverse",
};
export default function RegisterLayout({ children }: { children: React.ReactNode }) {
return children;
}