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

View File

@ -16,40 +16,22 @@ export default defineConfig({
registerType: "autoUpdate",
useCredentials: true,
manifest: {
name: "Solar Network Agent",
name: "Solar Network",
short_name: "Solian",
description: "The Solar Network entrypoint.",
theme_color: "#4b5094",
display: "standalone",
icons: [
{
src: "apple-touch-icon.png",
sizes: "1024x1024",
type: "image/png",
purpose: "any"
},
{
src: "favicon.png",
src: "icon.png",
sizes: "1024x1024",
type: "image/png",
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: {
enabled: true,
enabled: true
}
})
],