Skip to content

Commit 9f46c94

Browse files
authored
Update homepage and styles
1 parent 0874fff commit 9f46c94

File tree

7 files changed

+432
-337
lines changed

7 files changed

+432
-337
lines changed

docs/intro.md

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,35 @@
1-
---
2-
sidebar_position: 1
3-
---
1+
import React from 'react';
2+
import Layout from '@theme/Layout';
3+
import styles from './index.module.css';
44

5-
# Welcome to SPID Protocol
5+
export default function Home() {
6+
return (
7+
<Layout title="SPID Protocol" description="Smart Packets. Structured Answers. Voice-Ready.">
8+
<main className="container margin-vert--lg">
9+
<div className="row">
10+
<div className="col col--8 col--offset-2">
11+
<h1>SPID Protocol</h1>
12+
<p className="hero__subtitle">Smart Packets. Structured Answers. Voice-Ready.</p>
613

7-
This is your SPID Protocol documentation.
8-
Feel free to update this page or add more!
14+
<h2>What is SPID?</h2>
15+
<p>SPID is a resolution and retrieval protocol for AI agents, apps, and users...</p>
916

10-
Learn more: [https://spidprotocol.org](https://spidprotocol.org)
17+
<h2>Why It Matters</h2>
18+
<p><code>spid://acme/widget123</code> → Instantly retrieves the structured packet</p>
19+
20+
<h2>Key Components</h2>
21+
<ul>
22+
<li><strong>Smart Packet Format</strong></li>
23+
<li><strong>SPID URIs</strong></li>
24+
<li><strong>SPID Directory</strong></li>
25+
<li><strong>PulseIDs</strong></li>
26+
</ul>
27+
28+
<h2>Get Involved</h2>
29+
<p>Email: <a href="mailto:hello@voicemate.id">hello@voicemate.id</a></p>
30+
</div>
31+
</div>
32+
</main>
33+
</Layout>
34+
);
35+
}

docusaurus.config.js

Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -31,34 +31,44 @@ module.exports = {
3131
],
3232

3333
themeConfig: {
34-
navbar: {
35-
title: 'SPID Protocol',
36-
logo: {
37-
alt: 'SPID Protocol Logo',
38-
src: 'img/logo.svg',
39-
},
40-
items: [
41-
{
42-
type: 'doc',
43-
docId: 'intro',
44-
position: 'left',
45-
label: 'Docs',
46-
},
47-
{
48-
href: 'https://github.com/SPID-Protocol-project/spidprotocol-docs',
49-
label: 'GitHub',
50-
position: 'right',
51-
},
52-
{
53-
type: 'search',
54-
position: 'right',
55-
},
56-
],
57-
style: 'dark',
34+
navbar: {
35+
title: 'SPID Protocol',
36+
logo: {
37+
alt: 'SPID Protocol Logo',
38+
src: 'img/logo.svg',
5839
},
59-
prism: {
60-
theme: lightCodeTheme,
61-
darkTheme: darkCodeTheme,
40+
items: [
41+
{
42+
type: 'doc',
43+
docId: 'intro',
44+
position: 'left',
45+
label: 'Docs',
46+
},
47+
{
48+
href: 'https://github.com/SPID-Protocol-project/spidprotocol-docs',
49+
label: 'GitHub',
50+
position: 'right',
51+
},
52+
{
53+
type: 'search',
54+
position: 'right',
55+
},
56+
],
57+
},
58+
colorMode: {
59+
defaultMode: 'dark',
60+
disableSwitch: false,
61+
respectPrefersColorScheme: true,
62+
},
63+
prism: {
64+
theme: require('prism-react-renderer/themes/github'),
65+
darkTheme: require('prism-react-renderer/themes/dracula'),
66+
},
67+
docs: {
68+
sidebar: {
69+
hideable: true,
70+
autoCollapseCategories: true,
6271
},
6372
},
73+
},
6474
};

0 commit comments

Comments
 (0)