Skip to content

Commit

Permalink
画像などを差し替えました!!
Browse files Browse the repository at this point in the history
  • Loading branch information
mashharuki committed Nov 15, 2024
1 parent 016264c commit d743cae
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -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.
13 changes: 9 additions & 4 deletions pkgs/whitepaper/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -71,7 +71,12 @@ const config: Config = {
links: [
{
title: "Docs",
items: [],
items: [
{
label: "Docs",
to: "/docs",
},
],
},
{
title: "Community",
Expand Down
29 changes: 4 additions & 25 deletions pkgs/whitepaper/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container">
<Heading as="h1" className="hero__title">
{siteConfig.title}
</Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p>
</div>
</header>
);
}

/**
* Top Page Component
Expand All @@ -31,11 +9,12 @@ export default function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
title={`${siteConfig.title} Whitepaper`}
description="Description will go into a meta tag in <head />"
>
<HomepageHeader />
<main></main>
<main>
<img src="/img/banner.png" />
</main>
</Layout>
);
}
7 changes: 0 additions & 7 deletions pkgs/whitepaper/src/pages/markdown-page.md

This file was deleted.

Binary file added pkgs/whitepaper/static/img/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed pkgs/whitepaper/static/img/docusaurus.png
Binary file not shown.
Binary file modified pkgs/whitepaper/static/img/favicon.ico
Binary file not shown.
Binary file added pkgs/whitepaper/static/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d743cae

Please sign in to comment.