From 361f2b90070d99ce4676f4aed088e83f31eac325 Mon Sep 17 00:00:00 2001 From: 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> Date: Wed, 31 Jan 2024 00:36:03 +0900 Subject: initial commit --- src/components/BlockQuote.js | 13 +++++++++++++ src/components/BlockQuote.module.css | 3 +++ src/components/ExternalLink.js | 11 +++++++++++ src/components/Highlight.js | 10 ++++++++++ src/components/Highlight.module.css | 6 ++++++ 5 files changed, 43 insertions(+) create mode 100644 src/components/BlockQuote.js create mode 100644 src/components/BlockQuote.module.css create mode 100644 src/components/ExternalLink.js create mode 100644 src/components/Highlight.js create mode 100644 src/components/Highlight.module.css (limited to 'src') diff --git a/src/components/BlockQuote.js b/src/components/BlockQuote.js new file mode 100644 index 00000000..7c8a5f5c --- /dev/null +++ b/src/components/BlockQuote.js @@ -0,0 +1,13 @@ +import React from 'react'; +import ExternalLink from './ExternalLink.js'; +import styles from './BlockQuote.module.css'; +import { Icon } from '@iconify/react'; // Import the entire Iconify library. + +export default function BlockQuote({children, refs, href}) { + return ( +
+ {children} + ++ ); +} \ No newline at end of file diff --git a/src/components/BlockQuote.module.css b/src/components/BlockQuote.module.css new file mode 100644 index 00000000..0b8256e7 --- /dev/null +++ b/src/components/BlockQuote.module.css @@ -0,0 +1,3 @@ +.qt { + background-color: var(--ifm-code-background); +} \ No newline at end of file diff --git a/src/components/ExternalLink.js b/src/components/ExternalLink.js new file mode 100644 index 00000000..82c87300 --- /dev/null +++ b/src/components/ExternalLink.js @@ -0,0 +1,11 @@ +import React from 'react'; +//import styles from './ExternalLink.module.css'; +import ExternalLinkIcon from '@theme/Icon/ExternalLink'; + +export default function ExternalLink({children, href}) { + return ( + + {children}