Skip to content

Commit

Permalink
docs: updates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Aug 5, 2024
1 parent bd9cf80 commit 99db855
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 203 deletions.
60 changes: 60 additions & 0 deletions hyperse-pipeline.code-workspace
Original file line number Diff line number Diff line change
@@ -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"
],
},
}
11 changes: 7 additions & 4 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -20,8 +20,11 @@ function HomepageHeader() {
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container text-center">
<img src={Docusaurus} className="max-w-[200px]" alt="MUI color input" />
<h1 className="hero__title">{siteConfig.title}</h1>
<div className="w-[200px] overflow-hidden mx-auto rounded-2xl">
<LogoDark className="w-[200px] hidden dark:block rounded-2xl overflow-hidden" />
<LogoWhite className="w-[200px] dark:hidden rounded-2xl overflow-hidden" />
</div>
<h1 className="hero__title mt-4">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<iframe
className="mt-2 h-[30px] w-[160px]"
Expand Down
3 changes: 3 additions & 0 deletions website/static/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## LOGO Design

https://looka.com/editor/192205238
Binary file removed website/static/img/docusaurus-splash.png
Binary file not shown.
1 change: 1 addition & 0 deletions website/static/img/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 99db855

Please sign in to comment.