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": [], "externalBin": [],
"icon": [ "icon": [
"icons/32x32.png", "../../frontend/src/assets/favicon/favicon-32x32.png",
"icons/128x128.png", "../../frontend/src/assets/favicon/android-chrome-512x512.png",
"icons/128x128@2x.png", "../../frontend/src/assets/favicon/android-chrome-512x512.png",
"icons/icon.icns", "icons/icon.icns",
"icons/icon.ico" "../../frontend/src/assets/favicon/favicon.ico"
], ],
"identifier": "com.github.zlib-searcher", "identifier": "com.github.zlib-searcher",
"longDescription": "", "longDescription": "",

View File

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

View File

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

View File

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

View File

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