aboutsummaryrefslogtreecommitdiff
path: root/src/components/HomepageFeatures/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/HomepageFeatures/index.js')
-rw-r--r--src/components/HomepageFeatures/index.js71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js
new file mode 100644
index 00000000..6d4f5799
--- /dev/null
+++ b/src/components/HomepageFeatures/index.js
@@ -0,0 +1,71 @@
+import clsx from 'clsx';
+import Heading from '@theme/Heading';
+import styles from './styles.module.css';
+
+const FeatureList = [
+ {
+ title: '一般質問',
+ docs: '/docs/ippan-situmon',
+ Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
+ description: (
+ <>
+ 安竹のこれまでの一般質問をまとめています。
+ </>
+ ),
+ },
+ {
+ title: '議案等',
+ docs: '/docs/gian-tou',
+ Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
+ description: (
+ <>
+ 主な議案・請願等についてまとめています。
+ </>
+ ),
+ },
+ {
+ title: '発達',
+ docs: '/docs/hattatu',
+ Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
+ description: (
+ <>
+ 発達に関してまとめています。
+ </>
+ ),
+ },
+];
+
+function Feature({Svg, title, docs, description}) {
+ return (
+ <div className={clsx('col col--4')}>
+ <a
+ className={styles.feartureLink}
+ href={docs}
+ target='_blank'
+ rel='noopener noreferrer'
+ >
+ <div className="text--center">
+ <Svg className={styles.featureSvg} role="img" />
+ </div>
+ <div className="text--center padding-horiz--md">
+ <Heading as="h3">{title}</Heading>
+ <p>{description}</p>
+ </div>
+ </a>
+ </div>
+ );
+}
+
+export default function HomepageFeatures() {
+ return (
+ <section className={styles.features}>
+ <div className="container">
+ <div className="row">
+ {FeatureList.map((props, idx) => (
+ <Feature key={idx} {...props} />
+ ))}
+ </div>
+ </div>
+ </section>
+ );
+}