mirror of
https://github.com/spark-store-project/spark-store-abyss
synced 2025-12-17 21:01:38 +08:00
feat: 添加网站图标、标题
This commit is contained in:
4
app.vue
4
app.vue
@@ -180,7 +180,7 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<NuxtLink to="/" class="flex items-center">
|
<NuxtLink to="/" class="flex items-center">
|
||||||
<Icon
|
<Icon
|
||||||
name="s:spark"
|
name="sp:spark"
|
||||||
class="text-4xl mr-2 s-color-primary-color"
|
class="text-4xl mr-2 s-color-primary-color"
|
||||||
mode="svg"
|
mode="svg"
|
||||||
/>
|
/>
|
||||||
@@ -230,7 +230,7 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<div class="flex flex-col items-start gap-6">
|
<div class="flex flex-col items-start gap-6">
|
||||||
<Icon
|
<Icon
|
||||||
name="s:spark"
|
name="sp:spark"
|
||||||
class="grow"
|
class="grow"
|
||||||
mode="svg"
|
mode="svg"
|
||||||
:style="{
|
:style="{
|
||||||
|
|||||||
@@ -21,9 +21,25 @@ export default defineNuxtConfig({
|
|||||||
prefix: "s",
|
prefix: "s",
|
||||||
dir: "./assets/icons",
|
dir: "./assets/icons",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
prefix: "sp",
|
||||||
|
dir: "./public/icon",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
css: ["~/assets/css/main.css"],
|
css: ["~/assets/css/main.css"],
|
||||||
|
app: {
|
||||||
|
head: {
|
||||||
|
title: "Spark Store",
|
||||||
|
link: [
|
||||||
|
{
|
||||||
|
rel: "icon",
|
||||||
|
type: "image/svg+xml",
|
||||||
|
href: "/icon/spark.svg",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
vite: {
|
vite: {
|
||||||
plugins: [tailwindcss()],
|
plugins: [tailwindcss()],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -318,7 +318,7 @@ onMounted(() => {
|
|||||||
<div class="flex flex-col gap-3">
|
<div class="flex flex-col gap-3">
|
||||||
<div class="flex items-center gap-6">
|
<div class="flex items-center gap-6">
|
||||||
<Icon
|
<Icon
|
||||||
name="s:spark"
|
name="sp:spark"
|
||||||
class="text-6xl s-color-primary-500"
|
class="text-6xl s-color-primary-500"
|
||||||
mode="svg"
|
mode="svg"
|
||||||
/>
|
/>
|
||||||
@@ -543,7 +543,7 @@ onMounted(() => {
|
|||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
name="s:spark"
|
name="sp:spark"
|
||||||
class="absolute top-1/2 -translate-y-1/2 s-color-primary-500"
|
class="absolute top-1/2 -translate-y-1/2 s-color-primary-500"
|
||||||
mode="svg"
|
mode="svg"
|
||||||
:style="{
|
:style="{
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Reference in New Issue
Block a user