mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
docs: update home
This commit is contained in:
parent
6b653a3650
commit
e81ae1a09c
@ -14,7 +14,7 @@ const list = computed(() =>
|
||||
<template>
|
||||
<div class="contributors">
|
||||
<div v-for="contributor in list" :key="contributor.github" class="contributor">
|
||||
<img :src="`https://avatars.githubusercontent.com/${contributor.github}?v=4`" :alt="contributor.name">
|
||||
<img :src="`https://avatars.githubusercontent.com/${contributor.github}?v=4`" :alt="contributor.name" loading="lazy" width="460" height="460">
|
||||
<a :href="`https://github.com/${contributor.github}`" target="_blank" rel="noopener noreferrer">{{ contributor.name }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -40,6 +40,7 @@ const list = computed(() =>
|
||||
.contributor img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
cursor: default;
|
||||
border-radius: 100%;
|
||||
|
||||
object-fit: contain;
|
||||
|
||||
@ -80,7 +80,7 @@ config:
|
||||
description: 代码复制,CodePen演示,JSFiddle演示,CodeSandbox演示,代码组,行高亮,行聚焦,行警告,差异对比,代码块折叠等。
|
||||
-
|
||||
title: 资源嵌入
|
||||
description: 图表:chart.js/ECharts/Mermaid/flowchart<br>视频:Bilibili/Youtube<br>PDF,200K+ Iconify 图标
|
||||
description: 图表:chart.js/ECharts/Mermaid/flowchart<br>视频:Bilibili/Youtube/ArtPlayer<br>PDF,200K+ Iconify 图标
|
||||
-
|
||||
type: text-image
|
||||
title: 博客
|
||||
@ -112,13 +112,17 @@ config:
|
||||
type: custom
|
||||
---
|
||||
|
||||
<div style="max-width: 960px;margin:0 auto;">
|
||||
<div style="max-width: 960px;margin:0 auto;" class="home-custom-content">
|
||||
|
||||
::: center
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
:::
|
||||
|
||||
### 安装
|
||||
@ -183,3 +187,9 @@ export default defineUserConfig({
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.home-custom-content img {
|
||||
cursor: default !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user