lint --fix
This commit is contained in:
@@ -36,5 +36,3 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
@@ -38,8 +38,6 @@ const formatDate = (date: string | Date | null | undefined) => {
|
|||||||
<template>
|
<template>
|
||||||
<div class="w-full bg-gray-50 dark:bg-gray-900 min-h-screen mt-4">
|
<div class="w-full bg-gray-50 dark:bg-gray-900 min-h-screen mt-4">
|
||||||
<div class="max-w-4xl mx-auto ">
|
<div class="max-w-4xl mx-auto ">
|
||||||
|
|
||||||
|
|
||||||
<!-- 文章列表 -->
|
<!-- 文章列表 -->
|
||||||
<div class="space-y-6 w-full">
|
<div class="space-y-6 w-full">
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
@@ -59,7 +57,7 @@ const formatDate = (date: string | Date | null | undefined) => {
|
|||||||
:src="item.img || '/images/default-blog.jpg'"
|
:src="item.img || '/images/default-blog.jpg'"
|
||||||
:alt="item.title"
|
:alt="item.title"
|
||||||
class="w-full h-full object-contain group-hover:scale-110 transition-transform duration-300"
|
class="w-full h-full object-contain group-hover:scale-110 transition-transform duration-300"
|
||||||
/>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 文字内容区域 -->
|
<!-- 文字内容区域 -->
|
||||||
|
@@ -174,7 +174,6 @@ const links = computed(() => {
|
|||||||
root: 'fixed w-full xl:right-12 xl:w-64 z-50 bg-white dark:bg-gray-900 lg:border border-gray-200 dark:border-gray-700 rounded-lg lg:shadow-lg lg:mt-5'
|
root: 'fixed w-full xl:right-12 xl:w-64 z-50 bg-white dark:bg-gray-900 lg:border border-gray-200 dark:border-gray-700 rounded-lg lg:shadow-lg lg:mt-5'
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
|
|
||||||
<template
|
<template
|
||||||
v-if="appConfig.toc?.bottom"
|
v-if="appConfig.toc?.bottom"
|
||||||
#bottom
|
#bottom
|
||||||
|
@@ -174,7 +174,6 @@ const links = computed(() => {
|
|||||||
root: 'fixed w-full xl:right-12 xl:w-64 z-50 bg-white dark:bg-gray-900 lg:border border-gray-200 dark:border-gray-700 rounded-lg lg:shadow-lg lg:mt-5'
|
root: 'fixed w-full xl:right-12 xl:w-64 z-50 bg-white dark:bg-gray-900 lg:border border-gray-200 dark:border-gray-700 rounded-lg lg:shadow-lg lg:mt-5'
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
|
|
||||||
<template
|
<template
|
||||||
v-if="appConfig.toc?.bottom"
|
v-if="appConfig.toc?.bottom"
|
||||||
#bottom
|
#bottom
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useSeoMeta } from '#imports'
|
import { useSeoMeta } from '#imports'
|
||||||
|
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
layout: 'docs'
|
layout: 'docs'
|
||||||
})
|
})
|
||||||
@@ -8,7 +9,7 @@ useSeoMeta({
|
|||||||
title: 'Estel Docs',
|
title: 'Estel Docs',
|
||||||
description: '简约而强大的文档系统,为技术分享而生',
|
description: '简约而强大的文档系统,为技术分享而生',
|
||||||
ogTitle: 'Estel Docs',
|
ogTitle: 'Estel Docs',
|
||||||
ogDescription: '简约而强大的文档系统,为技术分享而生',
|
ogDescription: '简约而强大的文档系统,为技术分享而生'
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -51,7 +52,10 @@ useSeoMeta({
|
|||||||
</p>
|
</p>
|
||||||
<div class="flex items-center justify-center text-blue-600 dark:text-blue-400 group-hover:text-blue-700 dark:group-hover:text-blue-300 transition-colors">
|
<div class="flex items-center justify-center text-blue-600 dark:text-blue-400 group-hover:text-blue-700 dark:group-hover:text-blue-300 transition-colors">
|
||||||
<span class="mr-2">开始阅读</span>
|
<span class="mr-2">开始阅读</span>
|
||||||
<UIcon name="lucide-arrow-right" size="20" />
|
<UIcon
|
||||||
|
name="lucide-arrow-right"
|
||||||
|
size="20"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
@@ -76,7 +80,10 @@ useSeoMeta({
|
|||||||
</p>
|
</p>
|
||||||
<div class="flex items-center justify-center text-green-600 dark:text-green-400 group-hover:text-green-700 dark:group-hover:text-green-300 transition-colors">
|
<div class="flex items-center justify-center text-green-600 dark:text-green-400 group-hover:text-green-700 dark:group-hover:text-green-300 transition-colors">
|
||||||
<span class="mr-2">开始阅读</span>
|
<span class="mr-2">开始阅读</span>
|
||||||
<UIcon name="lucide-arrow-right" size="20" />
|
<UIcon
|
||||||
|
name="lucide-arrow-right"
|
||||||
|
size="20"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
@@ -86,14 +93,28 @@ useSeoMeta({
|
|||||||
<div class="text-center mt-16">
|
<div class="text-center mt-16">
|
||||||
<div class="flex items-center justify-center gap-8 text-sm text-gray-500 dark:text-gray-400">
|
<div class="flex items-center justify-center gap-8 text-sm text-gray-500 dark:text-gray-400">
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<UIcon name="lucide-github" size="16" />
|
<UIcon
|
||||||
<a href="https://github.com/estel-li/estel-docs" target="_blank" class="hover:text-gray-700 dark:hover:text-gray-200 transition-colors">
|
name="lucide-github"
|
||||||
|
size="16"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
href="https://github.com/estel-li/estel-docs"
|
||||||
|
target="_blank"
|
||||||
|
class="hover:text-gray-700 dark:hover:text-gray-200 transition-colors"
|
||||||
|
>
|
||||||
GitHub
|
GitHub
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<UIcon name="lucide-globe" size="16" />
|
<UIcon
|
||||||
<a href="https://lijue.me" target="_blank" class="hover:text-gray-700 dark:hover:text-gray-200 transition-colors">
|
name="lucide-globe"
|
||||||
|
size="16"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
href="https://lijue.me"
|
||||||
|
target="_blank"
|
||||||
|
class="hover:text-gray-700 dark:hover:text-gray-200 transition-colors"
|
||||||
|
>
|
||||||
个人博客
|
个人博客
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user