diff --git a/README.md b/README.md index 451fb42..97dcf5c 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,12 @@ The tutorials where not really designed to be done in the same repo, so the base Part of this tutorial was to deploy it out to vercel. It was very slick.I took the liberty of putting it on a custom domain and you can find it there 👉 [next-js-dashboard.curle.io](https://next-js-dashboard.curle.io) +To login, use +``` +user@nextmail.com +123456 +``` + 1. [Getting Started ♻️][2-1] 2. [CSS Styling ♻️][2-2] @@ -43,9 +49,9 @@ Part of this tutorial was to deploy it out to vercel. It was very slick.I took t 11. [Adding Search and Pagination ♻️][2-11] 12. [Mutating Data️ ♻️][2-12] 13. [Handling Errors ♻️][2-13] -14. Improving Accessibility 🚧 -15. Adding Authentication 🚧 -16. Adding Metadata 🚧️ +14. [Improving Accessibility ♻️][2-14] +15. [Adding Authentication ♻️][2-15] +16. [Adding Metadata ♻️][2-16] [2-1]: https://github.com/treejamie/next-js-learn/pull/7 @@ -59,4 +65,7 @@ Part of this tutorial was to deploy it out to vercel. It was very slick.I took t [2-9]: https://github.com/treejamie/next-js-learn/pull/17 [2-11]: https://github.com/treejamie/next-js-learn/pull/19 [2-12]: https://github.com/treejamie/next-js-learn/pull/20 -[2-13]: https://github.com/treejamie/next-js-learn/pull/23 \ No newline at end of file +[2-13]: https://github.com/treejamie/next-js-learn/pull/23 +[2-14]: https://github.com/treejamie/next-js-learn/pull/25 +[2-15]: https://github.com/treejamie/next-js-learn/pull/28 +[2-16]: https://github.com/treejamie/next-js-learn/pull/29 \ No newline at end of file diff --git a/app-router/nextjs-dashboard/README.md b/app-router/nextjs-dashboard/README.md index 8f56013..f2bc153 100644 --- a/app-router/nextjs-dashboard/README.md +++ b/app-router/nextjs-dashboard/README.md @@ -6,6 +6,12 @@ Part of this tutorial was to deploy it out to vercel. It was very slick.I took the liberty of putting it on a custom domain and you can find it there 👉 [next-js-dashboard.curle.io](https://next-js-dashboard.curle.io) +To login, use +``` +user@nextmail.com +123456 +``` + 1. [Getting Started ♻️][2-1] 2. [CSS Styling ♻️][2-2] @@ -22,7 +28,7 @@ Part of this tutorial was to deploy it out to vercel. It was very slick.I took t 13. [Handling Errors ♻️][2-13] 14. [Improving Accessibility ♻️][2-14] 15. [Adding Authentication ♻️][2-15] -16. Adding Metadata 🚧️ +16. [Adding Metadata ♻️][2-16] [2-1]: https://github.com/treejamie/next-js-learn/pull/7 @@ -38,4 +44,5 @@ Part of this tutorial was to deploy it out to vercel. It was very slick.I took t [2-12]: https://github.com/treejamie/next-js-learn/pull/20 [2-13]: https://github.com/treejamie/next-js-learn/pull/23 [2-14]: https://github.com/treejamie/next-js-learn/pull/25 -[2-15]: https://github.com/treejamie/next-js-learn/pull/28 \ No newline at end of file +[2-15]: https://github.com/treejamie/next-js-learn/pull/28 +[2-16]: https://github.com/treejamie/next-js-learn/pull/29 \ No newline at end of file diff --git a/app-router/nextjs-dashboard/app/dashboard/(overview)/page.tsx b/app-router/nextjs-dashboard/app/dashboard/(overview)/page.tsx index a850576..0480669 100644 --- a/app-router/nextjs-dashboard/app/dashboard/(overview)/page.tsx +++ b/app-router/nextjs-dashboard/app/dashboard/(overview)/page.tsx @@ -5,6 +5,14 @@ import { lusitana } from '@/app/ui/fonts'; import { fetchLatestInvoices, fetchCardData } from '@/app/lib/data'; import { Suspense } from 'react'; import { RevenueChartSkeleton } from '@/app/ui/skeletons'; +import { Metadata } from 'next'; + + +export const metadata: Metadata = { + title: 'It\'s the dashboard!', +}; + + export default async function Page() { const latestInvoices = await fetchLatestInvoices(); diff --git a/app-router/nextjs-dashboard/app/dashboard/customers/page.tsx b/app-router/nextjs-dashboard/app/dashboard/customers/page.tsx index 05badaf..902e961 100644 --- a/app-router/nextjs-dashboard/app/dashboard/customers/page.tsx +++ b/app-router/nextjs-dashboard/app/dashboard/customers/page.tsx @@ -1,3 +1,12 @@ +import { Metadata } from 'next'; + + +export const metadata: Metadata = { + title: 'Customers', +}; + + + export default function Page() { return
Customers Page
; } \ No newline at end of file diff --git a/app-router/nextjs-dashboard/app/dashboard/invoices/[id]/edit/page.tsx b/app-router/nextjs-dashboard/app/dashboard/invoices/[id]/edit/page.tsx index 882a4c0..c345f47 100644 --- a/app-router/nextjs-dashboard/app/dashboard/invoices/[id]/edit/page.tsx +++ b/app-router/nextjs-dashboard/app/dashboard/invoices/[id]/edit/page.tsx @@ -2,6 +2,12 @@ import Form from '@/app/ui/invoices/edit-form'; import Breadcrumbs from '@/app/ui/invoices/breadcrumbs'; import { fetchInvoiceById, fetchCustomers } from '@/app/lib/data'; import { notFound } from 'next/navigation'; +import { Metadata } from 'next'; + + +export const metadata: Metadata = { + title: 'Edit Invoice', +}; export default async function Page(props: { params: Promise<{ id: string }> }) { diff --git a/app-router/nextjs-dashboard/app/dashboard/invoices/create/page.tsx b/app-router/nextjs-dashboard/app/dashboard/invoices/create/page.tsx index 902415d..b12c110 100644 --- a/app-router/nextjs-dashboard/app/dashboard/invoices/create/page.tsx +++ b/app-router/nextjs-dashboard/app/dashboard/invoices/create/page.tsx @@ -1,7 +1,16 @@ import Form from '@/app/ui/invoices/create-form'; import Breadcrumbs from '@/app/ui/invoices/breadcrumbs'; import { fetchCustomers } from '@/app/lib/data'; - + +import { Metadata } from 'next'; + + +export const metadata: Metadata = { + title: 'Create Invoice', +}; + + + export default async function Page() { const customers = await fetchCustomers(); @@ -9,7 +18,7 @@ export default async function Page() {