From cbc9dcb1abe9d2b0c3e03014e77977e84369c5f0 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Wed, 9 Oct 2024 13:40:01 -0400 Subject: [PATCH] some changes Took 1 hour 4 minutes --- .../docker.mdx | 2 +- .../components.mdx | 2 +- .../supported-services.mdx | 2 +- docs/intro.mdx | 8 +- src/app/layout.tsx | 50 +++++----- src/app/types/mdx.ts | 4 +- src/components/docs-footer.tsx | 18 ++-- src/components/navbar/navbar.tsx | 92 +++++++++---------- src/components/on-this-page.tsx | 6 +- src/components/sidebar/sidebar-links.tsx | 9 +- src/components/sidebar/sidebar.tsx | 44 ++++----- 11 files changed, 120 insertions(+), 117 deletions(-) rename docs/{πŸ‘¨πŸΌβ€πŸ’» Self Hosting => Self Hosting}/docker.mdx (84%) rename docs/{πŸ–₯️ Service Monitoring => Service Monitoring}/components.mdx (84%) rename docs/{πŸ–₯️ Service Monitoring => Service Monitoring}/supported-services.mdx (93%) diff --git a/docs/πŸ‘¨πŸΌβ€πŸ’» Self Hosting/docker.mdx b/docs/Self Hosting/docker.mdx similarity index 84% rename from docs/πŸ‘¨πŸΌβ€πŸ’» Self Hosting/docker.mdx rename to docs/Self Hosting/docker.mdx index f6298db..80cfe64 100644 --- a/docs/πŸ‘¨πŸΌβ€πŸ’» Self Hosting/docker.mdx +++ b/docs/Self Hosting/docker.mdx @@ -1,6 +1,6 @@ --- title: 'πŸ‹ Docker' -published: '2024-10-07' +updated: '2024-10-07' summary: 'petentium usu tota noluisse errem elaboraret auctor.' order: 4 --- diff --git a/docs/πŸ–₯️ Service Monitoring/components.mdx b/docs/Service Monitoring/components.mdx similarity index 84% rename from docs/πŸ–₯️ Service Monitoring/components.mdx rename to docs/Service Monitoring/components.mdx index 6588b11..70191f7 100644 --- a/docs/πŸ–₯️ Service Monitoring/components.mdx +++ b/docs/Service Monitoring/components.mdx @@ -1,6 +1,6 @@ --- title: '🧩 Components' -published: '2024-10-07' +updated: '2024-10-07' summary: 'petentium usu tota noluisse errem elaboraret auctor.' order: 2 --- diff --git a/docs/πŸ–₯️ Service Monitoring/supported-services.mdx b/docs/Service Monitoring/supported-services.mdx similarity index 93% rename from docs/πŸ–₯️ Service Monitoring/supported-services.mdx rename to docs/Service Monitoring/supported-services.mdx index 70c0077..6dcac3d 100644 --- a/docs/πŸ–₯️ Service Monitoring/supported-services.mdx +++ b/docs/Service Monitoring/supported-services.mdx @@ -1,6 +1,6 @@ --- title: 'βœ”οΈ Supported Services' -published: '2024-10-07' +updated: '2024-10-07' summary: 'petentium usu tota noluisse errem elaboraret auctor.' order: 3 --- diff --git a/docs/intro.mdx b/docs/intro.mdx index bb3d7bf..6eb2d70 100644 --- a/docs/intro.mdx +++ b/docs/intro.mdx @@ -1,6 +1,6 @@ --- title: 'πŸš€ Introduction' -published: '2024-10-06' +updated: '2024-10-06' summary: 'petentium usu tota noluisse errem elaboraret auctor.' order: 1 --- @@ -8,10 +8,8 @@ order: 1 > [!IMPORTANT] > These docs are currently a work in progress and are subject to change. -# Pulse App - - A lightweight service monitoring solution for tracking the availability of whatever service your heart desires! - +# Pulse App +A lightweight service monitoring solution for tracking the availability of whatever service your heart desires! ## Getting Started Let's get you up and runningβ€”this will only take a few minutes! Start by [creating your account](#creating-your-account) and diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9a33869..33aeacb 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -6,6 +6,7 @@ import Navbar from "@/components/navbar/navbar"; import Sidebar from "@/components/sidebar/sidebar"; import Footer from "@/components/footer"; import { TooltipProvider } from "@/components/ui/tooltip"; +import { getDocsContent } from "@/lib/mdx"; /** * The metadata for this app. @@ -41,29 +42,32 @@ const RootLayout = ({ children, }: Readonly<{ children: ReactNode; -}>): ReactElement => ( - - - - -
- -
-
- +}>): ReactElement => { + const pages: DocsContentMetadata[] = getDocsContent(); + return ( + + + + +
+ +
+
+ +
+ {children}
- {children}
-
-