diff --git a/hyperse-pipeline.code-workspace b/hyperse-pipeline.code-workspace new file mode 100644 index 0000000..5773abd --- /dev/null +++ b/hyperse-pipeline.code-workspace @@ -0,0 +1,60 @@ +{ + "folders": [ + { + "name": "pipeline", + "path": "./", + }, + { + "name": "website", + "path": "website", + }, + ], + "extensions": { + "recommendations": [ + "dbaeumer.vscode-eslint" + ], + }, + "settings": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "dbaeumer.vscode-eslint", + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit", + "source.organizeImports": "never", + "source.removeUnusedImports": "always", + }, + "files.associations": { + "*.css": "tailwindcss", + }, + "tailwindCSS.experimental.classRegex": [ + ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], + ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] + ], + // Disable vscode formatting for js,jsx,ts,tsx files + // to allow dbaeumer.vscode-eslint to format them + "[javascript]": { + "editor.formatOnSave": true, + }, + "[typescript]": { + "editor.formatOnSave": true, + }, + "[html]": { + // Avoid onSave to format evolve/templates/**/*.html + "editor.formatOnSave": false, + }, + // https://github.com/Microsoft/vscode-eslint#mono-repository-setup + "eslint.workingDirectories": [ + "./", + "./website", + ], + "typescript.tsdk": "root/node_modules/typescript/lib", + "[jsonc]": { + "editor.formatOnSave": false + }, + "[json]": { + "editor.formatOnSave": false + }, + "i18n-ally.localesPaths": [ + "i18n" + ], + }, +} \ No newline at end of file diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx index f7fd35b..20a6420 100644 --- a/website/src/pages/index.tsx +++ b/website/src/pages/index.tsx @@ -6,12 +6,12 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import { CheckIcon } from '@heroicons/react/24/outline'; import { DocumentDuplicateIcon } from '@heroicons/react/24/outline'; import HomepageFeatures from '@site/src/components/HomepageFeatures'; -import Docusaurus from '@site/static/img/docusaurus-splash.png'; +import LogoDark from '@site/static/img/logo-dark.svg'; +import LogoWhite from '@site/static/img/logo-white.svg'; import Layout from '@theme/Layout'; import TabItem from '@theme/TabItem'; import Tabs from '@theme/Tabs'; import styles from './index.module.css'; - function HomepageHeader() { const { siteConfig } = useDocusaurusContext(); const [, copy] = useCopyToClipboard(); @@ -20,8 +20,11 @@ function HomepageHeader() { return (
- MUI color input -

{siteConfig.title}

+
+ + +
+

{siteConfig.title}

{siteConfig.tagline}