From 65350c0839bf5cbbdd128d645018a0f5f07ac14f Mon Sep 17 00:00:00 2001 From: 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> Date: Sat, 27 Jan 2024 01:22:54 +0900 Subject: initial commit --- src/theme/Admonition/Type/Caution.js | 10 ++-------- src/theme/Admonition/Type/Danger.js | 10 ++-------- src/theme/Admonition/Type/Info.js | 10 ++-------- src/theme/Admonition/Type/Note.js | 10 ++-------- src/theme/Admonition/Type/Tip.js | 10 ++-------- src/theme/Admonition/Type/Warning.js | 10 ++-------- 6 files changed, 12 insertions(+), 48 deletions(-) (limited to 'src/theme/Admonition/Type') diff --git a/src/theme/Admonition/Type/Caution.js b/src/theme/Admonition/Type/Caution.js index a7bc5440..7890ef7c 100644 --- a/src/theme/Admonition/Type/Caution.js +++ b/src/theme/Admonition/Type/Caution.js @@ -1,14 +1,8 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ import React from 'react'; import clsx from 'clsx'; import Translate from '@docusaurus/Translate'; -import AdmonitionLayout from '../Layout'; -import IconWarning from '@docusaurus/theme-classic/lib/theme/Admonition/Icon/Warning'; +import AdmonitionLayout from '@theme/Admonition/Layout'; +import IconWarning from '@theme/Admonition/Icon/Warning'; const infimaClassName = 'alert alert--warning'; const defaultProps = { icon: , diff --git a/src/theme/Admonition/Type/Danger.js b/src/theme/Admonition/Type/Danger.js index 39e37f69..7a8eb840 100644 --- a/src/theme/Admonition/Type/Danger.js +++ b/src/theme/Admonition/Type/Danger.js @@ -1,14 +1,8 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ import React from 'react'; import clsx from 'clsx'; import Translate from '@docusaurus/Translate'; -import AdmonitionLayout from '../Layout'; -import IconDanger from '@docusaurus/theme-classic/lib/theme/Admonition/Icon/Danger'; +import AdmonitionLayout from '@theme/Admonition/Layout'; +import IconDanger from '@theme/Admonition/Icon/Danger'; const infimaClassName = 'alert alert--danger'; const defaultProps = { icon: , diff --git a/src/theme/Admonition/Type/Info.js b/src/theme/Admonition/Type/Info.js index 44409a44..f0e9d2b6 100644 --- a/src/theme/Admonition/Type/Info.js +++ b/src/theme/Admonition/Type/Info.js @@ -1,14 +1,8 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ import React from 'react'; import clsx from 'clsx'; import Translate from '@docusaurus/Translate'; -import AdmonitionLayout from '../Layout'; -import IconInfo from '@docusaurus/theme-classic/lib/theme/Admonition/Icon/Info'; +import AdmonitionLayout from '@theme/Admonition/Layout'; +import IconInfo from '@theme/Admonition/Icon/Info'; const infimaClassName = 'alert alert--info'; const defaultProps = { icon: , diff --git a/src/theme/Admonition/Type/Note.js b/src/theme/Admonition/Type/Note.js index 01226d2f..5dfb6c00 100644 --- a/src/theme/Admonition/Type/Note.js +++ b/src/theme/Admonition/Type/Note.js @@ -1,14 +1,8 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ import React from 'react'; import clsx from 'clsx'; import Translate from '@docusaurus/Translate'; -import AdmonitionLayout from '../Layout'; -import IconNote from '@docusaurus/theme-classic/lib/theme/Admonition/Icon/Note'; +import AdmonitionLayout from '@theme/Admonition/Layout'; +import IconNote from '@theme/Admonition/Icon/Note'; const infimaClassName = 'alert alert--secondary'; const defaultProps = { icon: , diff --git a/src/theme/Admonition/Type/Tip.js b/src/theme/Admonition/Type/Tip.js index bbe7de19..f31e4208 100644 --- a/src/theme/Admonition/Type/Tip.js +++ b/src/theme/Admonition/Type/Tip.js @@ -1,14 +1,8 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ import React from 'react'; import clsx from 'clsx'; import Translate from '@docusaurus/Translate'; -import AdmonitionLayout from '../Layout'; -import IconTip from '@docusaurus/theme-classic/lib/theme/Admonition/Icon/Tip'; +import AdmonitionLayout from '@theme/Admonition/Layout'; +import IconTip from '@theme/Admonition/Icon/Tip'; const infimaClassName = 'alert alert--success'; const defaultProps = { icon: , diff --git a/src/theme/Admonition/Type/Warning.js b/src/theme/Admonition/Type/Warning.js index ac28ae39..b507d8d9 100644 --- a/src/theme/Admonition/Type/Warning.js +++ b/src/theme/Admonition/Type/Warning.js @@ -1,14 +1,8 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ import React from 'react'; import clsx from 'clsx'; import Translate from '@docusaurus/Translate'; -import AdmonitionLayout from '../Layout'; -import IconWarning from '@docusaurus/theme-classic/lib/theme/Admonition/Icon/Warning'; +import AdmonitionLayout from '@theme/Admonition/Layout'; +import IconWarning from '@theme/Admonition/Icon/Warning'; const infimaClassName = 'alert alert--warning'; const defaultProps = { icon: , -- cgit v1.3.1