配置 logo
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
node_modules
|
||||
**/.vitepress/cache
|
@@ -2,10 +2,19 @@ import { defineConfig } from 'vitepress'
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
vite: {
|
||||
server: {
|
||||
port: 5678,
|
||||
},
|
||||
},
|
||||
title: "就这么弄",
|
||||
description: "简单步骤与实用技巧",
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
logo: {
|
||||
src: '/public/assets/logo.svg',
|
||||
},
|
||||
|
||||
nav: [
|
||||
{ text: 'Home', link: '/' },
|
||||
{ text: 'Examples', link: '/markdown-examples' }
|
||||
|
@@ -5,6 +5,10 @@ layout: home
|
||||
hero:
|
||||
name: "就这么弄"
|
||||
text: "简单步骤与实用技巧"
|
||||
image:
|
||||
src: /public/assets/logo.svg
|
||||
alt: VitePress
|
||||
style: "border-radius: 50%"
|
||||
tagline: My great project tagline
|
||||
actions:
|
||||
- theme: brand
|
||||
|
1
docs/public/assets/logo.svg
Normal file
1
docs/public/assets/logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 31 KiB |
Reference in New Issue
Block a user