diff --git a/pkgs/whitepaper/docs/markdown-page.md b/pkgs/whitepaper/docs/index.md similarity index 55% rename from pkgs/whitepaper/docs/markdown-page.md rename to pkgs/whitepaper/docs/index.md index 9756c5b..67f83ab 100644 --- a/pkgs/whitepaper/docs/markdown-page.md +++ b/pkgs/whitepaper/docs/index.md @@ -1,7 +1,7 @@ --- -title: Markdown page example +title: Sample Page --- -# Markdown page example +# Sample Page You don't need React to write simple standalone pages. diff --git a/pkgs/whitepaper/docusaurus.config.ts b/pkgs/whitepaper/docusaurus.config.ts index 6039285..4fa9df4 100644 --- a/pkgs/whitepaper/docusaurus.config.ts +++ b/pkgs/whitepaper/docusaurus.config.ts @@ -50,15 +50,15 @@ const config: Config = { themeConfig: { // Replace with your project's social card - image: "img/docusaurus-social-card.jpg", + image: "img/logo.png", navbar: { title: "Toban", logo: { alt: "Toban Logo", - src: "img/logo.svg", + src: "img/logo.png", }, items: [ - { to: "/blog", label: "Blog", position: "left" }, + { to: "/docs", label: "Docs", position: "left" }, { href: "https://github.com/hackdays-io/toban", label: "GitHub", @@ -71,7 +71,12 @@ const config: Config = { links: [ { title: "Docs", - items: [], + items: [ + { + label: "Docs", + to: "/docs", + }, + ], }, { title: "Community", diff --git a/pkgs/whitepaper/src/pages/index.tsx b/pkgs/whitepaper/src/pages/index.tsx index 37d0d84..b00e233 100644 --- a/pkgs/whitepaper/src/pages/index.tsx +++ b/pkgs/whitepaper/src/pages/index.tsx @@ -1,27 +1,5 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; -import Heading from "@theme/Heading"; import Layout from "@theme/Layout"; -import clsx from "clsx"; - -import styles from "./index.module.css"; - -/** - * ヘッダーコンポーネント - * @returns - */ -function HomepageHeader() { - const { siteConfig } = useDocusaurusContext(); - return ( -
-
- - {siteConfig.title} - -

{siteConfig.tagline}

-
-
- ); -} /** * Top Page Component @@ -31,11 +9,12 @@ export default function Home(): JSX.Element { const { siteConfig } = useDocusaurusContext(); return ( - -
+
+ +
); } diff --git a/pkgs/whitepaper/src/pages/markdown-page.md b/pkgs/whitepaper/src/pages/markdown-page.md deleted file mode 100644 index 9756c5b..0000000 --- a/pkgs/whitepaper/src/pages/markdown-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Markdown page example ---- - -# Markdown page example - -You don't need React to write simple standalone pages. diff --git a/pkgs/whitepaper/static/img/banner.png b/pkgs/whitepaper/static/img/banner.png new file mode 100644 index 0000000..8c4f8a9 Binary files /dev/null and b/pkgs/whitepaper/static/img/banner.png differ diff --git a/pkgs/whitepaper/static/img/docusaurus-social-card.jpg b/pkgs/whitepaper/static/img/docusaurus-social-card.jpg deleted file mode 100644 index ffcb448..0000000 Binary files a/pkgs/whitepaper/static/img/docusaurus-social-card.jpg and /dev/null differ diff --git a/pkgs/whitepaper/static/img/docusaurus.png b/pkgs/whitepaper/static/img/docusaurus.png deleted file mode 100644 index f458149..0000000 Binary files a/pkgs/whitepaper/static/img/docusaurus.png and /dev/null differ diff --git a/pkgs/whitepaper/static/img/favicon.ico b/pkgs/whitepaper/static/img/favicon.ico index c01d54b..8e26e7c 100644 Binary files a/pkgs/whitepaper/static/img/favicon.ico and b/pkgs/whitepaper/static/img/favicon.ico differ diff --git a/pkgs/whitepaper/static/img/logo.png b/pkgs/whitepaper/static/img/logo.png new file mode 100644 index 0000000..e6678f9 Binary files /dev/null and b/pkgs/whitepaper/static/img/logo.png differ