🐛 Bug fixes & optimization

This commit is contained in:
LittleSheep 2024-03-30 18:52:03 +08:00
parent d187ca0a88
commit f552cdcf74
4 changed files with 5 additions and 23 deletions

BIN
public/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 997 KiB

View File

@ -1,8 +1,8 @@
<template> <template>
<div class="post-list"> <div class="post-list mx-[-8px]">
<v-infinite-scroll :items="props.posts" :onLoad="props.loader"> <v-infinite-scroll :items="props.posts" :onLoad="props.loader">
<template v-for="(item, idx) in props.posts" :key="item"> <template v-for="(item, idx) in props.posts" :key="item">
<div class="mb-3 px-1"> <div class="mb-3 px-[8px]">
<v-card> <v-card>
<template #text> <template #text>
<post-item brief :item="item" @update:item="(val) => updateItem(idx, val)" /> <post-item brief :item="item" @update:item="(val) => updateItem(idx, val)" />

View File

@ -16,40 +16,22 @@ export default defineConfig({
registerType: "autoUpdate", registerType: "autoUpdate",
useCredentials: true, useCredentials: true,
manifest: { manifest: {
name: "Solar Network Agent", name: "Solar Network",
short_name: "Solian", short_name: "Solian",
description: "The Solar Network entrypoint.", description: "The Solar Network entrypoint.",
theme_color: "#4b5094", theme_color: "#4b5094",
display: "standalone", display: "standalone",
icons: [ icons: [
{ {
src: "apple-touch-icon.png", src: "icon.png",
sizes: "1024x1024",
type: "image/png",
purpose: "any"
},
{
src: "favicon.png",
sizes: "1024x1024", sizes: "1024x1024",
type: "image/png", type: "image/png",
purpose: "maskable" purpose: "maskable"
}, },
],
screenshots: [
{
src: "screenshots/solarplaza.png",
sizes: "2992x1714",
type: "image/png",
form_factor: "wide",
label: "Exploring the Solar Network Plaza"
}
] ]
}, },
workbox: {
globPatterns: ["**/*.{js,css,ico,png,svg}"]
},
devOptions: { devOptions: {
enabled: true, enabled: true
} }
}) })
], ],