Skip to content

Commit

Permalink
docs: fix index
Browse files Browse the repository at this point in the history
  • Loading branch information
27Aaron committed Apr 4, 2024
1 parent 511fe7e commit dfcdb42
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
47 changes: 47 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# https://vitepress.dev/reference/default-theme-home-page
layout: home

hero:
name: "Knowledge Graph"
text: "Everything I know"
tagline: " "
actions:
- theme: brand
text: Markdown Examples
link: /markdown-examples
- theme: alt
text: GitHub
link: https://github.com/27Aaron/knowledge
image:
src: https://vitepress.dev/vitepress-logo-large.webp
alt: VitePress


features:
- icon: 📝
title: My Knowledge
details: Record everything I know here.
---

<style>
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);

--vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
--vp-home-hero-image-filter: blur(44px);
}

@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(56px);
}
}

@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(68px);
}
}
</style>
47 changes: 47 additions & 0 deletions docs/zh_CN/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# https://vitepress.dev/reference/default-theme-home-page
layout: home

hero:
name: "Knowledge Graph"
text: "Everything I know"
tagline: " "
actions:
- theme: brand
text: Markdown Examples
link: /markdown-examples
- theme: alt
text: GitHub
link: https://github.com/27Aaron/knowledge
image:
src: https://vitepress.dev/vitepress-logo-large.webp
alt: VitePress


features:
- icon: 📝
title: My Knowledge
details: Record everything I know here.
---

<style>
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);

--vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
--vp-home-hero-image-filter: blur(44px);
}

@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(56px);
}
}

@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(68px);
}
}
</style>

0 comments on commit dfcdb42

Please sign in to comment.