@seqera/docusaurus-theme-seqera 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/package.json +66 -0
- package/src/getSwizzleConfig.ts +433 -0
- package/src/index.ts +154 -0
- package/src/inlineScripts.ts +95 -0
- package/src/inlineSvgSprites.ts +7 -0
- package/src/main-styles.css +322 -0
- package/src/nprogress.css +36 -0
- package/src/nprogress.ts +27 -0
- package/src/options.ts +503 -0
- package/src/prism-include-languages.ts +6 -0
- package/src/styles/api.css +42 -0
- package/src/styles/typography.css +342 -0
- package/src/theme/Admonition/Icon/Danger.tsx +15 -0
- package/src/theme/Admonition/Icon/Info.tsx +15 -0
- package/src/theme/Admonition/Icon/Note.tsx +15 -0
- package/src/theme/Admonition/Icon/Tip.tsx +15 -0
- package/src/theme/Admonition/Icon/Warning.tsx +15 -0
- package/src/theme/Admonition/Layout/index.tsx +53 -0
- package/src/theme/Admonition/Layout/styles.module.css +39 -0
- package/src/theme/Admonition/Type/Caution.tsx +34 -0
- package/src/theme/Admonition/Type/Danger.tsx +32 -0
- package/src/theme/Admonition/Type/Info.tsx +32 -0
- package/src/theme/Admonition/Type/Note.tsx +32 -0
- package/src/theme/Admonition/Type/Tip.tsx +32 -0
- package/src/theme/Admonition/Type/Warning.tsx +32 -0
- package/src/theme/Admonition/Types.tsx +33 -0
- package/src/theme/Admonition/index.tsx +23 -0
- package/src/theme/AdmonitionVersioned/AddedInVersion.tsx +14 -0
- package/src/theme/AdmonitionVersioned/AdmonitionVersioned.tsx +66 -0
- package/src/theme/AdmonitionVersioned/ChangedInVersion.tsx +14 -0
- package/src/theme/AdmonitionVersioned/DeprecatedInVersion.tsx +15 -0
- package/src/theme/AdmonitionVersioned/getStableVersion.ts +30 -0
- package/src/theme/AdmonitionVersioned/index.ts +1 -0
- package/src/theme/AdmonitionVersioned/stableVersions.ts +119 -0
- package/src/theme/AnnouncementBar/CloseButton/index.tsx +24 -0
- package/src/theme/AnnouncementBar/CloseButton/styles.module.css +6 -0
- package/src/theme/AnnouncementBar/Content/index.tsx +21 -0
- package/src/theme/AnnouncementBar/Content/styles.module.css +12 -0
- package/src/theme/AnnouncementBar/index.tsx +37 -0
- package/src/theme/AnnouncementBar/styles.module.css +57 -0
- package/src/theme/BackToTopButton/index.tsx +30 -0
- package/src/theme/BackToTopButton/styles.module.css +39 -0
- package/src/theme/Blog/Components/Author/Socials/index.tsx +75 -0
- package/src/theme/Blog/Components/Author/Socials/styles.module.css +34 -0
- package/src/theme/Blog/Components/Author/index.tsx +98 -0
- package/src/theme/Blog/Components/Author/styles.module.css +69 -0
- package/src/theme/Blog/Pages/BlogAuthorsListPage/index.tsx +57 -0
- package/src/theme/Blog/Pages/BlogAuthorsListPage/styles.module.css +6 -0
- package/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.tsx +77 -0
- package/src/theme/BlogArchivePage/index.tsx +102 -0
- package/src/theme/BlogLayout/index.tsx +31 -0
- package/src/theme/BlogListPage/StructuredData/index.tsx +17 -0
- package/src/theme/BlogListPage/index.tsx +57 -0
- package/src/theme/BlogListPaginator/index.tsx +47 -0
- package/src/theme/BlogPostItem/Container/index.tsx +11 -0
- package/src/theme/BlogPostItem/Content/index.tsx +23 -0
- package/src/theme/BlogPostItem/Footer/ReadMoreLink/index.tsx +39 -0
- package/src/theme/BlogPostItem/Footer/index.tsx +85 -0
- package/src/theme/BlogPostItem/Header/Authors/index.tsx +49 -0
- package/src/theme/BlogPostItem/Header/Authors/styles.module.css +15 -0
- package/src/theme/BlogPostItem/Header/Info/index.tsx +77 -0
- package/src/theme/BlogPostItem/Header/Info/styles.module.css +5 -0
- package/src/theme/BlogPostItem/Header/Title/index.tsx +20 -0
- package/src/theme/BlogPostItem/Header/Title/styles.module.css +14 -0
- package/src/theme/BlogPostItem/Header/index.tsx +16 -0
- package/src/theme/BlogPostItem/index.tsx +27 -0
- package/src/theme/BlogPostItems/index.tsx +25 -0
- package/src/theme/BlogPostPage/Metadata/index.tsx +39 -0
- package/src/theme/BlogPostPage/StructuredData/index.tsx +16 -0
- package/src/theme/BlogPostPage/index.tsx +74 -0
- package/src/theme/BlogPostPaginator/index.tsx +46 -0
- package/src/theme/BlogSidebar/Content/index.tsx +52 -0
- package/src/theme/BlogSidebar/Desktop/index.tsx +52 -0
- package/src/theme/BlogSidebar/Desktop/styles.module.css +46 -0
- package/src/theme/BlogSidebar/Mobile/index.tsx +47 -0
- package/src/theme/BlogSidebar/Mobile/styles.module.css +5 -0
- package/src/theme/BlogSidebar/index.tsx +19 -0
- package/src/theme/BlogTagsListPage/index.tsx +33 -0
- package/src/theme/BlogTagsPostsPage/index.tsx +68 -0
- package/src/theme/CodeBlock/Buttons/Button/index.tsx +14 -0
- package/src/theme/CodeBlock/Buttons/CopyButton/index.tsx +82 -0
- package/src/theme/CodeBlock/Buttons/CopyButton/styles.module.css +42 -0
- package/src/theme/CodeBlock/Buttons/WordWrapButton/index.tsx +40 -0
- package/src/theme/CodeBlock/Buttons/WordWrapButton/styles.module.css +10 -0
- package/src/theme/CodeBlock/Buttons/index.tsx +27 -0
- package/src/theme/CodeBlock/Buttons/styles.module.css +32 -0
- package/src/theme/CodeBlock/Container/index.tsx +27 -0
- package/src/theme/CodeBlock/Container/styles.module.css +9 -0
- package/src/theme/CodeBlock/Content/Element.tsx +24 -0
- package/src/theme/CodeBlock/Content/String.tsx +37 -0
- package/src/theme/CodeBlock/Content/index.tsx +79 -0
- package/src/theme/CodeBlock/Content/styles.module.css +30 -0
- package/src/theme/CodeBlock/Layout/index.tsx +29 -0
- package/src/theme/CodeBlock/Layout/styles.module.css +22 -0
- package/src/theme/CodeBlock/Line/Token/index.tsx +13 -0
- package/src/theme/CodeBlock/Line/index.tsx +61 -0
- package/src/theme/CodeBlock/Line/styles.module.css +47 -0
- package/src/theme/CodeBlock/Title/index.tsx +10 -0
- package/src/theme/CodeBlock/index.tsx +40 -0
- package/src/theme/CodeInline/index.tsx +11 -0
- package/src/theme/ColorModeToggle/index.tsx +140 -0
- package/src/theme/ColorModeToggle/styles.module.css +35 -0
- package/src/theme/ContentVisibility/Draft/index.tsx +22 -0
- package/src/theme/ContentVisibility/Unlisted/index.tsx +37 -0
- package/src/theme/ContentVisibility/index.tsx +20 -0
- package/src/theme/Details/index.tsx +21 -0
- package/src/theme/Details/styles.module.css +8 -0
- package/src/theme/DocBreadcrumbs/Items/Home/index.tsx +29 -0
- package/src/theme/DocBreadcrumbs/Items/Home/styles.module.css +9 -0
- package/src/theme/DocBreadcrumbs/StructuredData/index.tsx +19 -0
- package/src/theme/DocBreadcrumbs/index.tsx +98 -0
- package/src/theme/DocBreadcrumbs/styles.module.css +14 -0
- package/src/theme/DocCard/index.tsx +133 -0
- package/src/theme/DocCard/styles.module.css +29 -0
- package/src/theme/DocCardList/index.tsx +43 -0
- package/src/theme/DocCardList/styles.module.css +9 -0
- package/src/theme/DocCategoryGeneratedIndexPage/index.tsx +68 -0
- package/src/theme/DocCategoryGeneratedIndexPage/styles.module.css +13 -0
- package/src/theme/DocItem/Content/index.tsx +43 -0
- package/src/theme/DocItem/Footer/index.tsx +51 -0
- package/src/theme/DocItem/Layout/index.tsx +66 -0
- package/src/theme/DocItem/Layout/styles.module.css +12 -0
- package/src/theme/DocItem/Metadata/index.tsx +17 -0
- package/src/theme/DocItem/Paginator/index.tsx +20 -0
- package/src/theme/DocItem/TOC/Desktop/index.tsx +19 -0
- package/src/theme/DocItem/TOC/Mobile/index.tsx +22 -0
- package/src/theme/DocItem/TOC/Mobile/styles.module.css +26 -0
- package/src/theme/DocItem/index.tsx +23 -0
- package/src/theme/DocPaginator/index.tsx +46 -0
- package/src/theme/DocRoot/Layout/Main/index.tsx +31 -0
- package/src/theme/DocRoot/Layout/Main/styles.module.css +23 -0
- package/src/theme/DocRoot/Layout/Sidebar/ExpandButton/index.tsx +36 -0
- package/src/theme/DocRoot/Layout/Sidebar/ExpandButton/styles.module.css +29 -0
- package/src/theme/DocRoot/Layout/Sidebar/index.tsx +79 -0
- package/src/theme/DocRoot/Layout/Sidebar/styles.module.css +34 -0
- package/src/theme/DocRoot/Layout/index.tsx +32 -0
- package/src/theme/DocRoot/Layout/styles.module.css +11 -0
- package/src/theme/DocRoot/index.tsx +29 -0
- package/src/theme/DocSidebar/Desktop/CollapseButton/index.tsx +34 -0
- package/src/theme/DocSidebar/Desktop/CollapseButton/styles.module.css +42 -0
- package/src/theme/DocSidebar/Desktop/Content/index.tsx +56 -0
- package/src/theme/DocSidebar/Desktop/Content/styles.module.css +18 -0
- package/src/theme/DocSidebar/Desktop/index.tsx +36 -0
- package/src/theme/DocSidebar/Desktop/styles.module.css +39 -0
- package/src/theme/DocSidebar/Mobile/index.tsx +49 -0
- package/src/theme/DocSidebar/index.tsx +25 -0
- package/src/theme/DocSidebarItem/Category/index.tsx +309 -0
- package/src/theme/DocSidebarItem/Category/styles.module.css +35 -0
- package/src/theme/DocSidebarItem/Html/index.tsx +30 -0
- package/src/theme/DocSidebarItem/Html/styles.module.css +8 -0
- package/src/theme/DocSidebarItem/Link/index.tsx +62 -0
- package/src/theme/DocSidebarItem/Link/styles.module.css +13 -0
- package/src/theme/DocSidebarItem/index.tsx +19 -0
- package/src/theme/DocSidebarItems/index.tsx +24 -0
- package/src/theme/DocTagDocListPage/index.tsx +113 -0
- package/src/theme/DocTagsListPage/index.tsx +52 -0
- package/src/theme/DocVersionBadge/index.tsx +29 -0
- package/src/theme/DocVersionBanner/index.tsx +171 -0
- package/src/theme/DocVersionRoot/index.tsx +46 -0
- package/src/theme/DocsRoot/index.tsx +17 -0
- package/src/theme/EditMetaRow/index.tsx +31 -0
- package/src/theme/EditMetaRow/styles.module.css +19 -0
- package/src/theme/EditThisPage/index.tsx +21 -0
- package/src/theme/ErrorPageContent.tsx +38 -0
- package/src/theme/Footer/Copyright/index.tsx +15 -0
- package/src/theme/Footer/Layout/index.tsx +42 -0
- package/src/theme/Footer/LinkItem/index.tsx +31 -0
- package/src/theme/Footer/Links/MultiColumn/index.tsx +53 -0
- package/src/theme/Footer/Links/Simple/index.tsx +38 -0
- package/src/theme/Footer/Links/index.tsx +16 -0
- package/src/theme/Footer/Logo/index.tsx +41 -0
- package/src/theme/Footer/Logo/styles.module.css +11 -0
- package/src/theme/Footer/index.tsx +28 -0
- package/src/theme/Heading/index.tsx +50 -0
- package/src/theme/Heading/styles.module.css +17 -0
- package/src/theme/Homepage/index.tsx +178 -0
- package/src/theme/Icon/AI/index.tsx +21 -0
- package/src/theme/Icon/AWS/index.tsx +22 -0
- package/src/theme/Icon/Arrow/index.tsx +15 -0
- package/src/theme/Icon/Azure/index.tsx +28 -0
- package/src/theme/Icon/Changelog/index.tsx +26 -0
- package/src/theme/Icon/ChatBubble/index.tsx +29 -0
- package/src/theme/Icon/ChatBubbles/index.tsx +42 -0
- package/src/theme/Icon/Close/index.tsx +21 -0
- package/src/theme/Icon/Cog/index.tsx +45 -0
- package/src/theme/Icon/Copy/index.tsx +15 -0
- package/src/theme/Icon/DarkMode/index.tsx +15 -0
- package/src/theme/Icon/Edit/index.tsx +24 -0
- package/src/theme/Icon/Edit/styles.module.css +6 -0
- package/src/theme/Icon/Envelope/index.tsx +33 -0
- package/src/theme/Icon/ExternalLink/index.tsx +30 -0
- package/src/theme/Icon/ExternalLink/styles.module.css +5 -0
- package/src/theme/Icon/Fusion/index.tsx +32 -0
- package/src/theme/Icon/GoogleCloud/index.tsx +56 -0
- package/src/theme/Icon/Home/index.tsx +15 -0
- package/src/theme/Icon/Language/index.tsx +24 -0
- package/src/theme/Icon/LightMode/index.tsx +15 -0
- package/src/theme/Icon/MCP/index.tsx +84 -0
- package/src/theme/Icon/Menu/index.tsx +29 -0
- package/src/theme/Icon/MultiQC/index.tsx +25 -0
- package/src/theme/Icon/Nextflow/index.tsx +25 -0
- package/src/theme/Icon/QuestionMark/index.tsx +46 -0
- package/src/theme/Icon/SeqeraCloud/index.tsx +35 -0
- package/src/theme/Icon/SeqeraEnterprise/index.tsx +372 -0
- package/src/theme/Icon/SeqeraLogo/index.tsx +22 -0
- package/src/theme/Icon/ServiceStatus/index.tsx +101 -0
- package/src/theme/Icon/Sidebar/index.tsx +8 -0
- package/src/theme/Icon/Socials/Bluesky/index.tsx +23 -0
- package/src/theme/Icon/Socials/Bluesky/styles.module.css +9 -0
- package/src/theme/Icon/Socials/Default/index.tsx +28 -0
- package/src/theme/Icon/Socials/Email/index.tsx +23 -0
- package/src/theme/Icon/Socials/GitHub/index.tsx +24 -0
- package/src/theme/Icon/Socials/GitHub/styles.module.css +9 -0
- package/src/theme/Icon/Socials/Instagram/index.tsx +23 -0
- package/src/theme/Icon/Socials/Instagram/styles.module.css +9 -0
- package/src/theme/Icon/Socials/LinkedIn/index.tsx +23 -0
- package/src/theme/Icon/Socials/LinkedIn/styles.module.css +9 -0
- package/src/theme/Icon/Socials/Mastodon/index.tsx +40 -0
- package/src/theme/Icon/Socials/StackOverflow/index.tsx +25 -0
- package/src/theme/Icon/Socials/Threads/index.tsx +25 -0
- package/src/theme/Icon/Socials/Threads/styles.module.css +9 -0
- package/src/theme/Icon/Socials/Twitch/index.tsx +32 -0
- package/src/theme/Icon/Socials/Twitter/index.tsx +22 -0
- package/src/theme/Icon/Socials/X/index.tsx +24 -0
- package/src/theme/Icon/Socials/X/styles.module.css +9 -0
- package/src/theme/Icon/Socials/YouTube/index.tsx +22 -0
- package/src/theme/Icon/Success/index.tsx +15 -0
- package/src/theme/Icon/SystemColorMode/index.tsx +15 -0
- package/src/theme/Icon/Wave/index.tsx +32 -0
- package/src/theme/Icon/WordWrap/index.tsx +15 -0
- package/src/theme/LastUpdated/index.tsx +91 -0
- package/src/theme/Layout/Provider/index.tsx +26 -0
- package/src/theme/Layout/index.tsx +59 -0
- package/src/theme/Layout/styles.module.css +23 -0
- package/src/theme/Logo/index.tsx +78 -0
- package/src/theme/MDXComponents/A/index.tsx +16 -0
- package/src/theme/MDXComponents/Button/index.tsx +43 -0
- package/src/theme/MDXComponents/Code.tsx +26 -0
- package/src/theme/MDXComponents/Details.tsx +26 -0
- package/src/theme/MDXComponents/Heading.tsx +9 -0
- package/src/theme/MDXComponents/Img/index.tsx +23 -0
- package/src/theme/MDXComponents/Img/styles.module.css +5 -0
- package/src/theme/MDXComponents/Li.tsx +17 -0
- package/src/theme/MDXComponents/Pre.tsx +10 -0
- package/src/theme/MDXComponents/Ul/index.tsx +25 -0
- package/src/theme/MDXComponents/Ul/styles.module.css +9 -0
- package/src/theme/MDXComponents/index.tsx +47 -0
- package/src/theme/MDXContent/index.tsx +10 -0
- package/src/theme/MDXPage/index.tsx +87 -0
- package/src/theme/MDXPage/styles.module.css +5 -0
- package/src/theme/Mermaid.tsx +11 -0
- package/src/theme/Navbar/ColorModeToggle/index.tsx +29 -0
- package/src/theme/Navbar/ColorModeToggle/styles.module.css +5 -0
- package/src/theme/Navbar/Content/index.tsx +152 -0
- package/src/theme/Navbar/Content/styles.module.css +19 -0
- package/src/theme/Navbar/Layout/index.tsx +59 -0
- package/src/theme/Navbar/Layout/styles.module.css +9 -0
- package/src/theme/Navbar/Logo/index.tsx +14 -0
- package/src/theme/Navbar/MobileSidebar/Header/index.tsx +37 -0
- package/src/theme/Navbar/MobileSidebar/Layout/index.tsx +72 -0
- package/src/theme/Navbar/MobileSidebar/Layout/styles.module.css +11 -0
- package/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx +90 -0
- package/src/theme/Navbar/MobileSidebar/SecondaryMenu/index.tsx +34 -0
- package/src/theme/Navbar/MobileSidebar/Toggle/index.tsx +25 -0
- package/src/theme/Navbar/MobileSidebar/index.tsx +28 -0
- package/src/theme/Navbar/Search/index.tsx +15 -0
- package/src/theme/Navbar/Search/styles.module.css +22 -0
- package/src/theme/Navbar/Submenu/SubmenuLinks.tsx +136 -0
- package/src/theme/Navbar/Submenu/index.tsx +84 -0
- package/src/theme/Navbar/Submenu/styles.module.css +82 -0
- package/src/theme/Navbar/index.tsx +13 -0
- package/src/theme/NavbarItem/ComponentTypes.tsx +27 -0
- package/src/theme/NavbarItem/DefaultNavbarItem/Desktop/index.tsx +29 -0
- package/src/theme/NavbarItem/DefaultNavbarItem/Mobile/index.tsx +18 -0
- package/src/theme/NavbarItem/DefaultNavbarItem/index.tsx +23 -0
- package/src/theme/NavbarItem/DocNavbarItem.tsx +38 -0
- package/src/theme/NavbarItem/DocSidebarNavbarItem.tsx +33 -0
- package/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx +189 -0
- package/src/theme/NavbarItem/DocsVersionNavbarItem.tsx +22 -0
- package/src/theme/NavbarItem/DropdownNavbarItem/Desktop/index.tsx +81 -0
- package/src/theme/NavbarItem/DropdownNavbarItem/Mobile/index.tsx +161 -0
- package/src/theme/NavbarItem/DropdownNavbarItem/Mobile/styles.module.css +5 -0
- package/src/theme/NavbarItem/DropdownNavbarItem/index.tsx +14 -0
- package/src/theme/NavbarItem/HtmlNavbarItem.tsx +27 -0
- package/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx +128 -0
- package/src/theme/NavbarItem/LocaleDropdownNavbarItem/styles.module.css +6 -0
- package/src/theme/NavbarItem/NavbarNavLink.tsx +69 -0
- package/src/theme/NavbarItem/SearchNavbarItem.tsx +21 -0
- package/src/theme/NavbarItem/index.tsx +23 -0
- package/src/theme/NotFound/Content/index.tsx +34 -0
- package/src/theme/NotFound/index.tsx +22 -0
- package/src/theme/PaginatorNavLink/index.tsx +21 -0
- package/src/theme/SearchBar.tsx +8 -0
- package/src/theme/SearchMetadata/index.tsx +38 -0
- package/src/theme/SiteMetadata/index.tsx +153 -0
- package/src/theme/SkipToContent/index.tsx +9 -0
- package/src/theme/SkipToContent/styles.module.css +16 -0
- package/src/theme/TOC/index.tsx +26 -0
- package/src/theme/TOC/styles.module.css +23 -0
- package/src/theme/TOCCollapsible/CollapseButton/index.tsx +30 -0
- package/src/theme/TOCCollapsible/CollapseButton/styles.module.css +27 -0
- package/src/theme/TOCCollapsible/index.tsx +42 -0
- package/src/theme/TOCCollapsible/styles.module.css +26 -0
- package/src/theme/TOCInline/index.tsx +25 -0
- package/src/theme/TOCInline/styles.module.css +7 -0
- package/src/theme/TOCItems/Tree.tsx +40 -0
- package/src/theme/TOCItems/index.tsx +56 -0
- package/src/theme/TabItem/index.tsx +22 -0
- package/src/theme/TabItem/styles.module.css +5 -0
- package/src/theme/Tabs/index.tsx +167 -0
- package/src/theme/Tabs/styles.module.css +9 -0
- package/src/theme/Tag/index.tsx +30 -0
- package/src/theme/Tag/styles.module.css +65 -0
- package/src/theme/TagsListByLetter/index.tsx +40 -0
- package/src/theme/TagsListByLetter/styles.module.css +6 -0
- package/src/theme/TagsListInline/index.tsx +30 -0
- package/src/theme/TagsListInline/styles.module.css +10 -0
- package/src/theme/ThemeProvider/TitleFormatter/index.tsx +22 -0
- package/src/theme/ThemeProvider/index.tsx +9 -0
- package/src/theme/ThemedImage/index.tsx +21 -0
- package/src/theme/ThemedImage/styles.module.css +13 -0
- package/src/theme/pages/Home/index.tsx +19 -0
- package/src/theme/prism-include-languages.ts +39 -0
- package/src/theme-seqera.d.ts +2277 -0
- package/src/translations.ts +240 -0
- package/tailwind.config.js +7 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import type {SVGProps, ReactNode, CSSProperties} from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import styles from './styles.module.css';
|
|
6
|
+
|
|
7
|
+
// SVG Source: https://svgl.app/
|
|
8
|
+
function LinkedIn(props: SVGProps<SVGSVGElement>): ReactNode {
|
|
9
|
+
return (
|
|
10
|
+
<svg
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
width="1em"
|
|
13
|
+
height="1em"
|
|
14
|
+
preserveAspectRatio="xMidYMid"
|
|
15
|
+
viewBox="0 0 256 256"
|
|
16
|
+
style={{'--dark': '#0a66c2', '--light': '#ffffffe6'} as CSSProperties}
|
|
17
|
+
{...props}
|
|
18
|
+
className={clsx(props.className, styles.linkedinSvg)}>
|
|
19
|
+
<path d="M218.123 218.127h-37.931v-59.403c0-14.165-.253-32.4-19.728-32.4-19.756 0-22.779 15.434-22.779 31.369v60.43h-37.93V95.967h36.413v16.694h.51a39.907 39.907 0 0 1 35.928-19.733c38.445 0 45.533 25.288 45.533 58.186l-.016 67.013ZM56.955 79.27c-12.157.002-22.014-9.852-22.016-22.009-.002-12.157 9.851-22.014 22.008-22.016 12.157-.003 22.014 9.851 22.016 22.008A22.013 22.013 0 0 1 56.955 79.27m18.966 138.858H37.95V95.967h37.97v122.16ZM237.033.018H18.89C8.58-.098.125 8.161-.001 18.471v219.053c.122 10.315 8.576 18.582 18.89 18.474h218.144c10.336.128 18.823-8.139 18.966-18.474V18.454c-.147-10.33-8.635-18.588-18.966-18.453" />
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
export default LinkedIn;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import {useId} from 'react';
|
|
4
|
+
import type {SVGProps, ReactNode} from 'react';
|
|
5
|
+
|
|
6
|
+
// SVG Source: https://svgl.app/
|
|
7
|
+
function Mastodon(props: SVGProps<SVGSVGElement>): ReactNode {
|
|
8
|
+
const gradientId = useId();
|
|
9
|
+
return (
|
|
10
|
+
<svg
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
fill="none"
|
|
13
|
+
viewBox="0 0 61 65"
|
|
14
|
+
width="1em"
|
|
15
|
+
height="1em"
|
|
16
|
+
{...props}>
|
|
17
|
+
<path
|
|
18
|
+
fill={`url(#${gradientId})`}
|
|
19
|
+
d="M60.754 14.39C59.814 7.406 53.727 1.903 46.512.836 45.294.656 40.682 0 29.997 0h-.08C19.23 0 16.938.656 15.72.836 8.705 1.873 2.299 6.82.745 13.886c-.748 3.48-.828 7.338-.689 10.877.198 5.075.237 10.142.697 15.197a71.482 71.482 0 0 0 1.664 9.968c1.477 6.056 7.458 11.096 13.317 13.152a35.718 35.718 0 0 0 19.484 1.028 28.365 28.365 0 0 0 2.107-.576c1.572-.5 3.413-1.057 4.766-2.038a.154.154 0 0 0 .062-.118v-4.899a.146.146 0 0 0-.055-.111.145.145 0 0 0-.122-.028 54 54 0 0 1-12.644 1.478c-7.328 0-9.298-3.478-9.863-4.925a15.258 15.258 0 0 1-.857-3.882.142.142 0 0 1 .178-.145 52.976 52.976 0 0 0 12.437 1.477c1.007 0 2.012 0 3.02-.026 4.213-.119 8.654-.334 12.8-1.144.103-.02.206-.038.295-.065 6.539-1.255 12.762-5.196 13.394-15.176.024-.393.083-4.115.083-4.523.003-1.386.446-9.829-.065-15.017Z"
|
|
20
|
+
/>
|
|
21
|
+
<path
|
|
22
|
+
fill="#fff"
|
|
23
|
+
d="M50.394 22.237v17.35H43.52V22.749c0-3.545-1.478-5.353-4.483-5.353-3.303 0-4.958 2.139-4.958 6.364v9.217h-6.835V23.76c0-4.225-1.657-6.364-4.96-6.364-2.988 0-4.48 1.808-4.48 5.353v16.84H10.93V22.237c0-3.545.905-6.362 2.715-8.45 1.868-2.082 4.317-3.152 7.358-3.152 3.519 0 6.178 1.354 7.951 4.057l1.711 2.871 1.714-2.871c1.773-2.704 4.432-4.056 7.945-4.056 3.038 0 5.487 1.069 7.36 3.152 1.81 2.085 2.712 4.902 2.71 8.449Z"
|
|
24
|
+
/>
|
|
25
|
+
<defs>
|
|
26
|
+
<linearGradient
|
|
27
|
+
id={gradientId}
|
|
28
|
+
x1={30.5}
|
|
29
|
+
x2={30.5}
|
|
30
|
+
y1={0}
|
|
31
|
+
y2={65}
|
|
32
|
+
gradientUnits="userSpaceOnUse">
|
|
33
|
+
<stop stopColor="#6364FF" />
|
|
34
|
+
<stop offset={1} stopColor="#563ACC" />
|
|
35
|
+
</linearGradient>
|
|
36
|
+
</defs>
|
|
37
|
+
</svg>
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
export default Mastodon;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import type {ReactNode, SVGProps} from 'react';
|
|
4
|
+
|
|
5
|
+
// SVG Source: https://svgl.app/
|
|
6
|
+
function StackOverflow(props: SVGProps<SVGSVGElement>): ReactNode {
|
|
7
|
+
return (
|
|
8
|
+
<svg
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
viewBox="0 0 169.61 200"
|
|
11
|
+
width="1em"
|
|
12
|
+
height="1em"
|
|
13
|
+
{...props}>
|
|
14
|
+
<path
|
|
15
|
+
d="M140.44 178.38v-48.65h21.61V200H0v-70.27h21.61v48.65z"
|
|
16
|
+
fill="#bcbbbb"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
d="M124.24 140.54l4.32-16.22-86.97-17.83-3.78 17.83zM49.7 82.16L130.72 120l7.56-16.22-81.02-37.83zm22.68-40l68.06 57.3 11.35-13.51-68.6-57.3-11.35 13.51zM116.14 0l-14.59 10.81 53.48 71.89 14.58-10.81zM37.81 162.16h86.43v-16.21H37.81z"
|
|
20
|
+
fill="#f48024"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export default StackOverflow;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import type {SVGProps, ReactNode, CSSProperties} from 'react';
|
|
4
|
+
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import styles from './styles.module.css';
|
|
7
|
+
|
|
8
|
+
// SVG Source: https://svgl.app/
|
|
9
|
+
function Threads(props: SVGProps<SVGSVGElement>): ReactNode {
|
|
10
|
+
return (
|
|
11
|
+
<svg
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
aria-label="Threads"
|
|
14
|
+
viewBox="0 0 192 192"
|
|
15
|
+
width="1em"
|
|
16
|
+
fill="none"
|
|
17
|
+
height="1em"
|
|
18
|
+
style={{'--dark': '#000', '--light': '#fff'} as CSSProperties}
|
|
19
|
+
{...props}
|
|
20
|
+
className={clsx(props.className, styles.threadsSvg)}>
|
|
21
|
+
<path d="M141.537 88.988a66.667 66.667 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553ZM98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735 1.966-.114 3.895-.169 5.79-.169 6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274Z" />
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export default Threads;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
import type {SVGProps, ReactNode} from 'react';
|
|
3
|
+
|
|
4
|
+
// SVG Source: https://svgl.app/
|
|
5
|
+
function Twitch(props: SVGProps<SVGSVGElement>): ReactNode {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
x={0}
|
|
10
|
+
y={0}
|
|
11
|
+
viewBox="0 0 2400 2800"
|
|
12
|
+
width="1em"
|
|
13
|
+
height="1em"
|
|
14
|
+
{...props}>
|
|
15
|
+
<path
|
|
16
|
+
d="m2200 1300-400 400h-400l-350 350v-350H600V200h1600z"
|
|
17
|
+
fill="#fff"
|
|
18
|
+
/>
|
|
19
|
+
<g>
|
|
20
|
+
<path
|
|
21
|
+
d="M500 0 0 500v1800h600v500l500-500h400l900-900V0H500zm1700 1300-400 400h-400l-350 350v-350H600V200h1600v1100z"
|
|
22
|
+
fill="#9146ff"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
d="M1700 550h200v600h-200zM1150 550h200v600h-200z"
|
|
26
|
+
fill="#9146ff"
|
|
27
|
+
/>
|
|
28
|
+
</g>
|
|
29
|
+
</svg>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export default Twitch;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import type {ReactNode, SVGProps} from 'react';
|
|
4
|
+
|
|
5
|
+
// SVG Source: https://svgl.app/
|
|
6
|
+
function Twitter(props: SVGProps<SVGSVGElement>): ReactNode {
|
|
7
|
+
return (
|
|
8
|
+
<svg
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
viewBox="0 0 256 209"
|
|
11
|
+
width="1em"
|
|
12
|
+
height="1em"
|
|
13
|
+
preserveAspectRatio="xMidYMid"
|
|
14
|
+
{...props}>
|
|
15
|
+
<path
|
|
16
|
+
d="M256 25.45c-9.42 4.177-19.542 7-30.166 8.27 10.845-6.5 19.172-16.793 23.093-29.057a105.183 105.183 0 0 1-33.351 12.745C205.995 7.201 192.346.822 177.239.822c-29.006 0-52.523 23.516-52.523 52.52 0 4.117.465 8.125 1.36 11.97-43.65-2.191-82.35-23.1-108.255-54.876-4.52 7.757-7.11 16.78-7.11 26.404 0 18.222 9.273 34.297 23.365 43.716a52.312 52.312 0 0 1-23.79-6.57c-.003.22-.003.44-.003.661 0 25.447 18.104 46.675 42.13 51.5a52.592 52.592 0 0 1-23.718.9c6.683 20.866 26.08 36.05 49.062 36.475-17.975 14.086-40.622 22.483-65.228 22.483-4.24 0-8.42-.249-12.529-.734 23.243 14.902 50.85 23.597 80.51 23.597 96.607 0 149.434-80.031 149.434-149.435 0-2.278-.05-4.543-.152-6.795A106.748 106.748 0 0 0 256 25.45"
|
|
17
|
+
fill="#55acee"
|
|
18
|
+
/>
|
|
19
|
+
</svg>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export default Twitter;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import type {ReactNode, SVGProps, CSSProperties} from 'react';
|
|
4
|
+
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import styles from './styles.module.css';
|
|
7
|
+
|
|
8
|
+
// SVG Source: https://svgl.app/
|
|
9
|
+
function X(props: SVGProps<SVGSVGElement>): ReactNode {
|
|
10
|
+
return (
|
|
11
|
+
<svg
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
width="1em"
|
|
14
|
+
height="1em"
|
|
15
|
+
fill="none"
|
|
16
|
+
viewBox="0 0 1200 1227"
|
|
17
|
+
style={{'--dark': '#000', '--light': '#fff'} as CSSProperties}
|
|
18
|
+
{...props}
|
|
19
|
+
className={clsx(props.className, styles.xSvg)}>
|
|
20
|
+
<path d="M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z" />
|
|
21
|
+
</svg>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export default X;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
import type {SVGProps, ReactNode} from 'react';
|
|
3
|
+
|
|
4
|
+
// SVG Source: https://svgl.app/
|
|
5
|
+
function YouTube(props: SVGProps<SVGSVGElement>): ReactNode {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
viewBox="0 0 256 180"
|
|
9
|
+
width="1em"
|
|
10
|
+
height="1em"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
preserveAspectRatio="xMidYMid"
|
|
13
|
+
{...props}>
|
|
14
|
+
<path
|
|
15
|
+
d="M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134Z"
|
|
16
|
+
fill="red"
|
|
17
|
+
/>
|
|
18
|
+
<path fill="#FFF" d="m102.421 128.06 66.328-38.418-66.328-38.418z" />
|
|
19
|
+
</svg>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export default YouTube;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import React, {type ReactNode} from 'react';
|
|
4
|
+
import type {Props} from '@theme/Icon/Success';
|
|
5
|
+
|
|
6
|
+
export default function IconSuccess(props: Props): ReactNode {
|
|
7
|
+
return (
|
|
8
|
+
<svg viewBox="0 0 24 24" {...props}>
|
|
9
|
+
<path
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"
|
|
12
|
+
/>
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import type {ReactNode} from 'react';
|
|
4
|
+
import type {Props} from '@theme/Icon/SystemColorMode';
|
|
5
|
+
|
|
6
|
+
export default function IconSystemColorMode(props: Props): ReactNode {
|
|
7
|
+
return (
|
|
8
|
+
<svg viewBox="0 0 24 24" width={24} height={24} {...props}>
|
|
9
|
+
<path
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"
|
|
12
|
+
/>
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, {type ReactNode} from 'react';
|
|
2
|
+
import type {Props} from '@theme/Icon/Wave';
|
|
3
|
+
|
|
4
|
+
export default function IconWave(props: Props): ReactNode {
|
|
5
|
+
return (
|
|
6
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" {...props}>
|
|
7
|
+
<g clipPath="url(#clip0_15_583)">
|
|
8
|
+
<path
|
|
9
|
+
d="M4.45901 11.2482C4.7054 7.53831 7.68555 4.56568 11.3992 4.33246V0C5.29033 0.240744 0.379521 5.14215 0.12561 11.2482H4.45901Z"
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
d="M4.45901 23.5104C4.7054 19.8005 7.68555 16.8279 11.3992 16.5947V12.2622C5.29033 12.503 0.379521 17.4044 0.12561 23.5104H4.45901Z"
|
|
14
|
+
fill="currentColor"
|
|
15
|
+
/>
|
|
16
|
+
<path
|
|
17
|
+
d="M19.3024 0.00012207C19.056 3.71003 16.0759 6.68266 12.3622 6.91588V11.2483C18.4711 11.0076 23.3819 6.10619 23.6358 0.00012207L19.3024 0.00012207Z"
|
|
18
|
+
fill="currentColor"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
d="M19.3024 12.2622C19.056 15.9721 16.0759 18.9447 12.3622 19.178V23.5104C18.4711 23.2697 23.3819 18.3683 23.6358 12.2622H19.3024Z"
|
|
22
|
+
fill="currentColor"
|
|
23
|
+
/>
|
|
24
|
+
</g>
|
|
25
|
+
<defs>
|
|
26
|
+
<clipPath id="clip0_15_583">
|
|
27
|
+
<rect width="24" height="23.5103" fill="white" />
|
|
28
|
+
</clipPath>
|
|
29
|
+
</defs>
|
|
30
|
+
</svg>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import React, {type ReactNode} from 'react';
|
|
4
|
+
import type {Props} from '@theme/Icon/WordWrap';
|
|
5
|
+
|
|
6
|
+
export default function IconWordWrap(props: Props): ReactNode {
|
|
7
|
+
return (
|
|
8
|
+
<svg viewBox="0 0 24 24" {...props}>
|
|
9
|
+
<path
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"
|
|
12
|
+
/>
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import React, {type ReactNode} from 'react';
|
|
4
|
+
import Translate from '@docusaurus/Translate';
|
|
5
|
+
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
6
|
+
import {useDateTimeFormat} from '@docusaurus/theme-common/internal';
|
|
7
|
+
import type {Props} from '@theme/LastUpdated';
|
|
8
|
+
|
|
9
|
+
function LastUpdatedAtDate({
|
|
10
|
+
lastUpdatedAt,
|
|
11
|
+
}: {
|
|
12
|
+
lastUpdatedAt: number;
|
|
13
|
+
}): ReactNode {
|
|
14
|
+
const atDate = new Date(lastUpdatedAt);
|
|
15
|
+
|
|
16
|
+
const dateTimeFormat = useDateTimeFormat({
|
|
17
|
+
day: 'numeric',
|
|
18
|
+
month: 'short',
|
|
19
|
+
year: 'numeric',
|
|
20
|
+
timeZone: 'UTC',
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
const formattedLastUpdatedAt = dateTimeFormat.format(atDate);
|
|
24
|
+
|
|
25
|
+
return (
|
|
26
|
+
<Translate
|
|
27
|
+
id="theme.lastUpdated.atDate"
|
|
28
|
+
description="The words used to describe on which date a page has been last updated"
|
|
29
|
+
values={{
|
|
30
|
+
date: (
|
|
31
|
+
<b>
|
|
32
|
+
<time dateTime={atDate.toISOString()} itemProp="dateModified">
|
|
33
|
+
{formattedLastUpdatedAt}
|
|
34
|
+
</time>
|
|
35
|
+
</b>
|
|
36
|
+
),
|
|
37
|
+
}}>
|
|
38
|
+
{' on {date}'}
|
|
39
|
+
</Translate>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function LastUpdatedByUser({
|
|
44
|
+
lastUpdatedBy,
|
|
45
|
+
}: {
|
|
46
|
+
lastUpdatedBy: string;
|
|
47
|
+
}): ReactNode {
|
|
48
|
+
return (
|
|
49
|
+
<Translate
|
|
50
|
+
id="theme.lastUpdated.byUser"
|
|
51
|
+
description="The words used to describe by who the page has been last updated"
|
|
52
|
+
values={{
|
|
53
|
+
user: <b>{lastUpdatedBy}</b>,
|
|
54
|
+
}}>
|
|
55
|
+
{' by {user}'}
|
|
56
|
+
</Translate>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export default function LastUpdated({
|
|
61
|
+
lastUpdatedAt,
|
|
62
|
+
lastUpdatedBy,
|
|
63
|
+
}: Props): ReactNode {
|
|
64
|
+
return (
|
|
65
|
+
<span className={ThemeClassNames.common.lastUpdated}>
|
|
66
|
+
<Translate
|
|
67
|
+
id="theme.lastUpdated.lastUpdatedAtBy"
|
|
68
|
+
description="The sentence used to display when a page has been last updated, and by who"
|
|
69
|
+
values={{
|
|
70
|
+
atDate: lastUpdatedAt ? (
|
|
71
|
+
<LastUpdatedAtDate lastUpdatedAt={lastUpdatedAt} />
|
|
72
|
+
) : (
|
|
73
|
+
''
|
|
74
|
+
),
|
|
75
|
+
byUser: lastUpdatedBy ? (
|
|
76
|
+
<LastUpdatedByUser lastUpdatedBy={lastUpdatedBy} />
|
|
77
|
+
) : (
|
|
78
|
+
''
|
|
79
|
+
),
|
|
80
|
+
}}>
|
|
81
|
+
{'Last updated{atDate}{byUser}'}
|
|
82
|
+
</Translate>
|
|
83
|
+
{process.env.NODE_ENV === 'development' && (
|
|
84
|
+
<div>
|
|
85
|
+
{/* eslint-disable-next-line @docusaurus/no-untranslated-text */}
|
|
86
|
+
<small> (Simulated during dev for better perf)</small>
|
|
87
|
+
</div>
|
|
88
|
+
)}
|
|
89
|
+
</span>
|
|
90
|
+
);
|
|
91
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import React, {type ReactNode} from 'react';
|
|
4
|
+
import {composeProviders} from '@docusaurus/theme-common';
|
|
5
|
+
import {
|
|
6
|
+
ColorModeProvider,
|
|
7
|
+
AnnouncementBarProvider,
|
|
8
|
+
ScrollControllerProvider,
|
|
9
|
+
NavbarProvider,
|
|
10
|
+
PluginHtmlClassNameProvider,
|
|
11
|
+
} from '@docusaurus/theme-common/internal';
|
|
12
|
+
import {DocsPreferredVersionContextProvider} from '@docusaurus/plugin-content-docs/client';
|
|
13
|
+
import type {Props} from '@theme/Layout/Provider';
|
|
14
|
+
|
|
15
|
+
const Provider = composeProviders([
|
|
16
|
+
ColorModeProvider,
|
|
17
|
+
AnnouncementBarProvider,
|
|
18
|
+
ScrollControllerProvider,
|
|
19
|
+
DocsPreferredVersionContextProvider,
|
|
20
|
+
PluginHtmlClassNameProvider,
|
|
21
|
+
NavbarProvider,
|
|
22
|
+
]);
|
|
23
|
+
|
|
24
|
+
export default function LayoutProvider({children}: Props): ReactNode {
|
|
25
|
+
return <Provider>{children}</Provider>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import React, {type ReactNode} from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import ErrorBoundary from '@docusaurus/ErrorBoundary';
|
|
6
|
+
import {
|
|
7
|
+
PageMetadata,
|
|
8
|
+
SkipToContentFallbackId,
|
|
9
|
+
ThemeClassNames,
|
|
10
|
+
} from '@docusaurus/theme-common';
|
|
11
|
+
import {useKeyboardNavigation} from '@docusaurus/theme-common/internal';
|
|
12
|
+
import SkipToContent from '@theme/SkipToContent';
|
|
13
|
+
import AnnouncementBar from '@theme/AnnouncementBar';
|
|
14
|
+
import Navbar from '@theme/Navbar';
|
|
15
|
+
import Footer from '@theme/Footer';
|
|
16
|
+
import LayoutProvider from '@theme/Layout/Provider';
|
|
17
|
+
import ErrorPageContent from '@theme/ErrorPageContent';
|
|
18
|
+
import type {Props} from '@theme/Layout';
|
|
19
|
+
import styles from './styles.module.css';
|
|
20
|
+
|
|
21
|
+
export default function Layout(props: Props): ReactNode {
|
|
22
|
+
const {
|
|
23
|
+
children,
|
|
24
|
+
noFooter,
|
|
25
|
+
wrapperClassName,
|
|
26
|
+
// Not really layout-related, but kept for convenience/retro-compatibility
|
|
27
|
+
title,
|
|
28
|
+
description,
|
|
29
|
+
} = props;
|
|
30
|
+
|
|
31
|
+
useKeyboardNavigation();
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<LayoutProvider>
|
|
35
|
+
<PageMetadata title={title} description={description} />
|
|
36
|
+
|
|
37
|
+
<SkipToContent />
|
|
38
|
+
|
|
39
|
+
<AnnouncementBar />
|
|
40
|
+
|
|
41
|
+
<Navbar />
|
|
42
|
+
|
|
43
|
+
<div
|
|
44
|
+
id={SkipToContentFallbackId}
|
|
45
|
+
className={clsx(
|
|
46
|
+
ThemeClassNames.layout.main.container,
|
|
47
|
+
ThemeClassNames.wrapper.main,
|
|
48
|
+
styles.mainWrapper,
|
|
49
|
+
wrapperClassName,
|
|
50
|
+
)}>
|
|
51
|
+
<ErrorBoundary fallback={(params) => <ErrorPageContent {...params} />}>
|
|
52
|
+
{children}
|
|
53
|
+
</ErrorBoundary>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
{!noFooter && <Footer />}
|
|
57
|
+
</LayoutProvider>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
html,
|
|
4
|
+
body {
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.mainWrapper {
|
|
9
|
+
flex: 1 0 auto;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Docusaurus-specific utility class */
|
|
15
|
+
:global(.docusaurus-mt-lg) {
|
|
16
|
+
margin-top: 3rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:global(#__docusaurus) {
|
|
20
|
+
min-height: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import React, {type ReactNode} from 'react';
|
|
4
|
+
import Link from '@docusaurus/Link';
|
|
5
|
+
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
6
|
+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
|
7
|
+
import {useThemeConfig, type NavbarLogo} from '@docusaurus/theme-common';
|
|
8
|
+
import ThemedImage from '@theme/ThemedImage';
|
|
9
|
+
import type {Props} from '@theme/Logo';
|
|
10
|
+
|
|
11
|
+
function LogoThemedImage({
|
|
12
|
+
logo,
|
|
13
|
+
alt,
|
|
14
|
+
imageClassName,
|
|
15
|
+
}: {
|
|
16
|
+
logo: NavbarLogo;
|
|
17
|
+
alt: string;
|
|
18
|
+
imageClassName?: string;
|
|
19
|
+
}) {
|
|
20
|
+
const sources = {
|
|
21
|
+
light: useBaseUrl(logo.src),
|
|
22
|
+
dark: useBaseUrl(logo.srcDark || logo.src),
|
|
23
|
+
};
|
|
24
|
+
const themedImage = (
|
|
25
|
+
<ThemedImage
|
|
26
|
+
className={logo.className}
|
|
27
|
+
sources={sources}
|
|
28
|
+
height={logo.height}
|
|
29
|
+
width={logo.width}
|
|
30
|
+
alt={alt}
|
|
31
|
+
style={logo.style}
|
|
32
|
+
/>
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
// Is this extra div really necessary?
|
|
36
|
+
// introduced in https://github.com/facebook/docusaurus/pull/5666
|
|
37
|
+
return imageClassName ? (
|
|
38
|
+
<div className={imageClassName}>{themedImage}</div>
|
|
39
|
+
) : (
|
|
40
|
+
themedImage
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export default function Logo(props: Props): ReactNode {
|
|
45
|
+
const {
|
|
46
|
+
siteConfig: {title},
|
|
47
|
+
} = useDocusaurusContext();
|
|
48
|
+
const {
|
|
49
|
+
navbar: {title: navbarTitle, logo},
|
|
50
|
+
} = useThemeConfig();
|
|
51
|
+
|
|
52
|
+
const {imageClassName, titleClassName, ...propsRest} = props;
|
|
53
|
+
const logoLink = useBaseUrl(logo?.href || '/');
|
|
54
|
+
|
|
55
|
+
// If visible title is shown, fallback alt text should be
|
|
56
|
+
// an empty string to mark the logo as decorative.
|
|
57
|
+
const fallbackAlt = navbarTitle ? '' : title;
|
|
58
|
+
|
|
59
|
+
// Use logo alt text if provided (including empty string),
|
|
60
|
+
// and provide a sensible fallback otherwise.
|
|
61
|
+
const alt = logo?.alt ?? fallbackAlt;
|
|
62
|
+
|
|
63
|
+
return (
|
|
64
|
+
<Link
|
|
65
|
+
to={logoLink}
|
|
66
|
+
{...propsRest}
|
|
67
|
+
{...(logo?.target && {target: logo.target})}>
|
|
68
|
+
{logo && (
|
|
69
|
+
<LogoThemedImage
|
|
70
|
+
logo={logo}
|
|
71
|
+
alt={alt}
|
|
72
|
+
imageClassName={imageClassName}
|
|
73
|
+
/>
|
|
74
|
+
)}
|
|
75
|
+
{navbarTitle != null && <b className={titleClassName}>{navbarTitle}</b>}
|
|
76
|
+
</Link>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import React, {type ReactNode} from 'react';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import Link from '@docusaurus/Link';
|
|
6
|
+
import {useAnchorTargetClassName} from '@docusaurus/theme-common';
|
|
7
|
+
import type {Props} from '@theme/MDXComponents/A';
|
|
8
|
+
|
|
9
|
+
export default function MDXA(props: Props): ReactNode {
|
|
10
|
+
// MDX Footnotes have ids such as <a id="user-content-fn-1-953011" ...>
|
|
11
|
+
const anchorTargetClassName = useAnchorTargetClassName(props.id);
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<Link {...props} className={clsx(anchorTargetClassName, props.className)} />
|
|
15
|
+
);
|
|
16
|
+
}
|