Skip to content

Commit

Permalink
theme: 增加首页 图片和 icon
Browse files Browse the repository at this point in the history
  • Loading branch information
chenlb committed Oct 29, 2024
1 parent e7a3c3c commit a2f2f84
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .vitepress/theme/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ onMounted(() => {

<template>
<Layout>
<template #home-hero-image>
<img class="VPImage image-src" src="http://static.chenlb.com/img/logo/vitepress-logo-large.webp" alt="logo"/>
</template>
<template #aside-ads-before>
<AsideAdsBefore />
</template>
Expand Down
21 changes: 15 additions & 6 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,23 @@ hero:
link: /pc/macbook-env

features:
- title: Python 基础
- icon:
src: https://img.icons8.com/fluency/96/python.png
title: Python 知识积累
link: /python/
details: Python 基础知识点
- title: Python 进阶
link: /python/advanced/poetry
details: Python 进阶知识点
details: Python 基础知识点,Python 进阶知识点。
- icon:
src: https://img.icons8.com/fluency/96/chatgpt--v2.png
title: 大模型
details: LLM 大模型学习、探索、沉淀,走进 AI 时代。
- title: 互联网
icon:
src: https://img.icons8.com/color/100/chrome--v1.png
details: 前端、后端、服务器、云计算等技术。
- title: 电脑办公
icon:
src: https://img.icons8.com/ios-filled/100/mac-os.png
link: /pc/macbook-env
details: 电脑、办公工具使用技巧
details: 电脑、Macbook、办公工具使用技巧
---

0 comments on commit a2f2f84

Please sign in to comment.