From d2a4495cc3affbbd6fe4a4c9e519149c5a1ae1df Mon Sep 17 00:00:00 2001 From: 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> Date: Thu, 9 May 2024 00:30:45 +0900 Subject: initial commit --- src/components/KaigirokuDougaLink.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/components/KaigirokuDougaLink.js (limited to 'src/components') diff --git a/src/components/KaigirokuDougaLink.js b/src/components/KaigirokuDougaLink.js new file mode 100644 index 00000000..6188969a --- /dev/null +++ b/src/components/KaigirokuDougaLink.js @@ -0,0 +1,21 @@ +import React from 'react'; +import ExternalLink from './ExternalLink.js'; +import headingStyles from '@docusaurus/theme-classic/lib/theme/Heading/styles.module.css'; + +export default function KaigirokuDougaLink({kaigirokuHref, dougaHref}) { + let mada = kaigirokuHref ? "" : "(まだ公開されていません)"; + let kaigiroku = 📄 会議録{mada}; + + if (dougaHref) { + return( +
+ {kaigiroku}|🎞️ 動画(約2年間公開) +
+ ) + } + return ( +
+ {kaigiroku} +
+ ); +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf