Skip to content

Commit

Permalink
docs(landing): redesign landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqcode committed Nov 6, 2024
1 parent c2b9afa commit c341323
Show file tree
Hide file tree
Showing 90 changed files with 2,315 additions and 467 deletions.
3 changes: 2 additions & 1 deletion docs/landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"react-dom": "^18.3.1",
"react-i18next": "^15.0.3",
"react-icons": "5.3.0",
"usehooks-ts": "^3.1.0"
"usehooks-ts": "^3.1.0",
"vanilla-lazyload": "^19.1.3"
}
}
Binary file added docs/landing/public/images/avatar-1.webp
Binary file not shown.
Binary file added docs/landing/public/images/avatar-2.webp
Binary file not shown.
Binary file added docs/landing/public/images/avatar-3.webp
Binary file not shown.
Binary file added docs/landing/public/images/docker-folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/landing/public/images/github-repo-page.webp
Binary file not shown.
Binary file added docs/landing/public/images/lighthouse.webp
Binary file not shown.
Binary file not shown.
Binary file added docs/landing/public/images/plugins-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/landing/public/images/screenshots/1.webp
Binary file not shown.
Binary file added docs/landing/public/images/screenshots/2.webp
Binary file not shown.
Binary file added docs/landing/public/images/screenshots/3.webp
Binary file not shown.
Binary file added docs/landing/public/images/screenshots/4.webp
Binary file not shown.
Binary file added docs/landing/public/images/screenshots/5.webp
Binary file not shown.
Binary file added docs/landing/public/images/screenshots/6.webp
Binary file not shown.
Binary file added docs/landing/public/images/screenshots/7.webp
Binary file not shown.
Binary file added docs/landing/public/images/screenshots/8.webp
Binary file not shown.
11 changes: 10 additions & 1 deletion docs/landing/src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@
--color-bg: #fff;
--color-bg-transparent: rgba(255, 255, 255, 0.9);
--color-bg-grey: #f6f8fa;
--color-bg-grey-deep: #f2f2f5;
--color-bg-blue: #e5effe;
--color-border: #e1e4ec;
--color-border-light: #e4e4e4;
}

html,
body {
background-color: var(--color-bg);
overflow-x: hidden;
}

body {
padding-top: 70px;
}

:host,
Expand Down Expand Up @@ -74,3 +79,7 @@ a {
opacity: 1;
}
}

.app-grey-bg {
background: var(--color-bg-grey-deep);
}
35 changes: 26 additions & 9 deletions docs/landing/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ import { useDarkMode } from './hooks/darkmode'
import { Header } from './components/Header'
import { Slogan } from './components/Slogan'
import { Footer } from './components/Footer'
import { SlightFeature } from './components/Features/SlightFeature'
import { QuickFeature } from './components/Features/QuickFeature'
import { FullFeature } from './components/Features/FullFeature'
import { FuncFeature } from './components/Features/FuncFeature'
import { SafeFeature } from './components/Features/SafeFeature'
import { SlightFeature } from './components/Features/Slight'
import { QuickFeature } from './components/Features/Quick'
import { FullFeature } from './components/Features/Full'
import { FuncsFeature } from './components/Features/Funcs'
import { SafeFeature } from './components/Features/Safe'
import { Plugins } from './components/Features/Plugins'
import { Group } from './components/FeatureComps/Group'
import { StartFeature } from './components/Features/Start'
import { FrameworksFeature } from './components/Features/Frameworks'
import { GreyCardsFeature } from './components/Features/GreyCards'

function App() {
const { t, i18n } = useTranslation()
Expand All @@ -33,11 +38,23 @@ function App() {
<Header darkModeHandler={{ isDarkMode, toggle: toggleDarkMode }} />
<Slogan />

<SlightFeature />
<QuickFeature />
<StartFeature />
<GreyCardsFeature />

<FrameworksFeature />

<Group>
<SlightFeature />
<QuickFeature />
</Group>
<Group>
<SafeFeature />
</Group>
<Group>
<Plugins />
</Group>
<FullFeature />
<FuncFeature />
<SafeFeature />
<FuncsFeature />

<Footer />
</>
Expand Down
1 change: 0 additions & 1 deletion docs/landing/src/assets/react.svg

This file was deleted.

1 change: 1 addition & 0 deletions docs/landing/src/assets/techs/bun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/landing/src/assets/techs/deno.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/landing/src/assets/techs/go.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/landing/src/assets/techs/hexo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/landing/src/assets/techs/hugo.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 c341323

Please sign in to comment.