mirror of
https://github.com/BradNut/nextjs-dashboard
synced 2025-09-08 17:40:30 +00:00
Add SEO to layout and invoice. Adding images missing from initial clone of the project.
This commit is contained in:
parent
1f41cd96e1
commit
ccbf227239
4 changed files with 12 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import { Suspense } from "react";
|
import { Suspense } from "react";
|
||||||
|
import { Metadata } from "next";
|
||||||
import Pagination from "@/app/ui/invoices/pagination";
|
import Pagination from "@/app/ui/invoices/pagination";
|
||||||
import Search from "@/app/ui/search";
|
import Search from "@/app/ui/search";
|
||||||
import Table from "@/app/ui/invoices/table";
|
import Table from "@/app/ui/invoices/table";
|
||||||
|
|
@ -7,6 +8,10 @@ import { lusitana } from "@/app/ui/fonts";
|
||||||
import { InvoicesTableSkeleton } from "@/app/ui/skeletons";
|
import { InvoicesTableSkeleton } from "@/app/ui/skeletons";
|
||||||
import { fetchInvoicesPages } from "@/app/lib/data";
|
import { fetchInvoicesPages } from "@/app/lib/data";
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: 'Invoices',
|
||||||
|
}
|
||||||
|
|
||||||
export default async function Page({
|
export default async function Page({
|
||||||
searchParams,
|
searchParams,
|
||||||
}: {
|
}: {
|
||||||
|
|
|
||||||
BIN
app/favicon.ico
Normal file
BIN
app/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
|
|
@ -1,6 +1,13 @@
|
||||||
|
import { Metadata } from 'next';
|
||||||
import '@/app/ui/global.css';
|
import '@/app/ui/global.css';
|
||||||
import { inter } from '@/app/ui/fonts';
|
import { inter } from '@/app/ui/fonts';
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: '%s | Acme Dashboard',
|
||||||
|
description: 'The official Next.js Course Dashboard, build with App Router.',
|
||||||
|
metadataBase: new URL('https://next-learn-dashboard.vercel.sh'),
|
||||||
|
}
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: {
|
}: {
|
||||||
|
|
|
||||||
BIN
app/opengraph-image.png
Normal file
BIN
app/opengraph-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 238 KiB |
Loading…
Reference in a new issue