mirror of
https://github.com/michivonah/nextjs.git
synced 2025-12-22 22:16:28 +01:00
add metadata
This commit is contained in:
parent
759acde045
commit
069c8529fb
10 changed files with 79 additions and 1 deletions
|
|
@ -1,5 +1,15 @@
|
|||
import '@/app/ui/global.css';
|
||||
import {inter} from '@/app/ui/fonts';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
template: '%s | Acme Dashboard',
|
||||
default: 'Acme Dashboard',
|
||||
},
|
||||
description: 'The official Next.js Course Dashboard, built with App Router.',
|
||||
metadataBase: new URL('http://localhost:3000/dashboard'),
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue