aboutsummaryrefslogtreecommitdiff
path: root/src/components/KaigirokuDougaLink.js
blob: 3d07b778dc45aac688ce078ccb951ae1e44f76fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 = <ExternalLink href={kaigirokuHref}>📄 会議録{mada}</ExternalLink>

  return (
    <div className={headingStyles.anchorWithStickyNavbar} id="kaigiroku">
      {kaigiroku}
      {dougaHref && <>|<ExternalLink href={dougaHref}>🎞️ 動画(約2年間公開)</ExternalLink></>}
    </div>
  );
}