From b5b66d3841cebac5ab34744e63fc60e2a69a7252 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 15 Jul 2023 13:43:54 -0400 Subject: New page; Post system; Fixed more padding --- app/layout.js | 22 +++++++++------------- app/not-found.js | 2 +- app/page.js | 27 ++++++++++++++++----------- app/travel-advisory/page.js | 11 ++++++++--- app/updates/[slug]/page.js | 39 +++++++++++++++++++++++++++++++++++++++ app/updates/page.js | 22 ++++++++++++++++++++++ 6 files changed, 95 insertions(+), 28 deletions(-) create mode 100644 app/updates/[slug]/page.js create mode 100644 app/updates/page.js (limited to 'app') diff --git a/app/layout.js b/app/layout.js index 118fad1..97c14ab 100644 --- a/app/layout.js +++ b/app/layout.js @@ -6,7 +6,10 @@ import Image from "next/image"; const exo = Exo({ subsets: ['latin'] }) export const metadata = { - title: 'Government of Alure Regions', + title: { + template: '%s - Government of Alure Regions', + default: 'Government of Alure Regions' + }, description: 'The official website of the Government of Alure Regions', } @@ -38,29 +41,22 @@ export default function RootLayout({ children }) { {children} -