Skip to content

Commit ac4429d

Browse files
committed
feat: new public website
1 parent e253677 commit ac4429d

File tree

206 files changed

+18401
-12419
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+18401
-12419
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![hero](apps/public/public/ogimage.jpg)
1+
![hero](apps/public/public/ogimage.png)
22

33
<p align="center">
44
<h1 align="center"><b>Openpanel</b></h1>

apps/public/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
/node_modules
33

44
# generated content
5-
.contentlayer
6-
.content-collections
75
.source
86

97
# test & build

apps/public/Dockerfile

Lines changed: 0 additions & 94 deletions
This file was deleted.

apps/public/README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,25 @@ yarn dev
1515

1616
Open http://localhost:3000 with your browser to see the result.
1717

18+
## Explore
19+
20+
In the project, you can see:
21+
22+
- `lib/source.ts`: Code for content source adapter, [`loader()`](https://fumadocs.dev/docs/headless/source-api) provides the interface to access your content.
23+
- `lib/layout.shared.tsx`: Shared options for layouts, optional but preferred to keep.
24+
25+
| Route | Description |
26+
| ------------------------- | ------------------------------------------------------ |
27+
| `app/(home)` | The route group for your landing page and other pages. |
28+
| `app/docs` | The documentation layout and pages. |
29+
| `app/api/search/route.ts` | The Route Handler for search. |
30+
31+
### Fumadocs MDX
32+
33+
A `source.config.ts` config file has been included, you can customise different options like frontmatter schema.
34+
35+
Read the [Introduction](https://fumadocs.dev/docs/mdx) for further details.
36+
1837
## Learn More
1938

2039
To learn more about Next.js and Fumadocs, take a look at the following
@@ -23,4 +42,4 @@ resources:
2342
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js
2443
features and API.
2544
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
26-
- [Fumadocs](https://fumadocs.vercel.app) - learn about Fumadocs
45+
- [Fumadocs](https://fumadocs.dev) - learn about Fumadocs

apps/public/app/(content)/articles/[articleSlug]/page.tsx

Lines changed: 0 additions & 203 deletions
This file was deleted.

0 commit comments

Comments
 (0)