diff --git a/website/src/components/icons/WorldIcon.tsx b/website/src/components/icons/WorldIcon.tsx new file mode 100644 index 0000000000..5939ff78de --- /dev/null +++ b/website/src/components/icons/WorldIcon.tsx @@ -0,0 +1,22 @@ +export const WorldIcon = () => { + return ( + + + + + + + + + ); +}; diff --git a/website/src/components/icons/index.ts b/website/src/components/icons/index.ts index 19b43578b5..0c685a4edd 100644 --- a/website/src/components/icons/index.ts +++ b/website/src/components/icons/index.ts @@ -11,6 +11,7 @@ export { MenuIcon } from "./MenuIcon"; export { CloseIcon } from "./CloseIcon"; export { SearchIcon } from "./SearchIcon"; export { LanguageIcon } from "./LanguageIcon"; +export { WorldIcon } from "./WorldIcon"; // Simple Icons // https://simpleicons.org/ diff --git a/website/src/components/templates/BaseTemplate.tsx b/website/src/components/templates/BaseTemplate.tsx index d3244ddb7f..5e81cdf45a 100644 --- a/website/src/components/templates/BaseTemplate.tsx +++ b/website/src/components/templates/BaseTemplate.tsx @@ -7,6 +7,7 @@ import { ChevronRightIcon, CloseIcon, InfoCircleIcon, + WorldIcon, } from "../icons"; import { Breadcrumbs, @@ -176,14 +177,49 @@ export const BaseTemplate: FC = ({
-
+
-
+ {translationStatus !== "community" && ( + + )} + +
{children}
+ {translationStatus !== "community" && ( + +
+ +
+ + 原文(英語)を開く + +
+ +
+
+ )} + {route === "/docs/" ? (