From 300bb29c934eb39008ae8923d4617bd0a581e329 Mon Sep 17 00:00:00 2001 From: Mustapha-Nkhili Date: Tue, 23 Jul 2024 11:03:20 +0000 Subject: [PATCH] Update fallback page title to `Nkhili CSS - A Modern CSS Framework` in Layout component --- src/layouts/Layout.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/Layout.jsx b/src/layouts/Layout.jsx index 1e2a06c..8c4899b 100644 --- a/src/layouts/Layout.jsx +++ b/src/layouts/Layout.jsx @@ -11,13 +11,13 @@ function Layout() { if (title) { const formattedTitle = title.split("-").join(" "); - + return `${ formattedTitle.charAt(0).toUpperCase() + formattedTitle.slice(1) } - Nkhili CSS`; } - return `Nkhili CSS - Build fast and responsive sites`; + return `Nkhili CSS - A Modern CSS Framework`; }; const titleElement = document.getElementsByTagName("title")[0];