update icon

This commit is contained in:
Nofated095 2023-09-26 15:12:19 +08:00
parent b0a8e334c7
commit 72e8d95574
12 changed files with 26 additions and 2 deletions

View File

@ -6,11 +6,11 @@
"dependencies": {
"@vuepress/cli": "2.0.0-beta.67",
"@vuepress/client": "2.0.0-beta.67",
"@vuepress/plugin-docsearch": "2.0.0-beta.67",
"@vuepress/utils": "2.0.0-beta.67",
"sass-loader": "13.3.2",
"vue": "3.3.4",
"vuepress-theme-hope": "2.0.0-beta.237",
"vuepress-plugin-search-pro": "2.0.0-beta.237",
"vuepress-vite": "2.0.0-beta.67"
}
}

View File

@ -1,5 +1,6 @@
import { defineUserConfig } from "@vuepress/cli";
import theme from "./theme.js";
import { searchProPlugin } from "vuepress-plugin-search-pro";
const base = <"/" | `/${string}/`>process.env["BASE"] || "/";
@ -17,4 +18,16 @@ export default defineUserConfig({
theme,
shouldPrefetch: true,
plugins: [
searchProPlugin({
indexContent: true,
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "$content",
},
],
}),
],
});

View File

@ -21,6 +21,7 @@ export const enNavbar = navbar([
"design",
"experiments",
"results",
"safety",
],
},
"hp",

View File

@ -1,5 +1,6 @@
---
title: Human Practices
title: Human Practice
category: Human Practice
---
![](https://static.igem.wiki/teams/4203/wiki/humanpractice.jpg)

View File

@ -1,6 +1,7 @@
---
title: Description
icon: fa-solid fa-bookmark
category: Project
---
# Inspiration

View File

@ -1,5 +1,6 @@
---
title: Design
icon: fa-solid fa-pen
category: Project
---
# Design a natux

View File

@ -1,6 +1,7 @@
---
title: Experiments
icon: fa-solid fa-vial
category: Project
---
![](https://static.igem.wiki/teams/4203/wiki/experiment.jpg)

View File

@ -1,6 +1,7 @@
---
title: Results
icon: fa-solid fa-file-lines
category: Project
---
![](https://static.igem.wiki/teams/4203/wiki/experiment.jpg)

View File

@ -1,5 +1,7 @@
---
title: Safety
category: Project
icon: fa-solid fa-shield
---
![](https://static.igem.wiki/teams/4203/wiki/safety.jpg)
# Placeholder

View File

@ -1,6 +1,7 @@
---
title: Attributions
icon: fa-solid fa-star
category: Team
---
![](https://static.igem.wiki/teams/4203/wiki/attributionnew.jpg)

View File

@ -1,6 +1,7 @@
---
title: Collaborations
icon: fa-solid fa-circle-info
category: Team
---
## Placeholder

View File

@ -1,6 +1,7 @@
---
title: The Team
icon: fa-solid fa-user
category: Team
---
![](https://static.igem.wiki/teams/4203/wiki/team.jpg)