Skip to content

Commit a372ae7

Browse files
authored
Merge pull request #1 from NeilYeTAT/feature/landing-page
Feature/landing page
2 parents 220e962 + 4b1c72d commit a372ae7

File tree

20 files changed

+1138
-250
lines changed

20 files changed

+1138
-250
lines changed

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.md
2+
*.yml

docusaurus.config.ts

Lines changed: 54 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,140 +1,142 @@
1-
import {themes as prismThemes} from 'prism-react-renderer';
2-
import type {Config} from '@docusaurus/types';
3-
import type * as Preset from '@docusaurus/preset-classic';
1+
import { themes as prismThemes } from "prism-react-renderer";
2+
import type { Config } from "@docusaurus/types";
3+
import type * as Preset from "@docusaurus/preset-classic";
4+
import tailwindPlugin from "./plugins/tailwind-config.cjs";
45

56
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
67

78
const config: Config = {
8-
title: 'SpoonOS',
9-
tagline: 'Agentic OS for a Sentient Economy',
10-
favicon: 'img/favicon.ico',
9+
title: "SpoonOS",
10+
tagline: "Agentic OS for a Sentient Economy",
11+
favicon: "img/favicon.ico",
1112

1213
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
1314
future: {
1415
v4: true, // Improve compatibility with the upcoming Docusaurus v4
1516
},
1617

18+
plugins: [tailwindPlugin],
19+
1720
// Set the production url of your site here
18-
url: 'https://xspoonai.github.io',
21+
url: "https://xspoonai.github.io",
1922
// Set the /<baseUrl>/ pathname under which your site is served
2023
// For GitHub pages deployment, it is often '/<projectName>/'
21-
baseUrl: '/',
24+
baseUrl: "/",
2225
// Avoid GH Pages redirect issues and inconsistent URLs
2326
trailingSlash: true,
2427

2528
// GitHub pages deployment config.
2629
// If you aren't using GitHub pages, you don't need these.
27-
organizationName: 'XSpoonAi', // Usually your GitHub org/user name.
28-
projectName: 'xspoonai.github.io', // Usually your repo name.
30+
organizationName: "XSpoonAi", // Usually your GitHub org/user name.
31+
projectName: "xspoonai.github.io", // Usually your repo name.
2932
// Ensure Docusaurus deploy pushes to the branch that GitHub Pages serves
30-
deploymentBranch: 'main',
33+
deploymentBranch: "main",
3134

32-
onBrokenLinks: 'warn',
33-
onBrokenMarkdownLinks: 'warn',
35+
onBrokenLinks: "warn",
36+
onBrokenMarkdownLinks: "warn",
3437

3538
// Even if you don't use internationalization, you can use this field to set
3639
// useful metadata like html lang. For example, if your site is Chinese, you
3740
// may want to replace "en" with "zh-Hans".
3841
i18n: {
39-
defaultLocale: 'en',
40-
locales: ['en'],
42+
defaultLocale: "en",
43+
locales: ["en"],
4144
},
4245

4346
presets: [
4447
[
45-
'classic',
48+
"classic",
4649
{
4750
docs: {
48-
sidebarPath: './sidebars.ts',
51+
sidebarPath: "./sidebars.ts",
4952
// Please change this to your repo.
5053
// Remove this to remove the "edit this page" links.
51-
editUrl:
52-
'https://github.com/XSpoonAi/spoon-doc/tree/main/',
54+
editUrl: "https://github.com/XSpoonAi/spoon-doc/tree/main/",
5355
},
5456

5557
theme: {
56-
customCss: './src/css/custom.css',
58+
customCss: "./src/css/custom.css",
5759
},
5860
} satisfies Preset.Options,
5961
],
6062
],
6163

6264
themeConfig: {
6365
// Replace with your project's social card
64-
image: 'img/spoonos-social-card.jpg',
66+
image: "img/spoonos-social-card.jpg",
6567
colorMode: {
66-
defaultMode: 'light',
68+
defaultMode: "light",
6769
disableSwitch: false,
6870
respectPrefersColorScheme: true,
6971
},
7072
navbar: {
71-
title: 'SpoonOS',
73+
title: "SpoonOS",
7274
logo: {
73-
alt: 'SpoonOS Logo',
74-
src: 'img/logo.png',
75+
alt: "SpoonOS Logo",
76+
src: "img/logo.png",
7577
},
7678
items: [
7779
{
78-
type: 'docSidebar',
79-
sidebarId: 'tutorialSidebar',
80-
position: 'left',
81-
label: 'Documentation',
80+
type: "docSidebar",
81+
sidebarId: "tutorialSidebar",
82+
position: "left",
83+
label: "Documentation",
8284
},
8385

8486
{
85-
href: 'https://github.com/XSpoonAi/spoon-core',
86-
label: 'GitHub',
87-
position: 'right',
87+
href: "https://github.com/XSpoonAi/spoon-core",
88+
label: "GitHub",
89+
position: "right",
8890
},
8991
],
9092
},
9193
footer: {
92-
style: 'dark',
94+
style: "dark",
9395
links: [
9496
{
95-
title: 'Documentation',
97+
title: "Documentation",
9698
items: [
9799
{
98-
label: 'Getting Started',
99-
to: '/docs/intro',
100+
label: "Getting Started",
101+
to: "/docs/intro",
100102
},
101103
{
102-
label: 'Installation',
103-
to: '/docs/installation',
104+
label: "Installation",
105+
to: "/docs/installation",
104106
},
105107
{
106-
label: 'Configuration',
107-
to: '/docs/configuration',
108+
label: "Configuration",
109+
to: "/docs/configuration",
108110
},
109111
],
110112
},
111113
{
112-
title: 'Community',
114+
title: "Community",
113115
items: [
114116
{
115-
label: 'GitHub',
116-
href: 'https://github.com/XSpoonAi/spoon-core',
117+
label: "GitHub",
118+
href: "https://github.com/XSpoonAi/spoon-core",
117119
},
118120
{
119-
label: 'Discord',
120-
href: 'https://discord.gg/G6y3ZCFK4h',
121+
label: "Discord",
122+
href: "https://discord.gg/G6y3ZCFK4h",
121123
},
122124
{
123-
label: 'Issues',
124-
href: 'https://github.com/XSpoonAi/spoon-core/issues',
125+
label: "Issues",
126+
href: "https://github.com/XSpoonAi/spoon-core/issues",
125127
},
126128
],
127129
},
128130
{
129-
title: 'More',
131+
title: "More",
130132
items: [
131133
{
132-
label: 'SpoonOS Landing',
133-
href: 'https://spoonai.io',
134+
label: "SpoonOS Landing",
135+
href: "https://spoonai.io",
134136
},
135137
{
136-
label: 'Examples',
137-
href: 'https://github.com/XSpoonAi/spoon-core/tree/main/examples',
138+
label: "Examples",
139+
href: "https://github.com/XSpoonAi/spoon-core/tree/main/examples",
138140
},
139141
],
140142
},

0 commit comments

Comments
 (0)