From 19935a46f9037bf952ea4ad62a76f36a7960a82d Mon Sep 17 00:00:00 2001 From: hopcy-forcy Date: Sat, 9 Aug 2025 16:27:00 +0100 Subject: [PATCH 1/3] fix(header): hide search button and adjust hr visibility for better layout --- src/app/docs/layout.tsx | 30 +++++++++++ src/app/layout.tsx | 86 ++++++++++++++++++++++++++++++-- src/app/manifest.webmanifest | 17 +++++++ src/app/page.tsx | 5 ++ src/app/robots.ts | 17 +++++++ src/app/sitemap.ts | 61 ++++++++++++++++++++++ src/components/(home)/header.tsx | 3 +- 7 files changed, 215 insertions(+), 4 deletions(-) create mode 100644 src/app/manifest.webmanifest create mode 100644 src/app/robots.ts create mode 100644 src/app/sitemap.ts diff --git a/src/app/docs/layout.tsx b/src/app/docs/layout.tsx index bc6a42c6..aa63e26c 100644 --- a/src/app/docs/layout.tsx +++ b/src/app/docs/layout.tsx @@ -1,3 +1,8 @@ +import type { Metadata } from "next"; +import Script from "next/script"; +export const metadata: Metadata = { + alternates: { canonical: "/docs" }, +}; import { SideBar } from "@/components/(home)/sideBar"; import { dm_sans } from "@/font/google"; @@ -16,6 +21,31 @@ const DocsLayout = ({ children }: { children: React.ReactNode }) => { {/* */} {children} +