fix favicon and bg issues on mobile

This commit is contained in:
lamacchinadesiderante 2023-01-08 19:20:07 +01:00
parent de03ea75ed
commit 8e9a581515
5 changed files with 9 additions and 11 deletions

View File

@ -28,11 +28,11 @@
},
"externalBin": [],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"../../frontend/src/assets/favicon/favicon-32x32.png",
"../../frontend/src/assets/favicon/android-chrome-512x512.png",
"../../frontend/src/assets/favicon/android-chrome-512x512.png",
"icons/icon.icns",
"icons/icon.ico"
"../../frontend/src/assets/favicon/favicon.ico"
],
"identifier": "com.github.zlib-searcher",
"longDescription": "",

View File

@ -2,9 +2,9 @@ version: '3'
services:
zlib:
image: lamacchinadesiderante/millelibri:latest
# image: lamacchinadesiderante/millelibri:latest
# image: millelibri:v0.2
image: millelibri:v0.4
# image: millelibri

View File

@ -1,11 +1,11 @@
{
"name": "frontend",
"private": true,
"version": "0.3.0",
"version": "0.4.0",
"type": "module",
"repository": "https://git.lamacchinadesiderante.org/lamacchinadesiderante/millelibri",
"scripts": {
"dev": "vite",
"dev": "vite --host",
"build": "vite build",
"preview": "vite preview"
},

View File

@ -44,14 +44,12 @@ body.chakra-ui-light {
background-image: url("./assets/bg/millelibri_light_bg_desktop.png");
background-repeat: no-repeat;
background-position: right bottom;
background-attachment: fixed;
}
body.chakra-ui-dark {
background-image: url("./assets/bg/millelibri_dark_bg_desktop.png");
background-repeat: no-repeat;
background-position: right bottom;
background-attachment: fixed;
}
@media (max-width : 899px) {

View File

@ -17,7 +17,7 @@ export default defineConfig(() => {
react(),
process.env.VITE_TAURI === '0'
? faviconsPlugin({
icons: { favicons: { source: '../crates/zlib-searcher-desktop/icons/icon.png' } }
icons: { favicons: { source: './src/assets/favicon/favicon-32x32.png' } }
})
: null
],