Skip to content

Commit

Permalink
refactor(saas): Giving finishing touches to docs ui
Browse files Browse the repository at this point in the history
  • Loading branch information
alifarooq9 committed May 19, 2024
1 parent 3cca2f5 commit 04909f2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
17 changes: 0 additions & 17 deletions starterkits/saas/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,3 @@ This project is for developers who want to build a Software as a Service (SaaS)

## Why Rapidlaunch?
Rapidlaunch is an open-source Next.js SaaS Starterkit/Boilerplate designed to expedite the development process of Software as a Service (SaaS) applications. Launch your MVP in days.


## Contributing
Contributing is always welcome. Contribution guidelines are coming soon.


## Sub Heading Test
This is a test of the sub heading

### Sub Heading Test 1
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac nisl nec nunc ultricies tincidunt. Nullam nec nunc nec nunc ultricies

### Sub Heading Test 2
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac nisl nec nunc ultricies tincidunt. Nullam nec nunc nec nunc ultricies

## Tab Test
This is a test of the tabs
2 changes: 1 addition & 1 deletion starterkits/saas/content/docs/installation.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Installation"
description: "This content mean anything it is generated by copilot"
description: "This content doesn't mean anything it is generated by copilot"
---

## Installation
Expand Down
13 changes: 12 additions & 1 deletion starterkits/saas/src/app/docs/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,25 @@ import { DocsLayout } from "fumadocs-ui/layout";
import { docs } from "@/app/source";
import type { ReactNode } from "react";
import { Icons } from "@/components/ui/icons";
import { WebHeaderNav } from "@/app/(web)/_components/header-nav";

type RootDocsLayoutProps = {
children: ReactNode;
};

export default function RootDocsLayout({ children }: RootDocsLayoutProps) {
return (
<DocsLayout tree={docs.pageTree} nav={{ title: <Icons.logo /> }}>
<DocsLayout
tree={docs.pageTree}
nav={{
title: <Icons.logo />,
children: (
<div className="hidden lg:block">
<WebHeaderNav />
</div>
),
}}
>
{children}
</DocsLayout>
);
Expand Down

0 comments on commit 04909f2

Please sign in to comment.