Skip to content

Commit ec696a6

Browse files
committed
Update branding
1 parent e0b044a commit ec696a6

File tree

15 files changed

+75
-442
lines changed

15 files changed

+75
-442
lines changed

docs/intro.md

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

docs/sage/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
slug: /sage
3+
---
4+
5+
# Sage

docs/sdk/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
slug: /sdk
3+
---
4+
5+
# Wallet SDK

docusaurus.config.ts

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { themes as prismThemes } from "prism-react-renderer";
44

55
const config: Config = {
66
title: "xch.dev",
7-
tagline: "Dinosaurs are cool",
7+
tagline: "Build our decentralized future on the Chia blockchain",
88
favicon: "img/favicon.ico",
9-
url: "https://your-docusaurus-site.example.com",
9+
url: "https://xch.dev",
1010
baseUrl: "/",
1111
organizationName: "xch-dev",
1212
projectName: "docs",
@@ -40,9 +40,15 @@ const config: Config = {
4040
items: [
4141
{
4242
type: "docSidebar",
43-
sidebarId: "tutorialSidebar",
43+
sidebarId: "sageSidebar",
4444
position: "left",
45-
label: "Tutorial",
45+
label: "Sage",
46+
},
47+
{
48+
type: "docSidebar",
49+
sidebarId: "sdkSidebar",
50+
position: "left",
51+
label: "Wallet SDK",
4652
},
4753
{
4854
href: "https://github.com/xch-dev/docs",
@@ -55,20 +61,20 @@ const config: Config = {
5561
style: "dark",
5662
links: [
5763
{
58-
title: "Wallet SDK",
64+
title: "Learn",
5965
items: [
6066
{
61-
label: "Docs",
62-
href: "/docs/intro",
67+
label: "Sage",
68+
href: "/docs/sage",
6369
},
6470
{
65-
label: "GitHub",
66-
href: "https://github.com/xch-dev/chia-wallet-sdk",
71+
label: "Wallet SDK",
72+
href: "/docs/sdk",
6773
},
6874
],
6975
},
7076
{
71-
title: "Sage",
77+
title: "Social",
7278
items: [
7379
{
7480
label: "Discord",
@@ -78,19 +84,23 @@ const config: Config = {
7884
label: "X",
7985
href: "https://x.com/sage_wallet",
8086
},
81-
{
82-
label: "GitHub",
83-
href: "https://github.com/xch-dev/sage",
84-
},
8587
],
8688
},
8789
{
88-
title: "More",
90+
title: "Contribute",
8991
items: [
9092
{
91-
label: "Docs Repo",
93+
label: "Website GitHub",
9294
href: "https://github.com/xch-dev/docs",
9395
},
96+
{
97+
label: "Wallet SDK GitHub",
98+
href: "https://github.com/xch-dev/chia-wallet-sdk",
99+
},
100+
{
101+
label: "Sage GitHub",
102+
href: "https://github.com/xch-dev/sage",
103+
},
94104
],
95105
},
96106
],

sidebars.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
22

33
const sidebars: SidebarsConfig = {
4-
tutorialSidebar: ["intro"],
4+
sageSidebar: ["sage/index"],
5+
sdkSidebar: ["sdk/index"],
56
};
67

78
export default sidebars;

src/components/HomepageFeatures/index.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { ReactNode } from "react";
2-
import clsx from "clsx";
31
import Heading from "@theme/Heading";
2+
import clsx from "clsx";
3+
import type { ReactNode } from "react";
44
import styles from "./styles.module.css";
55

66
type FeatureItem = {
@@ -11,32 +11,32 @@ type FeatureItem = {
1111

1212
const FeatureList: FeatureItem[] = [
1313
{
14-
title: "Easy to Use",
15-
Svg: require("@site/static/img/undraw_docusaurus_mountain.svg").default,
14+
title: "A Wallet for Everyone",
15+
Svg: require("@site/static/img/undraw_confirmed_c5lo.svg").default,
1616
description: (
1717
<>
18-
Docusaurus was designed from the ground up to be easily installed and
19-
used to get your website up and running quickly.
18+
Sage is a wallet designed to make using the Chia blockchain and user
19+
facing apps on top of it easy.
2020
</>
2121
),
2222
},
2323
{
24-
title: "Focus on What Matters",
25-
Svg: require("@site/static/img/undraw_docusaurus_tree.svg").default,
24+
title: "Build on Chia",
25+
Svg: require("@site/static/img/undraw_creative-flow_t3kz.svg").default,
2626
description: (
2727
<>
28-
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
29-
ahead and move your docs into the <code>docs</code> directory.
28+
For more complex use cases, the Wallet SDK provides comprehensive tools
29+
for building on Chia.
3030
</>
3131
),
3232
},
3333
{
34-
title: "Powered by React",
35-
Svg: require("@site/static/img/undraw_docusaurus_react.svg").default,
34+
title: "Get Involved",
35+
Svg: require("@site/static/img/undraw_team-up_qeem.svg").default,
3636
description: (
3737
<>
38-
Extend or customize your website layout by reusing React. Docusaurus can
39-
be extended while reusing the same header and footer.
38+
Every aspect of Sage and the Wallet SDK is open source. Feel free to
39+
reach out and get involved!
4040
</>
4141
),
4242
},

src/css/custom.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66

77
/* You can override the default Infima variables here. */
88
:root {
9-
--ifm-color-primary: #2e8555;
10-
--ifm-color-primary-dark: #29784c;
11-
--ifm-color-primary-darker: #277148;
12-
--ifm-color-primary-darkest: #205d3b;
13-
--ifm-color-primary-light: #33925d;
14-
--ifm-color-primary-lighter: #359962;
15-
--ifm-color-primary-lightest: #3cad6e;
9+
--ifm-color-primary: #5dc2ef;
10+
--ifm-color-primary-dark: #4bb3d2;
11+
--ifm-color-primary-darker: #3da3b6;
12+
--ifm-color-primary-darkest: #339199;
13+
--ifm-color-primary-light: #63c3ff;
14+
--ifm-color-primary-lighter: #92f4ff;
15+
--ifm-color-primary-lightest: #c1fff4;
1616
--ifm-code-font-size: 95%;
1717
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1818
}
1919

2020
/* For readability concerns, you should choose a lighter palette in dark mode. */
2121
[data-theme="dark"] {
22-
--ifm-color-primary: #25c2a0;
23-
--ifm-color-primary-dark: #21af90;
24-
--ifm-color-primary-darker: #1fa588;
25-
--ifm-color-primary-darkest: #1a8870;
26-
--ifm-color-primary-light: #29d5b0;
27-
--ifm-color-primary-lighter: #32d8b4;
28-
--ifm-color-primary-lightest: #4fddbf;
22+
--ifm-color-primary: #63c3ff;
23+
--ifm-color-primary-dark: #5dc2ef;
24+
--ifm-color-primary-darker: #4bb3d2;
25+
--ifm-color-primary-darkest: #3da3b6;
26+
--ifm-color-primary-light: #92f4ff;
27+
--ifm-color-primary-lighter: #c1fff4;
28+
--ifm-color-primary-lightest: #f0fff8;
2929
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3030
}

src/pages/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import type { ReactNode } from "react";
2-
import clsx from "clsx";
31
import Link from "@docusaurus/Link";
42
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
5-
import Layout from "@theme/Layout";
63
import HomepageFeatures from "@site/src/components/HomepageFeatures";
74
import Heading from "@theme/Heading";
5+
import Layout from "@theme/Layout";
6+
import clsx from "clsx";
7+
import type { ReactNode } from "react";
88

99
import styles from "./index.module.css";
1010

@@ -22,7 +22,7 @@ function HomepageHeader() {
2222
className="button button--secondary button--lg"
2323
to="/docs/intro"
2424
>
25-
Docusaurus Tutorial - 5min ⏱️
25+
Documentation
2626
</Link>
2727
</div>
2828
</div>
@@ -34,8 +34,8 @@ export default function Home(): ReactNode {
3434
const { siteConfig } = useDocusaurusContext();
3535
return (
3636
<Layout
37-
title={`Hello from ${siteConfig.title}`}
38-
description="Description will go into a meta tag in <head />"
37+
title={siteConfig.title}
38+
description="Learn how to use Sage and the Wallet SDK to build on the Chia blockchain."
3939
>
4040
<HomepageHeader />
4141
<main>

src/pages/markdown-page.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)