Skip to content

Commit 58ff592

Browse files
committed
add basic pages for most repos
1 parent 0e46939 commit 58ff592

Some content is hidden

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

44 files changed

+3779
-77
lines changed

README.md

+5-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-
# Nextra Docs Template
1+
# ADAO Docs
22

3-
This is a template for creating documentation with [Nextra](https://nextra.site).
3+
This is a respository for ADAO's documentation. It is built using [Nextra](https://nextra.site) on top of next.js.
44

5-
[**Live Demo →**](https://nextra-docs-template.vercel.app)
5+
## Contributing
66

7-
[![](.github/screenshot.png)](https://nextra-docs-template.vercel.app)
8-
9-
## Quick Start
10-
11-
Click the button to clone this repository and deploy it on Vercel:
12-
13-
[![](https://vercel.com/button)](https://vercel.com/new/clone?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra-docs-template&showOptionalTeamCreation=false)
14-
15-
## Local Development
16-
17-
First, run `pnpm i` to install the dependencies.
18-
19-
Then, run `pnpm dev` to start the development server and visit localhost:3000.
20-
21-
## License
22-
23-
This project is licensed under the MIT License.
7+
To create new pages, create .mdx file. It's possible to use react code inside the .mdx file too, if necessary.
8+
When adding or updating pages, please update the sidebar config in `_meta.json`.

components/logo.tsx

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
import * as React from "react";
2+
const Logo = (props) => (
3+
<svg
4+
xmlns="http://www.w3.org/2000/svg"
5+
viewBox="0 0 681.31 750.09"
6+
{...props}
7+
>
8+
<defs>
9+
<linearGradient
10+
id="a"
11+
x1={219.48}
12+
y1={396}
13+
x2={779.6}
14+
y2={396}
15+
gradientUnits="userSpaceOnUse"
16+
>
17+
<stop offset={0.01} stopColor="#00487d" />
18+
<stop offset={0.1} stopColor="#005892" />
19+
<stop offset={0.23} stopColor="#006fb0" />
20+
<stop offset={0.27} stopColor="#0074b6" />
21+
<stop offset={0.39} stopColor="#007dc3" />
22+
<stop offset={0.5} stopColor="#0080c7" />
23+
<stop offset={0.61} stopColor="#0079be" />
24+
<stop offset={0.78} stopColor="#0067a6" />
25+
<stop offset={0.99} stopColor="#00497e" />
26+
<stop offset={1} stopColor="#00487d" />
27+
</linearGradient>
28+
</defs>
29+
<path
30+
d="M112.15 704H48.61L32.1 747H0l66.28-167h28l66.27 167h-31.87Zm-32-83q-8.67 25.9-15.45 43.31L59.04 679h42.68l-5.62-14.69Q89.38 646.75 80.65 621ZM185.1 747V580h44.18q5.86 0 11.92.37t11.8 1.13q5.73.75 11.11 1.81a81.57 81.57 0 0 1 9.86 2.56 85.28 85.28 0 0 1 23.59 11.48 70.75 70.75 0 0 1 17.16 17.1 74.15 74.15 0 0 1 10.48 22 93.77 93.77 0 0 1 3.56 26.4 102.24 102.24 0 0 1-3 25.27 74.54 74.54 0 0 1-9.11 21.53 68.32 68.32 0 0 1-15.41 17.16 79.37 79.37 0 0 1-22 12.17A116.54 116.54 0 0 1 255.1 745a208.55 208.55 0 0 1-30.33 2Zm42.62-25q26.88 0 42-7.37a45.44 45.44 0 0 0 20.25-19.25q6.87-12.63 6.87-32.26a70.27 70.27 0 0 0-2.25-18.49 50.59 50.59 0 0 0-6.5-14.69 44.88 44.88 0 0 0-10.31-11.06 56.58 56.58 0 0 0-13.68-7.63 72.46 72.46 0 0 0-15.88-4A140 140 0 0 0 228.6 606h-13.5v116Zm228.88-18h-63.5l-16.53 43h-32.12l66.27-167h28L505 747h-31.9Zm-32-83q-8.65 25.9-15.45 43.31L403.49 679h42.68l-5.65-14.69q-6.7-17.56-15.42-43.31Zm256.72 42.77a107.37 107.37 0 0 1-5.42 34.89A77.07 77.07 0 0 1 660.1 726a71 71 0 0 1-25.5 17.79q-15.1 6.35-34.39 6.34t-34.39-6.34A71 71 0 0 1 540.33 726a77.24 77.24 0 0 1-15.8-27.3 115.21 115.21 0 0 1 0-69.78 77.24 77.24 0 0 1 15.8-27.3 70.81 70.81 0 0 1 25.5-17.78q15.1-6.34 34.39-6.35t34.39 6.35a70.89 70.89 0 0 1 25.49 17.74 77.07 77.07 0 0 1 15.79 27.3 107.42 107.42 0 0 1 5.43 34.89Zm-31.47 0q0-15.16-3.73-26.55a54.3 54.3 0 0 0-10.33-19 41.34 41.34 0 0 0-15.69-11.29 54.95 54.95 0 0 0-39.8 0 41.34 41.34 0 0 0-15.67 11.32 54.3 54.3 0 0 0-10.33 19q-3.72 11.37-3.73 26.55t3.73 26.56a53.6 53.6 0 0 0 10.33 18.9 42.21 42.21 0 0 0 15.67 11.32 54.14 54.14 0 0 0 39.8 0 42.21 42.21 0 0 0 15.67-11.32 53.6 53.6 0 0 0 10.33-18.93q3.74-11.38 3.75-26.56Z"
31+
style={{
32+
fill: "#0080c7",
33+
}}
34+
data-name="Light Blue"
35+
/>
36+
<path
37+
data-name="A - Grad"
38+
d="m702.84 494 68-53h-93.48L537.21 125h-76L321.72 441h-90.55l65.07 53-76.76 173h89.2l71-171H619.4l71 171h89.2ZM498.65 205.25 556.05 345H442.23ZM396.83 443l20.68-49H580.8l19.66 49Z"
39+
transform="translate(-157.9 -125)"
40+
style={{
41+
fill: "url(#a)",
42+
}}
43+
/>
44+
</svg>
45+
);
46+
export default Logo;

0 commit comments

Comments
 (0)