diff --git a/docs/index.mdx b/docs/index.mdx index a51c7a2..e69de29 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -1,52 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Home - -import HomepageFeatures from '@site/src/components/HomepageFeatures' - - - -Let's discover **Docusaurus in less than 5 minutes**. - -## Getting Started - -Get started by **creating a new site**. - -Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**. - -### What you'll need - -- [Node.js](https://nodejs.org/en/download/) version 16.14 or above: - - When installing Node.js, you are recommended to check all checkboxes related to dependencies. - -## Generate a new site - -Generate a new Docusaurus site using the **classic template**. - -The classic template will automatically be added to your project after you run the command: - -```bash -npm init docusaurus@latest my-website classic -``` - -You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. - -The command also installs all necessary dependencies you need to run Docusaurus. - -## Start your site - -Run the development server: - -```bash -cd my-website -npm run start -``` - -The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. - -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. - -Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. - diff --git a/docs/intro.mdx b/docs/intro.mdx index 18dac30..bdc328b 100644 --- a/docs/intro.mdx +++ b/docs/intro.mdx @@ -3,9 +3,6 @@ sidebar_position: 1 --- # Tutorial Intro - -import HomepageFeatures from '@site/src/components/HomepageFeatures'; - Let's discover **Docusaurus in less than 5 minutes**. ## Getting Started @@ -17,7 +14,7 @@ Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new ### What you'll need - [Node.js](https://nodejs.org/en/download/) version 16.14 or above: - - When installing Node.js, you are recommended to check all checkboxes related to dependencies. +- When installing Node.js, you are recommended to check all checkboxes related to dependencies. ## Generate a new site diff --git a/docs/mdx-playground.mdx b/docs/mdx-playground.mdx index 8c52fa3..0a68f2b 100644 --- a/docs/mdx-playground.mdx +++ b/docs/mdx-playground.mdx @@ -5,9 +5,10 @@ import {Quote} from '@site/src/components/mdx/Quote'; import {ExternalReferenceCard} from '@site/src/components/mdx/ExternalReferenceCard'; import {TeamList} from '@site/src/components/mdx/TeamList'; - ## What is Codex? @@ -22,10 +23,13 @@ import {TeamList} from '@site/src/components/mdx/TeamList'; ## Features diff --git a/docs/tutorial-basics/_category_.json b/docs/tutorial-basics/_category_.json deleted file mode 100644 index 2e6db55..0000000 --- a/docs/tutorial-basics/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Tutorial - Basics", - "position": 2, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important Docusaurus concepts." - } -} diff --git a/docs/tutorial-basics/congratulations.md b/docs/tutorial-basics/congratulations.md deleted file mode 100644 index 04771a0..0000000 --- a/docs/tutorial-basics/congratulations.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -sidebar_position: 6 ---- - -# Congratulations! - -You have just learned the **basics of Docusaurus** and made some changes to the **initial template**. - -Docusaurus has **much more to offer**! - -Have **5 more minutes**? Take a look at **[versioning](../tutorial-extras/manage-docs-versions.md)** and **[i18n](../tutorial-extras/translate-your-site.md)**. - -Anything **unclear** or **buggy** in this tutorial? [Please report it!](https://github.com/facebook/docusaurus/discussions/4610) - -## What's next? - -- Read the [official documentation](https://docusaurus.io/) -- Modify your site configuration with [`docusaurus.config.js`](https://docusaurus.io/docs/api/docusaurus-config) -- Add navbar and footer items with [`themeConfig`](https://docusaurus.io/docs/api/themes/configuration) -- Add a custom [Design and Layout](https://docusaurus.io/docs/styling-layout) -- Add a [search bar](https://docusaurus.io/docs/search) -- Find inspirations in the [Docusaurus showcase](https://docusaurus.io/showcase) -- Get involved in the [Docusaurus Community](https://docusaurus.io/community/support) diff --git a/docs/tutorial-basics/create-a-blog-post.md b/docs/tutorial-basics/create-a-blog-post.md deleted file mode 100644 index ea472bb..0000000 --- a/docs/tutorial-basics/create-a-blog-post.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -sidebar_position: 3 ---- - -# Create a Blog Post - -Docusaurus creates a **page for each blog post**, but also a **blog index page**, a **tag system**, an **RSS** feed... - -## Create your first Post - -Create a file at `blog/2021-02-28-greetings.md`: - -```md title="blog/2021-02-28-greetings.md" ---- -slug: greetings -title: Greetings! -authors: - - name: Joel Marcey - title: Co-creator of Docusaurus 1 - url: https://github.com/JoelMarcey - image_url: https://github.com/JoelMarcey.png - - name: Sébastien Lorber - title: Docusaurus maintainer - url: https://sebastienlorber.com - image_url: https://github.com/slorber.png -tags: [greetings] ---- - -Congratulations, you have made your first post! - -Feel free to play around and edit this post as much you like. -``` - -A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings). diff --git a/docs/tutorial-basics/create-a-document.md b/docs/tutorial-basics/create-a-document.md deleted file mode 100644 index f6e5115..0000000 --- a/docs/tutorial-basics/create-a-document.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -sidebar_position: 2 ---- - -# Create a Document - -Documents are **groups of pages** connected through: - -- a **sidebar** -- **previous/next navigation** -- **versioning** - -## Create your first Doc - -Create a Markdown file at `docs/hello.md`: - -```md title="docs/hello.md" -# Hello - -This is my **first Docusaurus document**! -``` - -A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello). - -## Configure the Sidebar - -Docusaurus automatically **creates a sidebar** from the `docs` folder. - -Add metadata to customize the sidebar label and position: - -```md title="docs/hello.md" {1-4} ---- -sidebar_label: "Hi!" -sidebar_position: 3 ---- - -# Hello - -This is my **first Docusaurus document**! -``` - -It is also possible to create your sidebar explicitly in `sidebars.js`: - -```js title="sidebars.js" -module.exports = { - tutorialSidebar: [ - "intro", - // highlight-next-line - "hello", - { - type: "category", - label: "Tutorial", - items: ["tutorial-basics/create-a-document"], - }, - ], -}; -``` diff --git a/docs/tutorial-basics/create-a-page.md b/docs/tutorial-basics/create-a-page.md deleted file mode 100644 index a2cb8ed..0000000 --- a/docs/tutorial-basics/create-a-page.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Create a Page - -Add **Markdown or React** files to `src/pages` to create a **standalone page**: - -- `src/pages/index.js` → `localhost:3000/` -- `src/pages/foo.md` → `localhost:3000/foo` -- `src/pages/foo/bar.js` → `localhost:3000/foo/bar` - -## Create your first React Page - -Create a file at `src/pages/my-react-page.js`: - -```jsx title="src/pages/my-react-page.js" -import React from "react"; -import Layout from "@theme/Layout"; - -export default function MyReactPage() { - return ( - -

My React page

-

This is a React page

-
- ); -} -``` - -A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page). - -## Create your first Markdown Page - -Create a file at `src/pages/my-markdown-page.md`: - -```mdx title="src/pages/my-markdown-page.md" -# My Markdown page - -This is a Markdown page -``` - -A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page). diff --git a/docs/tutorial-basics/deploy-your-site.md b/docs/tutorial-basics/deploy-your-site.md deleted file mode 100644 index 1c50ee0..0000000 --- a/docs/tutorial-basics/deploy-your-site.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -sidebar_position: 5 ---- - -# Deploy your site - -Docusaurus is a **static-site-generator** (also called **[Jamstack](https://jamstack.org/)**). - -It builds your site as simple **static HTML, JavaScript and CSS files**. - -## Build your site - -Build your site **for production**: - -```bash -npm run build -``` - -The static files are generated in the `build` folder. - -## Deploy your site - -Test your production build locally: - -```bash -npm run serve -``` - -The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). - -You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). diff --git a/docs/tutorial-basics/markdown-features.mdx b/docs/tutorial-basics/markdown-features.mdx deleted file mode 100644 index f74c527..0000000 --- a/docs/tutorial-basics/markdown-features.mdx +++ /dev/null @@ -1,147 +0,0 @@ ---- -sidebar_position: 4 ---- - -# Markdown Features - -Docusaurus supports **[Markdown](https://daringfireball.net/projects/markdown/syntax)** and a few **additional features**. - -## Front Matter - -Markdown documents have metadata at the top called [Front Matter](https://jekyllrb.com/docs/front-matter/): - -```text title="my-doc.md" -// highlight-start ---- -id: my-doc-id -title: My document title -description: My document description -slug: /my-custom-url ---- -// highlight-end - -## Markdown heading - -Markdown text with [links](./hello.md) -``` - -## Links - -Regular Markdown links are supported, using url paths or relative file paths. - -```md -Let's see how to [Create a page](/create-a-page). -``` - -```md -Let's see how to [Create a page](./create-a-page.md). -``` - -**Result:** Let's see how to [Create a page](./create-a-page.md). - -## Images - -Regular Markdown images are supported. - -You can use absolute paths to reference images in the static directory (`static/img/docusaurus.png`): - -```md -![Docusaurus logo](/img/docusaurus.png) -``` - -![Docusaurus logo](/img/docusaurus.png) - -You can reference images relative to the current file as well, as shown in [the extra guides](../tutorial-extras/manage-docs-versions.md). - -## Code Blocks - -Markdown code blocks are supported with Syntax highlighting. - - ```jsx title="src/components/HelloDocusaurus.js" - function HelloDocusaurus() { - return ( -

Hello, Docusaurus!

- ) - } - ``` - -```jsx title="src/components/HelloDocusaurus.js" -function HelloDocusaurus() { - return

Hello, Docusaurus!

; -} -``` - -## Admonitions - -Docusaurus has a special syntax to create admonitions and callouts: - - :::tip My tip - - Use this awesome feature option - - ::: - - :::danger Take care - - This action is dangerous - - ::: - -:::tip My tip - -Use this awesome feature option - -::: - -:::danger Take care - -This action is dangerous - -::: - -## MDX and React Components - -[MDX](https://mdxjs.com/) can make your documentation more **interactive** and allows using any **React components inside Markdown**: - -```jsx -export const Highlight = ({children, color}) => ( - { - alert(`You clicked the color ${color} with label ${children}`) - }}> - {children} - -); - -This is Docusaurus green ! - -This is Facebook blue ! -``` - -export const Highlight = ({ children, color }) => ( - { - alert(`You clicked the color ${color} with label ${children}`); - }} - > - {children} - -); - -This is Docusaurus green ! - -This is Facebook blue ! diff --git a/docs/tutorial-extras/_category_.json b/docs/tutorial-extras/_category_.json index a8ffcc1..e69de29 100644 --- a/docs/tutorial-extras/_category_.json +++ b/docs/tutorial-extras/_category_.json @@ -1,7 +0,0 @@ -{ - "label": "Tutorial - Extras", - "position": 3, - "link": { - "type": "generated-index" - } -} diff --git a/docs/tutorial-extras/img/docsVersionDropdown.png b/docs/tutorial-extras/img/docsVersionDropdown.png index 97e4164..e69de29 100644 Binary files a/docs/tutorial-extras/img/docsVersionDropdown.png and b/docs/tutorial-extras/img/docsVersionDropdown.png differ diff --git a/docs/tutorial-extras/img/localeDropdown.png b/docs/tutorial-extras/img/localeDropdown.png index e257edc..e69de29 100644 Binary files a/docs/tutorial-extras/img/localeDropdown.png and b/docs/tutorial-extras/img/localeDropdown.png differ diff --git a/docs/tutorial-extras/manage-docs-versions.md b/docs/tutorial-extras/manage-docs-versions.md index 857c0e8..e69de29 100644 --- a/docs/tutorial-extras/manage-docs-versions.md +++ b/docs/tutorial-extras/manage-docs-versions.md @@ -1,55 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Manage Docs Versions - -Docusaurus can manage multiple versions of your docs. - -## Create a docs version - -Release a version 1.0 of your project: - -```bash -npm run docusaurus docs:version 1.0 -``` - -The `docs` folder is copied into `versioned_docs/version-1.0` and `versions.json` is created. - -Your docs now have 2 versions: - -- `1.0` at `http://localhost:3000/docs/` for the version 1.0 docs -- `current` at `http://localhost:3000/docs/next/` for the **upcoming, unreleased docs** - -## Add a Version Dropdown - -To navigate seamlessly across versions, add a version dropdown. - -Modify the `docusaurus.config.js` file: - -```js title="docusaurus.config.js" -module.exports = { - themeConfig: { - navbar: { - items: [ - // highlight-start - { - type: "docsVersionDropdown", - }, - // highlight-end - ], - }, - }, -}; -``` - -The docs version dropdown appears in your navbar: - -![Docs Version Dropdown](./img/docsVersionDropdown.png) - -## Update an existing version - -It is possible to edit versioned docs in their respective folder: - -- `versioned_docs/version-1.0/hello.md` updates `http://localhost:3000/docs/hello` -- `docs/hello.md` updates `http://localhost:3000/docs/next/hello` diff --git a/docs/tutorial-extras/translate-your-site.md b/docs/tutorial-extras/translate-your-site.md index 4bf2851..e69de29 100644 --- a/docs/tutorial-extras/translate-your-site.md +++ b/docs/tutorial-extras/translate-your-site.md @@ -1,92 +0,0 @@ ---- -sidebar_position: 2 ---- - -# Translate your site - - - - - -Let's translate `docs/intro.md` to French. - -## Configure i18n - -Modify `docusaurus.config.js` to add support for the `fr` locale: - -```js title="docusaurus.config.js" -module.exports = { - i18n: { - defaultLocale: "en", - locales: ["en", "fr"] - }, -}; -``` - -## Translate a doc - -Copy the `docs/intro.md` file to the `i18n/fr` folder: - -```bash -mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/ - -cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md -``` - -Translate `i18n/fr/docusaurus-plugin-content-docs/current/intro.md` in French. - -## Start your localized site - -Start your site on the French locale: - -```bash -npm run start -- --locale fr -``` - -Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated. - -:::caution - -In development, you can only use one locale at a same time. - -::: - -## Add a Locale Dropdown - -To navigate seamlessly across languages, add a locale dropdown. - -Modify the `docusaurus.config.js` file: - -```js title="docusaurus.config.js" -module.exports = { - themeConfig: { - navbar: { - items: [ - // highlight-start - { - type: "localeDropdown", - }, - // highlight-end - ], - }, - }, -}; -``` - -The locale dropdown now appears in your navbar: - -![Locale Dropdown](./img/localeDropdown.png) - -## Build your localized site - -Build your site for a specific locale: - -```bash -npm run build -- --locale fr -``` - -Or build your site to include all the locales at once: - -```bash -npm run build -``` diff --git a/docusaurus.config.js b/docusaurus.config.js index 24a3d48..0da1e05 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -6,9 +6,9 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula') /** @type {import('@docusaurus/types').Config} */ const config = { - title: 'My Site', - tagline: 'Dinosaurs are cool', - url: 'https://your-docusaurus-test-site.com', + title: 'Codex', + tagline: 'Codex is building a Decentralized Durability Engine', + url: 'https://codex.storage', baseUrl: '/', onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', @@ -16,8 +16,8 @@ const config = { // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. - organizationName: 'facebook', // Usually your GitHub org/user name. - projectName: 'docusaurus', // Usually your repo name. + organizationName: 'status-im', // Usually your GitHub org/user name. + projectName: 'codex-nim', // Usually your repo name. // Even if you don't use internalization, you can use this field to set useful // metadata like html lang. For example, if your site is Chinese, you may want @@ -61,7 +61,7 @@ const config = { navbar: { title: '', logo: { - alt: 'My Site Logo', + alt: 'Codex', src: 'img/logo.svg', }, items: [ @@ -78,49 +78,28 @@ const config = { ], }, footer: { - style: 'dark', + logo: { + alt: 'Codex', + src: 'img/logo.svg', + href: '/', + width: 22, + }, links: [ - { - title: 'Docs', - items: [ - { - label: 'Tutorial', - to: '/docs/intro', - }, - ], - }, { title: 'Community', items: [ - { - label: 'Stack Overflow', - href: 'https://stackoverflow.com/questions/tagged/docusaurus', - }, { label: 'Discord', - href: 'https://discordapp.com/invite/docusaurus', + href: 'docusaurus', }, { label: 'Twitter', - href: 'https://twitter.com/docusaurus', - }, - ], - }, - { - title: 'More', - items: [ - { - label: 'Blog', - to: '/blog', - }, - { - label: 'GitHub', - href: 'https://github.com/facebook/docusaurus', + href: 'docusaurus', }, ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, + copyright: `Codex, ${new Date().getFullYear()}`, }, prism: { theme: lightCodeTheme, diff --git a/src/components/Button/style.module.scss b/src/components/Button/style.module.scss index bb1f22c..a80194f 100644 --- a/src/components/Button/style.module.scss +++ b/src/components/Button/style.module.scss @@ -1,8 +1,7 @@ -.button { -} - .buttonWithIconContainer { display: flex; - gap: 10px; + gap: 40px; + min-width: 110px; align-content: center; + justify-content: space-between; } diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx deleted file mode 100644 index ee86e91..0000000 --- a/src/components/HomepageFeatures/index.tsx +++ /dev/null @@ -1,70 +0,0 @@ -import React from "react"; -import clsx from "clsx"; -import styles from "./styles.module.css"; - -type FeatureItem = { - title: string; - Svg: React.ComponentType>; - description: JSX.Element; -}; - -const FeatureList: FeatureItem[] = [ - { - title: "Easy to Use", - Svg: require("@site/static/img/undraw_docusaurus_mountain.svg").default, - description: ( - <> - Docusaurus was designed from the ground up to be easily installed and - used to get your website up and running quickly. - - ), - }, - { - title: "Focus on What Matters", - Svg: require("@site/static/img/undraw_docusaurus_tree.svg").default, - description: ( - <> - Docusaurus lets you focus on your docs, and we'll do the chores. Go - ahead and move your docs into the docs directory. - - ), - }, - { - title: "Powered by React", - Svg: require("@site/static/img/undraw_docusaurus_react.svg").default, - description: ( - <> - Extend or customize your website layout by reusing React. Docusaurus can - be extended while reusing the same header and footer. - - ), - }, -]; - -function Feature({ title, Svg, description }: FeatureItem) { - return ( -
-
- -
-
-

{title}

-

{description}

-
-
- ); -} - -export default function HomepageFeatures(): JSX.Element { - return ( -
-
-
- {FeatureList.map((props, idx) => ( - - ))} -
-
-
- ); -} diff --git a/src/components/HomepageFeatures/styles.module.css b/src/components/HomepageFeatures/styles.module.css deleted file mode 100644 index b248eb2..0000000 --- a/src/components/HomepageFeatures/styles.module.css +++ /dev/null @@ -1,11 +0,0 @@ -.features { - display: flex; - align-items: center; - padding: 2rem 0; - width: 100%; -} - -.featureSvg { - height: 200px; - width: 200px; -} diff --git a/src/components/Icon/Icon.tsx b/src/components/Icon/Icon.tsx index 618aa8a..037f17e 100644 --- a/src/components/Icon/Icon.tsx +++ b/src/components/Icon/Icon.tsx @@ -1,18 +1,32 @@ +import React from 'react' import { useColorMode } from '@docusaurus/theme-common' import { clsx } from 'clsx' -import React, { HTMLProps, SVGProps } from 'react' + import styles from './style.module.scss' -type TProps = { - children: JSX.Element +import DotSvg from '@site/static/icons/dot.svg' +import ArrowRCircleSvg from '@site/static/icons/arrow-right-circle.svg' +import ArrowLCircleSvg from '@site/static/icons/arrow-left-circle.svg' +import GithubSvg from '@site/static/icons/github.svg' +import FolderSvg from '@site/static/icons/folder.svg' +import TwitterSvg from '@site/static/icons/twitter.svg' +import DiscordSvg from '@site/static/icons/discord.svg' +import LinkedinSvg from '@site/static/icons/linkedin.svg' +import DiscourseSvg from '@site/static/icons/discourse.svg' +import TelegramSvg from '@site/static/icons/telegram.svg' +import StatusSvg from '@site/static/icons/status.svg' + +type TIconProps = { + size?: 's' | 'm' | 'l' } -type TSvgProps = { +type TProps = { + children?: JSX.Element fill?: string -} +} & TIconProps export const Icon = (props: TProps): JSX.Element => { - const { children } = props + const { children, size = 'm' } = props const { colorMode, setColorMode } = useColorMode() return ( @@ -20,6 +34,7 @@ export const Icon = (props: TProps): JSX.Element => { className={clsx( styles.icon, colorMode === 'dark' ? styles.dark : styles.light, + styles[size], )} > {children} @@ -27,195 +42,74 @@ export const Icon = (props: TProps): JSX.Element => { ) } -export const IconArrowRightCircle = ({ - fill = 'black', -}: TSvgProps): JSX.Element => ( - - - - - +export const IconArrowRightCircle = (props: TIconProps): JSX.Element => ( + + ) -export const IconArrowLeftCircle = ({ - fill = 'black', -}: TSvgProps): JSX.Element => ( +export const IconArrowLeftCircle = (props: TIconProps): JSX.Element => ( - - - - + ) -export const IconFolder = ({ fill = 'black' }: TSvgProps): JSX.Element => ( - - - - - +export const IconFolder = (props: TIconProps): JSX.Element => ( + + ) -export const IconGithub = ({ fill = 'black' }: TSvgProps): JSX.Element => ( - - - - - +export const IconGithub = (props: TIconProps): JSX.Element => ( + + ) -export const IconDiscord = ({ fill = 'black' }: TSvgProps): JSX.Element => ( - - - - - +export const IconDiscord = (props: TIconProps): JSX.Element => ( + + ) -export const IconStatus = ({ fill = 'black' }: TSvgProps): JSX.Element => ( - - - - - +export const IconStatus = (props: TIconProps): JSX.Element => ( + + ) -export const IconTwitter = ({ fill = 'black' }: TSvgProps): JSX.Element => ( - - - - - +export const IconTwitter = (props: TIconProps): JSX.Element => ( + + ) -export const IconTelegram = ({ fill = 'black' }: TSvgProps): JSX.Element => ( - - - - - +export const IconTelegram = (props: TIconProps): JSX.Element => ( + + ) -export const IconDiscourse = ({ fill = 'black' }: TSvgProps): JSX.Element => ( - - - - - +export const IconDiscourse = (props: TIconProps): JSX.Element => ( + + + +) + +export const IconLinkedin = (props: TIconProps): JSX.Element => ( + + + +) + +export const IconDot = (props: TIconProps): JSX.Element => ( + + + +) + +export const IconFolderFilled = (props: TIconProps): JSX.Element => ( + + ) diff --git a/src/components/Icon/SocialmediaLink.tsx b/src/components/Icon/SocialmediaLink.tsx index 7b92ba7..d26aab7 100644 --- a/src/components/Icon/SocialmediaLink.tsx +++ b/src/components/Icon/SocialmediaLink.tsx @@ -7,17 +7,11 @@ import { IconStatus, IconTelegram, } from './Icon' +import { ECommunityProviders } from '@site/src/types/ui.types' type TProps = { handler: string - provider: - | 'discord' - | 'twitter' - | 'linkedin' - | 'status' - | 'github' - | 'discourse' - | 'telegram' + provider: ECommunityProviders } export const SocialMediaItem = (props: TProps): JSX.Element => { @@ -30,7 +24,10 @@ export const SocialMediaItem = (props: TProps): JSX.Element => { ) case 'discord': return ( - + ) diff --git a/src/components/Icon/style.module.scss b/src/components/Icon/style.module.scss index 35a0301..63efbd5 100644 --- a/src/components/Icon/style.module.scss +++ b/src/components/Icon/style.module.scss @@ -1,4 +1,21 @@ .icon { + display: flex; + &.s { + svg { + width: 10px; + } + } + &.m { + svg { + width: 20px; + } + } + &.l { + svg { + width: 40px; + } + } + &.dark { .fill { fill: var(--ifm-color-black); diff --git a/src/components/mdx/ExternalReferenceCard/ExternalReferenceCard.tsx b/src/components/mdx/ExternalReferenceCard/ExternalReferenceCard.tsx index 9dad709..f32b570 100644 --- a/src/components/mdx/ExternalReferenceCard/ExternalReferenceCard.tsx +++ b/src/components/mdx/ExternalReferenceCard/ExternalReferenceCard.tsx @@ -1,7 +1,12 @@ import { clsx } from 'clsx' import React from 'react' import { LinkButtonWithIcon } from '../../Button/LinkButtonWithIcon' -import { IconArrowRightCircle, IconFolder } from '../../Icon' +import { + IconArrowRightCircle, + IconFolder, + IconFolderFilled, + IconGithub, +} from '../../Icon' import styles from './style.module.scss' type TProps = { @@ -17,22 +22,22 @@ export const ExternalReferenceCard = (props: TProps): JSX.Element => { const icon = (() => { switch (referenceType) { case 'github': - return + return case 'pdf': - return + return default: return null } })() return ( -
-
+
+
{icon}
{children}
} linkProps={{ href: linkUrl, target: '_black' }} className={'button--secondary'} > diff --git a/src/components/mdx/ExternalReferenceCard/style.module.scss b/src/components/mdx/ExternalReferenceCard/style.module.scss index eb7e836..0d6aa79 100644 --- a/src/components/mdx/ExternalReferenceCard/style.module.scss +++ b/src/components/mdx/ExternalReferenceCard/style.module.scss @@ -1,12 +1,18 @@ -.container { - background: gray; - border-radius: var(--ifm-global-radius); +.exref { + margin-bottom: var(--ifm-leading); - box-shadow: none; + .exrefContainer { + display: flex; + column-gap: calc(0.8 * var(--ifm-spacing-horizontal)); + align-items: center; - transition: all var(--ifm-transition-fast) ease; - transition-property: border, box-shadow; + > *:last-child { + margin-left: auto; + } - display: flex; - column-gap: 10px; + //TODO this should go as an option for icon component + > *:first-child svg { + opacity: 0.3; + } + } } diff --git a/src/components/mdx/FeatureCard/FeatureCard.tsx b/src/components/mdx/FeatureCard/FeatureCard.tsx index d7c7528..ac8b363 100644 --- a/src/components/mdx/FeatureCard/FeatureCard.tsx +++ b/src/components/mdx/FeatureCard/FeatureCard.tsx @@ -18,10 +18,14 @@ export const FeatureCard = (props: TProps): JSX.Element => { return (
- {index && {ln[index]}} -

{title}

+ {index !== null && ( +
+ {ln[index]} +
+ )} +

{title}

-

{text}

+

{text}

) } diff --git a/src/components/mdx/FeatureCard/style.module.scss b/src/components/mdx/FeatureCard/style.module.scss index 60edf56..fcb42e1 100644 --- a/src/components/mdx/FeatureCard/style.module.scss +++ b/src/components/mdx/FeatureCard/style.module.scss @@ -1,7 +1,5 @@ .cardContainer { - background: var(--ifm-background-color); border-radius: var(--ifm-global-radius); - padding: 0.6rem 1.5rem 0.9rem; --ifm-link-color: var(--ifm-color-emphasis-800); --ifm-link-hover-color: var(--ifm-color-emphasis-700); @@ -10,13 +8,37 @@ transition: all var(--ifm-transition-fast) ease; transition-property: border, box-shadow; + box-shadow: none; + + justify-content: space-between; + &:hover { border-color: var(--ifm-color-primary); } + .cardHeader { + padding: 0; + display: flex; + column-gap: var(--ifm-spacing-horizontal); + align-items: center; + } + + .latinNumber { + background: var(--ifm-color-emphasis-300); + color: var(--ifm-color-gray-600); + width: 40px; + height: 40px; + border-radius: 12px; + display: flex; + align-items: center; + justify-content: center; + } + .cardTitle { } .cardDescription { + color: var(--ifm-color-gray-500); + margin: 0; } } diff --git a/src/components/mdx/FeatureList/style.module.scss b/src/components/mdx/FeatureList/style.module.scss index 228a9ff..1e3dad3 100644 --- a/src/components/mdx/FeatureList/style.module.scss +++ b/src/components/mdx/FeatureList/style.module.scss @@ -3,15 +3,12 @@ display: grid; grid-auto-rows: 200px; grid-template-columns: 1fr 1fr; - grid-column-gap: 10px; + grid-column-gap: calc(0.7 * var(--ifm-global-spacing)); + grid-row-gap: calc(0.6 * var(--ifm-global-spacing)); - &.n_1 { - } - - &.n_2 { - } - - &.n_2 { + &.n_1 > *:nth-child(n + 1), + &.n_3 > *:nth-child(n + 3) { + grid-column: span 2; } } } diff --git a/src/components/mdx/Hero/Hero.tsx b/src/components/mdx/Hero/Hero.tsx index 9f38266..6268b34 100644 --- a/src/components/mdx/Hero/Hero.tsx +++ b/src/components/mdx/Hero/Hero.tsx @@ -2,7 +2,7 @@ import Link from '@docusaurus/Link' import clsx from 'clsx' import React from 'react' import { ButtonWithIcon } from '../../Button/ButtonWithIcon' -import { IconArrowRightCircle } from '../../Icon' +import { IconArrowRightCircle, IconDot } from '../../Icon' import styles from './style.module.scss' type TProps = { @@ -19,21 +19,30 @@ export const Hero = (props: TProps): JSX.Element => { return (
- {label && } -
-

{title}

-

{subtitle}

-
- {linkUrl && linkText && ( - - } - > - {linkText} - - + {label && ( + )} +
+
+

{title}

+

+ {subtitle} +

+
+ {linkUrl && linkText && ( + + } + > + {linkText} + + + )} +
) diff --git a/src/components/mdx/Hero/style.module.scss b/src/components/mdx/Hero/style.module.scss index 2835854..b23adc3 100644 --- a/src/components/mdx/Hero/style.module.scss +++ b/src/components/mdx/Hero/style.module.scss @@ -1,8 +1,31 @@ .Hero { .HeroContainer { + position: relative; + padding: var(--ifm-spacing-vertical) var(--ifm-spacing-horizontal); border-radius: var(--ifm-global-radius); - .heroTitle { + + height: 320px; + display: flex; + align-items: end; + + label { + display: flex; + justify-content: center; + align-items: center; + column-gap: 16px; + position: absolute; + top: 5px; + + > * { + display: inline-flex; + vertical-align: middle; + } } + + .heroTitle { + margin: 0; + } + .heroSubtitle { } } diff --git a/src/components/mdx/Quote/Quote.tsx b/src/components/mdx/Quote/Quote.tsx index 3949ca4..6653682 100644 --- a/src/components/mdx/Quote/Quote.tsx +++ b/src/components/mdx/Quote/Quote.tsx @@ -14,7 +14,7 @@ export const Quote = (props: TProps): JSX.Element => {
-
{children}
+
{children}
) } diff --git a/src/components/mdx/Quote/style.module.scss b/src/components/mdx/Quote/style.module.scss index 6b8fd4f..369ad5d 100644 --- a/src/components/mdx/Quote/style.module.scss +++ b/src/components/mdx/Quote/style.module.scss @@ -1,17 +1,9 @@ .quoteContainer { - background: gray; - border-radius: var(--ifm-global-radius); - - box-shadow: none; - - transition: all var(--ifm-transition-fast) ease; - transition-property: border, box-shadow; - display: flex; column-gap: 10px; .quoteMark { - background: black; + background: var(--ifm-alert-foreground-color); width: 3px; border-radius: 3px; } diff --git a/src/components/mdx/TeamList/TeamList.tsx b/src/components/mdx/TeamList/TeamList.tsx index 2f8e4b4..7640652 100644 --- a/src/components/mdx/TeamList/TeamList.tsx +++ b/src/components/mdx/TeamList/TeamList.tsx @@ -1,23 +1,33 @@ -import React, { useEffect, useState } from 'react' +import React from 'react' import clsx from 'clsx' import styles from './style.module.scss' import { useTeam } from '@site/src/lib/team.utils' import { ELogosTeamNames } from '@site/src/types/team' -import { IconDiscord, IconGithub, IconStatus } from '../../Icon' import { SocialMediaItem } from '../../Icon/SocialmediaLink' +import { ECommunityProviders } from '@site/src/types/ui.types' +import { + globalStore, + selectHiddenSidebar, +} from '@site/src/containers/GlobalStore' type TProps = { children: React.ReactNode } -export const TeamList = ({ children }: TProps): JSX.Element => { +export const TeamList = (props: TProps): JSX.Element => { const team = useTeam('codex' as ELogosTeamNames) + const hiddenSidebar = globalStore.useSelector(selectHiddenSidebar) return (
-
+
{team.map((member, index) => ( -
+
{ title={member.contact.email} />
-
+
-
{member['pref-name']}
-
{member.contact.email}
+
{member['pref-name']}
+ + {member.contact.email} +
-
+
{member.contact.github && ( )} {member.contact.status && ( )} {member.contact.discord && ( )}
diff --git a/src/components/mdx/TeamList/style.module.scss b/src/components/mdx/TeamList/style.module.scss index f0101ef..fdfc09f 100644 --- a/src/components/mdx/TeamList/style.module.scss +++ b/src/components/mdx/TeamList/style.module.scss @@ -3,28 +3,51 @@ display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; - //grid-auto-rows: 600px; + grid-column-gap: calc(0.7 * var(--ifm-global-spacing)); + grid-row-gap: calc(0.6 * var(--ifm-global-spacing)); + + &.withSidebarHide { + grid-template-columns: repeat(3, 1fr); + .memberCard { + grid-template-rows: 320px 60px; + } + } .memberCard { box-shadow: none; display: grid; grid-template-rows: 400px 60px; - grid-gap: 8px; + grid-column-gap: calc(0.7 * var(--ifm-global-spacing)); + grid-row-gap: calc(0.6 * var(--ifm-global-spacing)); .memberCardImage { } .memberCardImage img { object-fit: cover; - //width: 100%; height: 100%; border-radius: 8px; - //background-size: contain; - //background-repeat: no-repeat; } + .memberCardCaption { - background: #efefef; border-radius: 8px; + flex-direction: row; + justify-content: space-between; + gap: 40px; + + h5 { + margin: 0; + } + .memberEmail { + color: var(--ifm-color-gray-500); + } + + .memberSocials { + display: flex; + align-items: center; + opacity: 0.3; + gap: calc(var(--ifm-spacing-horizontal) * 0.5); + } } } } diff --git a/src/css/custom.css b/src/css/custom.css index c41bbbd..0305bee 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -9,184 +9,78 @@ --ifm-color-scheme: light; /* Colors. */ - --ifm-dark-value: 10%; - --ifm-darker-value: 15%; - --ifm-darkest-value: 30%; - --ifm-light-value: 15%; - --ifm-lighter-value: 30%; - --ifm-lightest-value: 50%; - - /* - This seems like a lot, but we want to ensure enough contrast. - Goal is to have a min score of 3 on https://www.myndex.com/APCA/fullmatrix - For fontWeight 400 + score 3, the cell must show a value < 16px (fontsize we use in places like alerts) - See also https://github.com/facebookincubator/infima/issues/55#issuecomment-884023075 - */ - --ifm-contrast-background-value: 90%; - --ifm-contrast-foreground-value: 70%; - /* Using slightly different values for dark mode */ - --ifm-contrast-background-dark-value: 70%; - --ifm-contrast-foreground-dark-value: 90%; - - --ifm-color-primary: #3578e5; - --ifm-color-secondary: #ebedf0; - --ifm-color-success: #00a400; - --ifm-color-info: #54c7ec; - --ifm-color-warning: #ffba00; - --ifm-color-danger: #fa383e; - --ifm-color-primary-dark: rgb(48, 108, 206); - --ifm-color-primary-darker: rgb(45, 102, 195); - --ifm-color-primary-darkest: rgb(37, 84, 160); - --ifm-color-primary-light: rgb(83, 140, 233); - --ifm-color-primary-lighter: rgb(114, 161, 237); - --ifm-color-primary-lightest: rgb(154, 188, 242); - --ifm-color-primary-contrast-background: rgb(235, 242, 252); - --ifm-color-primary-contrast-foreground: rgb(16, 36, 69); - --ifm-color-secondary-dark: rgb(212, 213, 216); - --ifm-color-secondary-darker: rgb(200, 201, 204); - --ifm-color-secondary-darkest: rgb(164, 166, 168); - --ifm-color-secondary-light: rgb(238, 240, 242); - --ifm-color-secondary-lighter: rgb(241, 242, 245); - --ifm-color-secondary-lightest: rgb(245, 246, 248); - --ifm-color-secondary-contrast-background: rgb(253, 253, 254); - --ifm-color-secondary-contrast-foreground: rgb(71, 71, 72); - --ifm-color-success-dark: rgb(0, 148, 0); - --ifm-color-success-darker: rgb(0, 139, 0); - --ifm-color-success-darkest: rgb(0, 115, 0); - --ifm-color-success-light: rgb(38, 178, 38); - --ifm-color-success-lighter: rgb(77, 191, 77); - --ifm-color-success-lightest: rgb(128, 210, 128); - --ifm-color-success-contrast-background: rgb(230, 246, 230); - --ifm-color-success-contrast-foreground: rgb(0, 49, 0); - --ifm-color-info-dark: rgb(76, 179, 212); - --ifm-color-info-darker: rgb(71, 169, 201); - --ifm-color-info-darkest: rgb(59, 139, 165); - --ifm-color-info-light: rgb(110, 207, 239); - --ifm-color-info-lighter: rgb(135, 216, 242); - --ifm-color-info-lightest: rgb(170, 227, 246); - --ifm-color-info-contrast-background: rgb(238, 249, 253); - --ifm-color-info-contrast-foreground: rgb(25, 60, 71); - --ifm-color-warning-dark: rgb(230, 167, 0); - --ifm-color-warning-darker: rgb(217, 158, 0); - --ifm-color-warning-darkest: rgb(179, 130, 0); - --ifm-color-warning-light: rgb(255, 196, 38); - --ifm-color-warning-lighter: rgb(255, 207, 77); - --ifm-color-warning-lightest: rgb(255, 221, 128); - --ifm-color-warning-contrast-background: rgb(255, 248, 230); - --ifm-color-warning-contrast-foreground: rgb(77, 56, 0); - --ifm-color-danger-dark: rgb(225, 50, 56); - --ifm-color-danger-darker: rgb(213, 48, 53); - --ifm-color-danger-darkest: rgb(175, 39, 43); - --ifm-color-danger-light: rgb(251, 86, 91); - --ifm-color-danger-lighter: rgb(251, 116, 120); - --ifm-color-danger-lightest: rgb(253, 156, 159); - --ifm-color-danger-contrast-background: rgb(255, 235, 236); - --ifm-color-danger-contrast-foreground: rgb(75, 17, 19); + /*--ifm-dark-value: 10%;*/ + /*--ifm-darker-value: 15%;*/ + /*--ifm-darkest-value: 30%;*/ + /*--ifm-light-value: 15%;*/ + /*--ifm-lighter-value: 30%;*/ + /*--ifm-lightest-value: 50%;*/ --ifm-color-white: #fff; --ifm-color-black: #000; + --ifm-color-primary: #000; + --ifm-color-secondary: #eeeef0; + --ifm-color-gray-0: var(--ifm-color-white); - --ifm-color-gray-100: #f5f6f7; - --ifm-color-gray-200: #ebedf0; - --ifm-color-gray-300: #dadde1; - --ifm-color-gray-400: #ccd0d5; - --ifm-color-gray-500: #bec3c9; - --ifm-color-gray-600: #8d949e; - --ifm-color-gray-700: #606770; - --ifm-color-gray-800: #444950; - --ifm-color-gray-900: #1c1e21; + --ifm-color-gray-100: #f8f8fa; + --ifm-color-gray-200: #f7f7f8; + --ifm-color-gray-300: #eeeef0; + --ifm-color-gray-400: #c0c0c2; + --ifm-color-gray-500: #828285; + --ifm-color-gray-600: #474747; + --ifm-color-gray-700: #373738; + --ifm-color-gray-800: #1a1a1a; + --ifm-color-gray-900: #151515; --ifm-color-gray-1000: var(--ifm-color-black); + /*Code block*/ + --docusaurus-highlighted-code-line-bg: var(--ifm-color-gray-100); - --ifm-color-emphasis-0: var(--ifm-color-gray-0); - --ifm-color-emphasis-100: var(--ifm-color-gray-100); - --ifm-color-emphasis-200: var(--ifm-color-gray-200); - --ifm-color-emphasis-300: var(--ifm-color-gray-300); - --ifm-color-emphasis-400: var(--ifm-color-gray-400); - --ifm-color-emphasis-500: var(--ifm-color-gray-500); - --ifm-color-emphasis-600: var(--ifm-color-gray-600); - --ifm-color-emphasis-700: var(--ifm-color-gray-700); - --ifm-color-emphasis-800: var(--ifm-color-gray-800); - --ifm-color-emphasis-900: var(--ifm-color-gray-900); - --ifm-color-emphasis-1000: var(--ifm-color-gray-1000); + /*components*/ + --ifm-hero-background-color: var(--ifm-color-black); + --ifm-hero-text-color: var(--ifm-color-white); + --ifm-alert-background-color: var(--ifm-color-gray-100) !important; + --ifm-card-background-color: var(--ifm-color-gray-100) !important; + --ifm-alert-foreground-color: var(--ifm-color-gray-700); - /* Base. */ - --ifm-color-content: var(--ifm-color-emphasis-900); - --ifm-color-content-inverse: var(--ifm-color-emphasis-0); - --ifm-color-content-secondary: #525860; - - --ifm-background-color: transparent; /* Body's background. */ - --ifm-background-surface-color: var(--ifm-color-content-inverse); + /*spacing and details*/ --ifm-global-border-width: 1px; - --ifm-global-radius: 0.8rem; + --ifm-global-radius: 0.6rem; --ifm-hover-overlay: rgba(0, 0, 0, 0.05); /* Typography. */ - --ifm-font-color-base: var(--ifm-color-content); - --ifm-font-color-base-inverse: var(--ifm-color-content-inverse); - --ifm-font-color-secondary: var(--ifm-color-content-secondary); - --ifm-font-family-base: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, - Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, 'Segoe UI', Helvetica, - Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; + --ifm-font-family-base: system-ui, -apple-system, Helvetica, Arial, Segoe UI, + sans-serif, BlinkMacSystemFont, 'Segoe UI', sans-serif, 'Apple Color Emoji', + 'Segoe UI Emoji', 'Segoe UI Symbol'; --ifm-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; + --lgs-font-family-secondary: Georgia, 'Times New Roman', serif; + --ifm-font-size-base: 100%; + --ifm-line-height-base: 1.625; - --ifm-font-weight-light: 300; + --ifm-font-size-secondary: 100%; + --ifm-line-height-secondary: 1.5; + + --ifm-font-weight-light: 400; --ifm-font-weight-normal: 400; - --ifm-font-weight-semibold: 500; - --ifm-font-weight-bold: 700; - + --ifm-font-weight-semibold: 400; + --ifm-font-weight-bold: 400; --ifm-font-weight-base: var(--ifm-font-weight-normal); - --ifm-line-height-base: 1.65; + + --ifm-h1-font-size: 4rem; + --ifm-h2-font-size: 3.5rem; + --ifm-h3-font-size: 1.25rem; + --ifm-h4-font-size: 1.15rem; + --ifm-h5-font-size: 1rem; + --ifm-h6-font-size: 0.85rem; /* Spacing. */ - --ifm-global-spacing: 1rem; + --ifm-global-spacing: 0.67rem; --ifm-spacing-vertical: var(--ifm-global-spacing); - --ifm-spacing-horizontal: var(--ifm-global-spacing); + --ifm-spacing-horizontal: 0.75rem; - /* Transitions. */ - --ifm-transition-fast: 200ms; - --ifm-transition-slow: 400ms; - --ifm-transition-timing-default: cubic-bezier(0.08, 0.52, 0.52, 1); - - /* Shadows. */ - --ifm-global-shadow-lw: 0 1px 2px 0 rgba(0, 0, 0, 0.1); - --ifm-global-shadow-md: 0 5px 40px rgba(0, 0, 0, 0.2); - --ifm-global-shadow-tl: 0 12px 28px 0 rgba(0, 0, 0, 0.2), - 0 2px 4px 0 rgba(0, 0, 0, 0.1); - - /* Z-index. */ - --ifm-z-index-dropdown: 100; - --ifm-z-index-fixed: 200; - --ifm-z-index-overlay: 400; - --ifm-container-width: 1140px; - --ifm-container-width-xl: 1320px; - --ifm-code-background: rgb(246, 247, 248); - --ifm-code-border-radius: var(--ifm-global-radius); - --ifm-code-font-size: 90%; - --ifm-code-padding-horizontal: 0.1rem; - --ifm-code-padding-vertical: 0.1rem; - - --ifm-pre-background: var(--ifm-code-background); - --ifm-pre-border-radius: var(--ifm-code-border-radius); - --ifm-pre-color: inherit; - --ifm-pre-line-height: 1.45; - --ifm-pre-padding: 1rem; - --ifm-heading-color: inherit; - --ifm-heading-margin-top: 0; - --ifm-heading-margin-bottom: var(--ifm-spacing-vertical); - --ifm-heading-font-family: var(--ifm-font-family-base); - --ifm-heading-font-weight: var(--ifm-font-weight-bold); - --ifm-heading-line-height: 1.25; - - --ifm-h1-font-size: 2rem; - --ifm-h2-font-size: 1.5rem; - --ifm-h3-font-size: 1.25rem; - --ifm-h4-font-size: 1rem; - --ifm-h5-font-size: 0.875rem; - --ifm-h6-font-size: 0.85rem; --ifm-image-alignment-padding: 1.25rem; /* Leading is the distance between two baselines */ /* TODO: add appropriate mobile leading */ @@ -196,68 +90,37 @@ --ifm-list-margin: 1rem; --ifm-list-item-margin: 0.25rem; --ifm-list-paragraph-margin: 1rem; - --ifm-table-cell-padding: 0.75rem; - --ifm-table-background: transparent; - --ifm-table-stripe-background: rgba(0, 0, 0, 0.03); - - --ifm-table-border-width: 1px; - --ifm-table-border-color: var(--ifm-color-emphasis-300); - - --ifm-table-head-background: inherit; - --ifm-table-head-color: inherit; - --ifm-table-head-font-weight: var(--ifm-font-weight-bold); - - --ifm-table-cell-color: inherit; /* Links. */ - --ifm-link-color: var(--ifm-color-primary); --ifm-link-decoration: none; - --ifm-link-hover-color: var(--ifm-link-color); - --ifm-link-hover-decoration: underline; /* Paragraphs. */ --ifm-paragraph-margin-bottom: var(--ifm-leading); /* Blockquotes. */ - --ifm-blockquote-font-size: var(--ifm-font-size-base); - --ifm-blockquote-border-left-width: 2px; - --ifm-blockquote-padding-horizontal: var(--ifm-spacing-horizontal); - --ifm-blockquote-padding-vertical: 0; + --ifm-blockquote-border-left-width: 3px; --ifm-blockquote-shadow: none; - --ifm-blockquote-color: var(--ifm-color-emphasis-800); - --ifm-blockquote-border-color: var(--ifm-color-emphasis-300); /* Horizontal Rules. */ - --ifm-hr-background-color: var(--ifm-color-emphasis-500); --ifm-hr-height: 1px; --ifm-hr-margin-vertical: 1.5rem; --ifm-scrollbar-size: 7px; - --ifm-scrollbar-track-background-color: #f1f1f1; - --ifm-scrollbar-thumb-background-color: #c0c0c0; - --ifm-scrollbar-thumb-hover-background-color: #a7a7a7; - --ifm-alert-background-color: inherit; /* Set a default which will be overridden later. */ - --ifm-alert-border-color: inherit; /* Set a default which will be overridden later. */ + --ifm-alert-border-radius: var(--ifm-global-radius); --ifm-alert-border-width: 0px; /* For users that want to easily add a border */ --ifm-alert-border-left-width: 5px; - --ifm-alert-color: var(--ifm-font-color-base); --ifm-alert-padding-horizontal: var(--ifm-spacing-horizontal); --ifm-alert-padding-vertical: var(--ifm-spacing-vertical); --ifm-alert-shadow: var(--ifm-global-shadow-lw); --ifm-avatar-intro-margin: 1rem; --ifm-avatar-intro-alignment: inherit; --ifm-avatar-photo-size: 3rem; - --ifm-badge-background-color: inherit; /* Set a default which will be overridden later. */ - --ifm-badge-border-color: inherit; /* Set a default which will be overridden later. */ --ifm-badge-border-radius: var(--ifm-global-radius); --ifm-badge-border-width: var(--ifm-global-border-width); - --ifm-badge-color: var(--ifm-color-white); --ifm-badge-padding-horizontal: calc(var(--ifm-spacing-horizontal) * 0.5); --ifm-badge-padding-vertical: calc(var(--ifm-spacing-vertical) * 0.25); --ifm-breadcrumb-border-radius: 1.5rem; --ifm-breadcrumb-spacing: 0.5rem; - --ifm-breadcrumb-color-active: var(--ifm-color-primary); - --ifm-breadcrumb-item-background-active: var(--ifm-hover-overlay); --ifm-breadcrumb-padding-horizontal: 0.8rem; --ifm-breadcrumb-padding-vertical: 0.4rem; --ifm-breadcrumb-size-multiplier: 1; @@ -265,82 +128,46 @@ --ifm-breadcrumb-separator-filter: none; --ifm-breadcrumb-separator-size: 0.5rem; --ifm-breadcrumb-separator-size-multiplier: 1.25; - --ifm-button-background-color: inherit; - --ifm-button-border-color: var(--ifm-button-background-color); - --ifm-button-border-width: var(--ifm-global-border-width); - --ifm-button-color: var(--ifm-font-color-base-inverse); - --ifm-button-font-weight: var(--ifm-font-weight-bold); - --ifm-button-padding-horizontal: 1.5rem; - --ifm-button-padding-vertical: 0.375rem; + + --ifm-button-padding-horizontal: var(--ifm-spacing-horizontal); + --ifm-button-padding-vertical: 0.4rem; + --ifm-button-size-multiplier: 1; --ifm-button-transition-duration: var(--ifm-transition-fast); --ifm-button-border-radius: calc( var(--ifm-global-radius) * var(--ifm-button-size-multiplier) ); --ifm-button-group-spacing: 2px; - --ifm-card-background-color: var(--ifm-background-surface-color); - --ifm-card-border-radius: calc(var(--ifm-global-radius) * 2); - --ifm-card-horizontal-spacing: var(--ifm-global-spacing); - --ifm-card-vertical-spacing: var(--ifm-global-spacing); - --ifm-toc-border-color: var(--ifm-color-emphasis-300); - --ifm-toc-link-color: var(--ifm-color-content-secondary); - --ifm-toc-padding-vertical: 0.5rem; - --ifm-toc-padding-horizontal: 0.5rem; - --ifm-dropdown-background-color: var(--ifm-background-surface-color); - --ifm-dropdown-font-weight: var(--ifm-font-weight-semibold); - --ifm-dropdown-link-color: var(--ifm-font-color-base); - --ifm-dropdown-hover-background-color: var(--ifm-hover-overlay); - --ifm-footer-background-color: var(--ifm-color-emphasis-100); - --ifm-footer-color: inherit; - --ifm-footer-link-color: var(--ifm-color-emphasis-700); - --ifm-footer-link-hover-color: var(--ifm-color-primary); - --ifm-footer-link-horizontal-spacing: 0.5rem; - --ifm-footer-padding-horizontal: calc(var(--ifm-spacing-horizontal) * 2); + + --ifm-card-border-radius: var(--ifm-global-radius); + --ifm-card-horizontal-spacing: var(--ifm-spacing-horizontal); + --ifm-card-vertical-spacing: var(--ifm-spacing-vertical); + + --ifm-footer-link-horizontal-spacing: 0; + --ifm-footer-padding-horizontal: 0; --ifm-footer-padding-vertical: calc(var(--ifm-spacing-vertical) * 2); - --ifm-footer-title-color: inherit; - --ifm-footer-logo-max-width: min(30rem, 90vw); + --ifm-footer-background-color: transparent; - --ifm-hero-background-color: var(--ifm-color-black); - --ifm-hero-text-color: var(--ifm-color-white); - - --ifm-menu-color: var(--ifm-color-emphasis-700); - --ifm-menu-color-active: var(--ifm-color-primary); - --ifm-menu-color-background-active: var(--ifm-hover-overlay); - --ifm-menu-color-background-hover: var(--ifm-hover-overlay); --ifm-menu-link-padding-horizontal: 0.75rem; --ifm-menu-link-padding-vertical: 0.375rem; --ifm-menu-link-sublist-icon: url('data:image/svg+xml;utf8,'); --ifm-menu-link-sublist-icon-filter: none; - --ifm-navbar-background-color: var(--ifm-background-surface-color); --ifm-navbar-height: 3.75rem; --ifm-navbar-item-padding-horizontal: 0.75rem; --ifm-navbar-item-padding-vertical: 0.25rem; - --ifm-navbar-link-color: var(--ifm-font-color-base); - --ifm-navbar-link-hover-color: var(--ifm-color-primary); - --ifm-navbar-link-active-color: var(--ifm-link-color); --ifm-navbar-padding-horizontal: var(--ifm-spacing-horizontal); --ifm-navbar-padding-vertical: calc(var(--ifm-spacing-vertical) * 0.5); --ifm-navbar-shadow: var(--ifm-global-shadow-lw); - --ifm-navbar-search-input-background-color: var(--ifm-color-emphasis-200); - --ifm-navbar-search-input-color: var(--ifm-color-emphasis-800); - --ifm-navbar-search-input-placeholder-color: var(--ifm-color-emphasis-500); --ifm-navbar-search-input-icon: url('data:image/svg+xml;utf8,'); --ifm-navbar-sidebar-width: 83vw; --ifm-pagination-border-radius: var(--ifm-global-radius); - --ifm-pagination-color-active: var(--ifm-color-primary); --ifm-pagination-font-size: 1rem; --ifm-pagination-item-active-background: var(--ifm-hover-overlay); --ifm-pagination-page-spacing: 0.2em; --ifm-pagination-padding-horizontal: calc(var(--ifm-spacing-horizontal) * 1); --ifm-pagination-padding-vertical: calc(var(--ifm-spacing-vertical) * 0.25); --ifm-pagination-nav-border-radius: var(--ifm-global-radius); - --ifm-pagination-nav-color-hover: var(--ifm-color-primary); - --ifm-pills-color-active: var(--ifm-color-primary); - --ifm-pills-color-background-active: var(--ifm-hover-overlay); --ifm-pills-spacing: 0.125rem; - --ifm-tabs-color: var(--ifm-font-color-secondary); - --ifm-tabs-color-active: var(--ifm-color-primary); - --ifm-tabs-color-active-border: var(--ifm-tabs-color-active); --ifm-tabs-padding-horizontal: 1rem; --ifm-tabs-padding-vertical: 1rem; } @@ -359,3 +186,52 @@ --ifm-navbar-item-padding-vertical: 8px; --ifm-navbar-item-padding-horizontal: 12px; } + +.card, +.alert, +.theme-code-block { + box-shadow: none !important; +} + +.sans { + font-family: var(--lgs-font-family-secondary); + font-size: var(--ifm-font-size-secondary); + line-height: var(--ifm-line-height-secondary); +} + +.sub1 { + font-size: var(--ifm-h1-font-size); +} +.sub2 { + font-size: var(--ifm-h2-font-size); +} +.sub3 { + font-size: var(--ifm-h3-font-size); +} +.sub4 { + font-size: var(--ifm-h4-font-size); +} +.sub5 { + font-size: var(--ifm-h5-font-size); +} +.sub6 { + font-size: var(--ifm-h6-font-size); +} + +.markdown a { + text-decoration: underline; + text-decoration-color: var(--ifm-color-gray-300); + text-underline-offset: 0.3rem; +} + +.card { + padding: var(--ifm-spacing-vertical) var(--ifm-spacing-horizontal); +} + +small { + font-size: var(--ifm-h6-font-size); +} + +.footer__logo { + margin: 0 !important; +} diff --git a/src/theme/DocPage/Layout/Sidebar/index.tsx b/src/theme/DocPage/Layout/Sidebar/index.tsx new file mode 100644 index 0000000..6d27035 --- /dev/null +++ b/src/theme/DocPage/Layout/Sidebar/index.tsx @@ -0,0 +1,54 @@ +import { useLocation } from '@docusaurus/router' +import { ThemeClassNames } from '@docusaurus/theme-common' +import { useDocsSidebar } from '@docusaurus/theme-common/internal' +import { + globalStore, + selectHiddenSidebar, +} from '@site/src/containers/GlobalStore' +import type { Props } from '@theme/DocPage/Layout/Sidebar' +import DocSidebar from '@theme/DocSidebar' +import clsx from 'clsx' +import React, { ReactNode } from 'react' +import styles from './styles.module.css' + +// Reset sidebar state when sidebar changes +// Use React key to unmount/remount the children +// See https://github.com/facebook/docusaurus/issues/3414 +function ResetOnSidebarChange({ children }: { children: ReactNode }) { + const sidebar = useDocsSidebar() + return ( + + {children} + + ) +} + +export default function DocPageLayoutSidebar({ sidebar }: Props): JSX.Element { + const { pathname } = useLocation() + const dispatch = globalStore.useDispatch() + const hiddenSidebar = globalStore.useSelector(selectHiddenSidebar) + + return ( + + ) +} diff --git a/src/theme/DocPage/Layout/Sidebar/styles.module.css b/src/theme/DocPage/Layout/Sidebar/styles.module.css new file mode 100644 index 0000000..982c397 --- /dev/null +++ b/src/theme/DocPage/Layout/Sidebar/styles.module.css @@ -0,0 +1,24 @@ +:root { + --doc-sidebar-width: 300px; + --doc-sidebar-hidden-width: 30px; +} + +.docSidebarContainer { + display: none; +} + +@media (min-width: 997px) { + .docSidebarContainer { + display: block; + width: var(--doc-sidebar-width); + margin-top: calc(-1 * var(--ifm-navbar-height)); + will-change: width; + transition: width var(--ifm-transition-fast) ease; + clip-path: inset(0); + } + + .docSidebarContainerHidden { + width: var(--doc-sidebar-hidden-width); + cursor: pointer; + } +} diff --git a/src/theme/DocPage/Layout/styles.module.scss b/src/theme/DocPage/Layout/styles.module.scss index 7a038e7..3a78607 100644 --- a/src/theme/DocPage/Layout/styles.module.scss +++ b/src/theme/DocPage/Layout/styles.module.scss @@ -11,6 +11,10 @@ & > aside { max-width: var(--doc-sidebar-max-width); + + & > div { + width: 100%; + } } } diff --git a/src/theme/DocSidebar/Desktop/index.tsx b/src/theme/DocSidebar/Desktop/index.tsx new file mode 100644 index 0000000..15c0da2 --- /dev/null +++ b/src/theme/DocSidebar/Desktop/index.tsx @@ -0,0 +1,29 @@ +import { useThemeConfig } from '@docusaurus/theme-common' +import type { Props } from '@theme/DocSidebar/Desktop' +import Content from '@theme/DocSidebar/Desktop/Content' +import Logo from '@theme/Logo' +import clsx from 'clsx' +import React from 'react' +import styles from './styles.module.css' + +function DocSidebarDesktop({ path, sidebar, onCollapse, isHidden }: Props) { + const { + navbar: { hideOnScroll }, + docs: {}, + } = useThemeConfig() + + return ( +
+ {hideOnScroll && } + +
+ ) +} + +export default React.memo(DocSidebarDesktop) diff --git a/src/theme/DocSidebar/Desktop/styles.module.css b/src/theme/DocSidebar/Desktop/styles.module.css new file mode 100644 index 0000000..dc68288 --- /dev/null +++ b/src/theme/DocSidebar/Desktop/styles.module.css @@ -0,0 +1,43 @@ +@media (min-width: 997px) { + .sidebar { + display: flex; + flex-direction: column; + max-height: 100vh; + height: 100%; + position: sticky; + top: 0; + padding-top: var(--ifm-navbar-height); + width: var(--doc-sidebar-width); + transition: opacity 50ms ease; + } + + .sidebarWithHideableNavbar { + padding-top: 0; + } + + .sidebarHidden { + opacity: 0; + height: 0; + overflow: hidden; + visibility: hidden; + } + + .sidebarLogo { + display: flex !important; + align-items: center; + margin: 0 var(--ifm-navbar-padding-horizontal); + min-height: var(--ifm-navbar-height); + max-height: var(--ifm-navbar-height); + color: inherit !important; + text-decoration: none !important; + } + + .sidebarLogo img { + margin-right: 0.5rem; + height: 2rem; + } +} + +.sidebarLogo { + display: none; +} diff --git a/src/theme/Footer/Layout/index.tsx b/src/theme/Footer/Layout/index.tsx new file mode 100644 index 0000000..6ea2ba9 --- /dev/null +++ b/src/theme/Footer/Layout/index.tsx @@ -0,0 +1,66 @@ +import React from 'react' +import clsx from 'clsx' +import type { Props } from '@theme/Footer/Layout' + +import styles from './style.module.scss' +import { useThemeConfig } from '@docusaurus/theme-common' +import { SocialMediaItem } from '@site/src/components/Icon/SocialmediaLink' +import { + globalStore, + selectHiddenSidebar, +} from '@site/src/containers/GlobalStore' +import { FooterLinkItem } from '@docusaurus/theme-common/src/utils/useThemeConfig' +import { ECommunityProviders } from '@site/src/types/ui.types' + +export default function FooterLayout(props: Props): JSX.Element { + const { logo, copyright } = props + const { + footer: { links = [] }, + } = useThemeConfig() + const hiddenSidebar = globalStore.useSelector(selectHiddenSidebar) + + //TODO why? + //ts-ignore + const communityLinks = (links as FooterLinkItem[]) + .filter((l) => l && l.title === 'Community') + .flatMap((l) => l.items) + + return ( +
+
+
+
+ {(logo || copyright) && ( +
+ {logo &&
{logo}
} + {copyright} +
+ )} +
+
+ {communityLinks.map( + (link: FooterLinkItem, i) => + link.href && ( + + ), + )} +
+
+
+
+
+
+ ) +} diff --git a/src/theme/Footer/Layout/style.module.scss b/src/theme/Footer/Layout/style.module.scss new file mode 100644 index 0000000..33a4b42 --- /dev/null +++ b/src/theme/Footer/Layout/style.module.scss @@ -0,0 +1,59 @@ +.footer { + display: flex; + + > div { + width: calc(100% - calc(2 * var(--ifm-spacing-horizontal))); + } + + .footerContentWrapper { + opacity: 0.3; + margin: 0 !important; + padding: 0 var(--ifm-spacing-horizontal); + --footer-left: calc( + min(var(--doc-sidebar-width), var(--doc-sidebar-max-width)) + + calc(1 * var(--ifm-spacing-horizontal)) + ); + transform: translateX(var(--footer-left)); + + will-change: transform; + transition: transform var(--ifm-transition-fast) ease, + flex var(--ifm-transition-fast) ease; + + &.withSidebarHide { + --footer-left: var(--ifm-spacing-horizontal); + } + + .footerContent { + display: flex; + align-items: center; + flex-direction: row; + justify-content: space-between; + flex-grow: 1; + + .communityLinks, + .lockup { + display: flex; + align-items: center; + gap: 8px; + } + + .lockup { + display: flex; + align-items: center; + } + + .footerLogoWrapper { + a { + opacity: 1 !important; + display: flex; + } + } + } + } +} + +@media (min-width: 997px) { + .footerContentWrapper { + //max-width: 75% !important; + } +} diff --git a/src/theme/Navbar/Content/index.tsx b/src/theme/Navbar/Content/index.tsx index 866ba9f..a381d8b 100644 --- a/src/theme/Navbar/Content/index.tsx +++ b/src/theme/Navbar/Content/index.tsx @@ -31,31 +31,47 @@ function NavbarItems({ items }: { items: NavbarItemConfig[] }): JSX.Element { ) } +const SidebarToggleButton: React.FC<{ + className: string + onToggle: () => void + shown: boolean +}> = ({ className, onToggle, shown }) => { + return ( + + ) +} + export default function NavbarContent(): JSX.Element { - const mobileSidebar = useNavbarMobileSidebar() - const items = useNavbarItems() - const dispatch = globalStore.useDispatch() - const hiddenDesktopSidebar = globalStore.useSelector(selectHiddenSidebar) - const localeDropdown = items.find((item) => item.type === 'localeDropdown') const links = items.filter( (item) => item.type === 'doc' || !!(item as any).to, ) + const mobileSidebar = useNavbarMobileSidebar() + + const dispatch = globalStore.useDispatch() + const hiddenDesktopSidebar = globalStore.useSelector(selectHiddenSidebar) + return (
- + +
diff --git a/src/theme/Navbar/Content/styles.module.scss b/src/theme/Navbar/Content/styles.module.scss index d3e3af2..9e32a17 100644 --- a/src/theme/Navbar/Content/styles.module.scss +++ b/src/theme/Navbar/Content/styles.module.scss @@ -148,3 +148,15 @@ Hide color mode toggle in small viewports display: none; } } + +@include utils.responsive('lg', 'up') { + .sidebarButton.mobile { + display: none; + } +} + +@include utils.responsive('lg', 'down') { + .sidebarButton.desktop { + display: none; + } +} diff --git a/src/theme/Navbar/index.scss b/src/theme/Navbar/index.scss index 2a282f6..cd1c7d7 100644 --- a/src/theme/Navbar/index.scss +++ b/src/theme/Navbar/index.scss @@ -1,9 +1,14 @@ +.navbar-sidebar__brand { + --ifm-navbar-padding-horizontal: 1rem; +} + .navbar { --ifm-navbar-height: 3.875rem; - --ifm-navbar-background-color: none; --ifm-navbar-shadow: none; --ifm-navbar-padding-horizontal: 0px; - --ifm-navbar-padding-vertical: 8px; + --ifm-navbar-padding-vertical: 0.5rem; + + background: none; } :root { diff --git a/src/types/ui.types.ts b/src/types/ui.types.ts new file mode 100644 index 0000000..ea1b66b --- /dev/null +++ b/src/types/ui.types.ts @@ -0,0 +1,9 @@ +export enum ECommunityProviders { + 'discord' = 'discord', + 'twitter' = 'twitter', + 'linkedin' = 'linkedin', + 'status' = 'status', + 'github' = 'github', + 'discourse' = 'discourse', + 'telegram' = 'telegram', +} diff --git a/static/icons/arrow-left-circle.svg b/static/icons/arrow-left-circle.svg new file mode 100644 index 0000000..7aa2614 --- /dev/null +++ b/static/icons/arrow-left-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/arrow-right-circle.svg b/static/icons/arrow-right-circle.svg new file mode 100644 index 0000000..3746eed --- /dev/null +++ b/static/icons/arrow-right-circle.svg @@ -0,0 +1,4 @@ + + + + diff --git a/static/icons/cmd.svg b/static/icons/cmd.svg new file mode 100644 index 0000000..f9484de --- /dev/null +++ b/static/icons/cmd.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/dashicons_share.svg b/static/icons/dashicons_share.svg new file mode 100644 index 0000000..6a2c080 --- /dev/null +++ b/static/icons/dashicons_share.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/discord.svg b/static/icons/discord.svg new file mode 100644 index 0000000..9da6ee0 --- /dev/null +++ b/static/icons/discord.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/static/icons/discourse.svg b/static/icons/discourse.svg new file mode 100644 index 0000000..af01707 --- /dev/null +++ b/static/icons/discourse.svg @@ -0,0 +1 @@ +Discourse \ No newline at end of file diff --git a/static/icons/dot.svg b/static/icons/dot.svg new file mode 100644 index 0000000..2db710b --- /dev/null +++ b/static/icons/dot.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/drop-down-1.svg b/static/icons/drop-down-1.svg new file mode 100644 index 0000000..2cbf215 --- /dev/null +++ b/static/icons/drop-down-1.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/drop-down.svg b/static/icons/drop-down.svg new file mode 100644 index 0000000..4675fcf --- /dev/null +++ b/static/icons/drop-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/esc.svg b/static/icons/esc.svg new file mode 100644 index 0000000..34ab5a0 --- /dev/null +++ b/static/icons/esc.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/static/icons/file.svg b/static/icons/file.svg new file mode 100644 index 0000000..d279573 --- /dev/null +++ b/static/icons/file.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/folder.svg b/static/icons/folder.svg new file mode 100644 index 0000000..a852a10 --- /dev/null +++ b/static/icons/folder.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/github.svg b/static/icons/github.svg new file mode 100644 index 0000000..69bd201 --- /dev/null +++ b/static/icons/github.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/home.svg b/static/icons/home.svg new file mode 100644 index 0000000..04ace85 --- /dev/null +++ b/static/icons/home.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/static/icons/k.svg b/static/icons/k.svg new file mode 100644 index 0000000..d246c59 --- /dev/null +++ b/static/icons/k.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/light.svg b/static/icons/light.svg new file mode 100644 index 0000000..bde0549 --- /dev/null +++ b/static/icons/light.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/linkedin.svg b/static/icons/linkedin.svg new file mode 100644 index 0000000..1d64065 --- /dev/null +++ b/static/icons/linkedin.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/status.svg b/static/icons/status.svg new file mode 100644 index 0000000..831e5d1 --- /dev/null +++ b/static/icons/status.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/telegram.svg b/static/icons/telegram.svg new file mode 100644 index 0000000..5227483 --- /dev/null +++ b/static/icons/telegram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/icons/twitter.svg b/static/icons/twitter.svg new file mode 100644 index 0000000..9f2b66e --- /dev/null +++ b/static/icons/twitter.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/icons/youtube.svg b/static/icons/youtube.svg new file mode 100644 index 0000000..79dfc90 --- /dev/null +++ b/static/icons/youtube.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/img/docusaurus.png b/static/img/docusaurus.png deleted file mode 100644 index f458149..0000000 Binary files a/static/img/docusaurus.png and /dev/null differ diff --git a/static/img/undraw_docusaurus_mountain.svg b/static/img/undraw_docusaurus_mountain.svg deleted file mode 100644 index af961c4..0000000 --- a/static/img/undraw_docusaurus_mountain.svg +++ /dev/null @@ -1,171 +0,0 @@ - - Easy to Use - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/img/undraw_docusaurus_react.svg b/static/img/undraw_docusaurus_react.svg deleted file mode 100644 index 94b5cf0..0000000 --- a/static/img/undraw_docusaurus_react.svg +++ /dev/null @@ -1,170 +0,0 @@ - - Powered by React - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/img/undraw_docusaurus_tree.svg b/static/img/undraw_docusaurus_tree.svg deleted file mode 100644 index d9161d3..0000000 --- a/static/img/undraw_docusaurus_tree.svg +++ /dev/null @@ -1,40 +0,0 @@ - - Focus on What Matters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -