From 3fc0ee1b72c12922254533b78695ffa17e7232be Mon Sep 17 00:00:00 2001 From: Yasutake Yohei Date: Sat, 30 Dec 2023 22:24:55 +0900 Subject: initial commit --- src/pages/index.js | 43 +++++++++++++++++++++++++++++++++++++++++++ src/pages/index.module.css | 23 +++++++++++++++++++++++ src/pages/markdown-page.md | 7 +++++++ src/pages/my-markdown-page.md | 3 +++ src/pages/my-react-page.js | 11 +++++++++++ 5 files changed, 87 insertions(+) create mode 100644 src/pages/index.js create mode 100644 src/pages/index.module.css create mode 100644 src/pages/markdown-page.md create mode 100644 src/pages/my-markdown-page.md create mode 100644 src/pages/my-react-page.js (limited to 'src/pages') diff --git a/src/pages/index.js b/src/pages/index.js new file mode 100644 index 00000000..30b92acc --- /dev/null +++ b/src/pages/index.js @@ -0,0 +1,43 @@ +import clsx from 'clsx'; +import Link from '@docusaurus/Link'; +import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; +import Layout from '@theme/Layout'; +import HomepageFeatures from '@site/src/components/HomepageFeatures'; + +import Heading from '@theme/Heading'; +import styles from './index.module.css'; + +function HomepageHeader() { + const {siteConfig} = useDocusaurusContext(); + return ( +
+
+ + {siteConfig.title} + +

{siteConfig.tagline}

+
+ + 安竹洋平のオフィシャルサイトはこちら + +
+
+
+ ); +} + +export default function Home() { + const {siteConfig} = useDocusaurusContext(); + return ( + + +
+ +
+
+ ); +} diff --git a/src/pages/index.module.css b/src/pages/index.module.css new file mode 100644 index 00000000..9f71a5da --- /dev/null +++ b/src/pages/index.module.css @@ -0,0 +1,23 @@ +/** + * CSS files with the .module.css suffix will be treated as CSS modules + * and scoped locally. + */ + +.heroBanner { + padding: 4rem 0; + text-align: center; + position: relative; + overflow: hidden; +} + +@media screen and (max-width: 996px) { + .heroBanner { + padding: 2rem; + } +} + +.buttons { + display: flex; + align-items: center; + justify-content: center; +} diff --git a/src/pages/markdown-page.md b/src/pages/markdown-page.md new file mode 100644 index 00000000..9756c5b6 --- /dev/null +++ b/src/pages/markdown-page.md @@ -0,0 +1,7 @@ +--- +title: Markdown page example +--- + +# Markdown page example + +You don't need React to write simple standalone pages. diff --git a/src/pages/my-markdown-page.md b/src/pages/my-markdown-page.md new file mode 100644 index 00000000..f367dc6d --- /dev/null +++ b/src/pages/my-markdown-page.md @@ -0,0 +1,3 @@ +# My Markdown page + +This is a Markdown page \ No newline at end of file diff --git a/src/pages/my-react-page.js b/src/pages/my-react-page.js new file mode 100644 index 00000000..2f6c2a34 --- /dev/null +++ b/src/pages/my-react-page.js @@ -0,0 +1,11 @@ +import React from 'react'; +import Layout from '@theme/Layout'; + +export default function MyReactPage() { + return ( + +

My React page

+

This is a React page

+
+ ); +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf