From ad9904d5d5a04fc4e0f1bf3dc409329a2046f477 Mon Sep 17 00:00:00 2001 From: Wildan Nursahidan Date: Sat, 12 Apr 2025 18:07:10 +0700 Subject: [PATCH] production ready --- app/docs/[[...slug]]/page.tsx | 4 +- app/page.tsx | 31 +++--- components/docs/footer.tsx | 4 +- components/docs/leftbar.tsx | 4 +- .../components/accordion/index.mdx | 72 ------------- .../components/button/index.mdx | 42 -------- .../components/card-group/index.mdx | 49 --------- .../getting-started/components/card/index.mdx | 70 ------------- .../components/code-block/index.mdx | 41 -------- .../components/custom/index.mdx | 38 ------- .../components/image/index.mdx | 37 ------- .../docs/getting-started/components/index.mdx | 9 -- .../getting-started/components/link/index.mdx | 34 ------- .../getting-started/components/note/index.mdx | 46 --------- .../components/release-note/index.mdx | 61 ----------- .../components/stepper/index.mdx | 47 --------- .../getting-started/components/tabs/index.mdx | 70 ------------- .../components/tooltips/index.mdx | 22 ---- .../components/youtube/index.mdx | 21 ---- .../docs/getting-started/customize/index.mdx | 94 ----------------- .../getting-started/installation/index.mdx | 90 ++++------------ .../getting-started/introduction/index.mdx | 57 +++-------- .../docs/getting-started/license/index.mdx | 30 ++++++ .../project-structure/index.mdx | 96 ------------------ .../quick-start-guide/index.mdx | 84 --------------- .../getting-started/tutor-tripay/index.mdx | 7 ++ .../mendaftar-akun-tripay/index.mdx | 5 + docu.json | 60 +++-------- postcss.config.js => postcss.config.cjs | 0 public/favicon.ico | Bin 1096 -> 14546 bytes public/images/docu.svg | 10 +- 31 files changed, 115 insertions(+), 1120 deletions(-) delete mode 100644 contents/docs/getting-started/components/accordion/index.mdx delete mode 100644 contents/docs/getting-started/components/button/index.mdx delete mode 100644 contents/docs/getting-started/components/card-group/index.mdx delete mode 100644 contents/docs/getting-started/components/card/index.mdx delete mode 100644 contents/docs/getting-started/components/code-block/index.mdx delete mode 100644 contents/docs/getting-started/components/custom/index.mdx delete mode 100644 contents/docs/getting-started/components/image/index.mdx delete mode 100644 contents/docs/getting-started/components/index.mdx delete mode 100644 contents/docs/getting-started/components/link/index.mdx delete mode 100644 contents/docs/getting-started/components/note/index.mdx delete mode 100644 contents/docs/getting-started/components/release-note/index.mdx delete mode 100644 contents/docs/getting-started/components/stepper/index.mdx delete mode 100644 contents/docs/getting-started/components/tabs/index.mdx delete mode 100644 contents/docs/getting-started/components/tooltips/index.mdx delete mode 100644 contents/docs/getting-started/components/youtube/index.mdx delete mode 100644 contents/docs/getting-started/customize/index.mdx create mode 100644 contents/docs/getting-started/license/index.mdx delete mode 100644 contents/docs/getting-started/project-structure/index.mdx delete mode 100644 contents/docs/getting-started/quick-start-guide/index.mdx create mode 100644 contents/docs/getting-started/tutor-tripay/index.mdx create mode 100644 contents/docs/getting-started/tutor-tripay/mendaftar-akun-tripay/index.mdx rename postcss.config.js => postcss.config.cjs (100%) diff --git a/app/docs/[[...slug]]/page.tsx b/app/docs/[[...slug]]/page.tsx index 2b0825e..02e2621 100644 --- a/app/docs/[[...slug]]/page.tsx +++ b/app/docs/[[...slug]]/page.tsx @@ -87,13 +87,13 @@ export default async function DocsPage({ params: { slug = [] } }: PageProps) {

{title}

{description}

{res.content}
-
+
{date && (

Published on {formatDate2(date)}

)} - + {/* */}
diff --git a/app/page.tsx b/app/page.tsx index b8e9356..e77f37b 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,6 +1,6 @@ import { buttonVariants } from "@/components/ui/button"; import { page_routes } from "@/lib/routes-config"; -import { ArrowRightIcon, FileJson, GitCommitHorizontal, SquarePlay } from "lucide-react"; +import { ArrowRightIcon, BookOpenCheck, Headset, Youtube } from "lucide-react"; import Link from "next/link"; import { cn } from "@/lib/utils"; import AnimatedShinyText from "@/components/ui/animated-shiny-text"; @@ -15,7 +15,7 @@ export default function Home() { return (
@@ -25,18 +25,15 @@ export default function Home() { )} > - πŸš€ New Version - Release v.1.8.0 + πŸš€ Buy This Plugin
-

DocuBook Starter Templates

+

TutorAddons - Knowledge Base

- Get started by editing app/page.tsx . Save and see your changes instantly.{' '} - - Read Documentations - + Tutorials with video, image and written content as well as explanations on how to use the plugin starting from how to install, configure and use it.

- - docu.json + + Youtube -

Edit the docu.json file to change the content in the header, footer and sidebar.

+

Watch video tutorials via youtube playlist.

- - CHANGELOG.md + + Documentations -

Manage changes to each version of your application in the CHANGELOG.md file.

+

Interactive documentation that is easy to understand and follow.

- - Docu Play + + Support -

Easy to write interactive markdown content with a playground.

+

Support from developers with tickets and community.

diff --git a/components/docs/footer.tsx b/components/docs/footer.tsx index dbda998..b1e8787 100644 --- a/components/docs/footer.tsx +++ b/components/docs/footer.tsx @@ -12,9 +12,9 @@ export function Footer() {

{meta.title}

{meta.description} -
+ {/*
-
+
*/}

diff --git a/components/docs/leftbar.tsx b/components/docs/leftbar.tsx index e5d5932..e38911f 100644 --- a/components/docs/leftbar.tsx +++ b/components/docs/leftbar.tsx @@ -46,9 +46,9 @@ export function SheetLeftbar() {

-
+ {/*
-
+
*/}
diff --git a/contents/docs/getting-started/components/accordion/index.mdx b/contents/docs/getting-started/components/accordion/index.mdx deleted file mode 100644 index 9f9f658..0000000 --- a/contents/docs/getting-started/components/accordion/index.mdx +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: Accordion -description: This section previews the Accordion component. -date: 22-12-2024 ---- - -I have implemented the `accordion` component into markdown which is ready to use. - -## Preview - -### Code Block - - - ```javascript:main.js showLineNumbers {3-4} - function isRocketAboutToCrash() { - // Check if the rocket is stable - if (!isStable()) { - NoCrash(); // Prevent the crash - } - } - ``` - - -### Text with Markdown - - - this is an example of plain text content from the accordion component and below is markdown ; - 1. number one - 2. number two - 3. number three - - -## Props - -| Prop | Type | Default | Description | -| ------------- | --------- | -------------- | -------------------------------------------------------------------------------------- | -| `title` | `string` | `null` | The value of Accordion title. | -| `children` | `ReactNode` | `null` | Flexible content, both HTML elements, markdown componenst and plain text. | -| `defaultOpen` | `boolean` | `false` | You can change the value to `true` if you want the content to open when the page loads | - -## Code - - - - Markdown - Code Block - - - ```plaintext - - this is an example of plain text content from the accordion component and below is markdown ; - 1. number one - 2. number two - 3. number three - - ``` - - - ````plaintext - - ```javascript:main.js showLineNumbers {3-4} - function isRocketAboutToCrash() { - // Check if the rocket is stable - if (!isStable()) { - NoCrash(); // Prevent the crash - } - } - ``` - - ```` - - diff --git a/contents/docs/getting-started/components/button/index.mdx b/contents/docs/getting-started/components/button/index.mdx deleted file mode 100644 index 84f3c78..0000000 --- a/contents/docs/getting-started/components/button/index.mdx +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: Button -description: This section previews the Button component. -date: 14-12-2024 ---- - -I have implemented the `button` component into markdown which is ready to use. - -## Preview - -