Update title in index.html, remove unused font imports in index.css, and configure build output in vite.config.ts; add favicon.svg

This commit is contained in:
2026-05-14 18:28:12 -05:00
parent 1998736c8b
commit bd1b932805
5 changed files with 22 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>drone-hub</title>
<title>Drone Hub</title>
</head>
<body>
<div id="root"></div>
-2
View File
@@ -10,8 +10,6 @@
"preview": "vite preview"
},
"dependencies": {
"@fontsource-variable/geist": "^5.2.8",
"@fontsource-variable/inter": "^5.2.8",
"@tailwindcss/vite": "^4.3.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
+11
View File
@@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-drone-icon lucide-drone">
<path d="M10 10 7 7" />
<path d="m10 14-3 3" />
<path d="m14 10 3-3" />
<path d="m14 14 3 3" />
<path d="M14.205 4.139a4 4 0 1 1 5.439 5.863" />
<path d="M19.637 14a4 4 0 1 1-5.432 5.868" />
<path d="M4.367 10a4 4 0 1 1 5.438-5.862" />
<path d="M9.795 19.862a4 4 0 1 1-5.429-5.873" />
<rect x="10" y="8" width="4" height="8" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 587 B

+1 -4
View File
@@ -1,7 +1,6 @@
@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@import "@fontsource-variable/inter";
@custom-variant dark (&:is(.dark *));
@@ -103,7 +102,6 @@
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--font-heading: var(--font-sans);
--font-sans: 'Inter Variable', sans-serif;
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
@@ -133,7 +131,6 @@ html {
body {
@apply bg-background text-foreground antialiased;
margin: 0;
font-family: "Inter Variable", system-ui, sans-serif;
}
#root {
@@ -154,4 +151,4 @@ a {
html {
@apply font-sans;
}
}
}
+9
View File
@@ -14,6 +14,15 @@ export default defineConfig({
babel({ presets: [reactCompilerPreset()] }),
tailwindcss(),
],
build: {
rollupOptions: {
output: {
entryFileNames: "assets/index.js",
chunkFileNames: "assets/chunk.js",
assetFileNames: "assets/[name][extname]",
},
},
},
resolve: {
alias: {
"@": resolve(__dirname, "src"),