Improved assets

This commit is contained in:
2026-04-03 16:27:29 +02:00
parent 78ad9ea312
commit e22f24108b
6 changed files with 15 additions and 3 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import {
import { getVersions, type GameVersion } from "./services/LauncherService";
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
import Logo from "@/assets/logo.png";
// Utility for merging tailwind classes
function cn(...inputs: ClassValue[]) {
@@ -71,7 +72,7 @@ const App: React.FC = () => {
{/* Sidebar */}
<aside className="w-16 border-r border-saturn-border flex flex-col items-center py-6 gap-6 bg-saturn-panel/50">
<div>
<img src="/logo.png" alt="Saturn Logo" className="w-10 h-10" />
<img src={Logo} alt="Saturn Logo" className="w-10 h-10" />
</div>
<nav className="flex flex-col gap-4 h-full">
View File

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

+2 -1
View File
@@ -1,6 +1,7 @@
import React, { useState } from "react";
import { Play, Loader2 } from "lucide-react";
import { launchGame, type GameVersion } from "../services/LauncherService";
import Bg from "@/assets/bg.png";
interface PlaySectionProps {
version: GameVersion;
@@ -35,7 +36,7 @@ const PlaySection: React.FC<PlaySectionProps> = ({ version }) => {
<div className="h-full relative">
{/* Background Image */}
<img
src="/bg.png"
src={Bg}
alt="Background"
className="w-full h-full object-cover rounded-2xl brightness-50"
/>
+5 -1
View File
@@ -18,7 +18,11 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
+6
View File
@@ -30,4 +30,10 @@ export default defineConfig(async () => ({
ignored: ["**/src-tauri/**"],
},
},
resolve: {
alias: {
"@": "/src",
},
},
}));