Add meta title support to all pages (#2039)

This commit is contained in:
Alejandra
2025-12-08 19:27:08 +01:00
committed by GitHub
parent 5a7c5b1a10
commit 1321241572
9 changed files with 59 additions and 2 deletions

View File

@@ -4,6 +4,13 @@ import useAuth from "@/hooks/useAuth"
export const Route = createFileRoute("/_layout/")({
component: Dashboard,
head: () => ({
meta: [
{
title: "Dashboard - FastAPI Cloud",
},
],
}),
})
function Dashboard() {
@@ -16,7 +23,7 @@ function Dashboard() {
Hi, {currentUser?.full_name || currentUser?.email} 👋
</h1>
<p className="text-muted-foreground">
Welcome back, nice to see you again!
Welcome back, nice to see you again!!!
</p>
</div>
</div>