FIX: Fix appicon resolution

This commit is contained in:
2025-10-07 11:12:53 +07:00
parent 100c93e8da
commit d5710c9102
50 changed files with 14728 additions and 1606 deletions

View File

@@ -1,13 +1,16 @@
<!DOCTYPE html>
<html data-theme="cupcake" lang="en">
<head>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/wails.png" />
<link rel="icon" type="image/svg+xml" href="/appicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wails + React + TS</title>
</head>
<body>
<div id="root"></div>
<title>Firefly Launcher</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -11,7 +11,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tailwindcss/vite": "^4.1.12",
"@tailwindcss/vite": "^4.1.14",
"@tanstack/react-router": "^1.131.27",
"@tanstack/react-router-devtools": "^1.131.27",
"lucide-react": "^0.541.0",
@@ -20,7 +20,7 @@
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-toastify": "^11.0.5",
"tailwindcss": "^4.1.12",
"tailwindcss": "^4.1.14",
"zustand": "^5.0.8"
},
"devDependencies": {
@@ -33,7 +33,7 @@
"@typescript-eslint/parser": "^8.40.0",
"@vitejs/plugin-react": "^5.0.1",
"@wailsio/runtime": "^3.0.0-alpha.66",
"daisyui": "^5.0.50",
"daisyui": "^5.1.27",
"eslint": "^9.34.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",

BIN
frontend/public/appicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -57,7 +57,7 @@ function RootLayout() {
</div>
<Link to="/" className="grid grid-cols-1 items-start text-left gap-0 hover:scale-105 px-2">
<div className="flex items-center justify-center">
<img src="/ff-launcher.png" alt="Logo" className='w-13 h-13' />
<img src="/appicon.png" alt="Logo" className='w-13 h-13 rounded-lg mx-2' />
<div className="flex flex-col justify-center items-start">
<h1 className="text-xl font-bold">
<span className="text-emerald-500">Firefly </span>

View File

@@ -1,5 +1,4 @@
@import "tailwindcss";
@plugin "daisyui";
@plugin "daisyui" {
@plugin "daisyui"{
themes: night --default, night --prefersdark, cupcake;
}
}

View File

@@ -8,6 +8,7 @@ export default defineConfig({
base: '/',
build: {
outDir: 'dist',
chunkSizeWarningLimit: 2000,
},
plugins: [
tanstackRouter({