mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-17 00:26:41 +03:00
Remove Tailwind and simplify CSS build process
- Remove Tailwind CSS and related dependencies (tailwindcss, @tailwindcss/cli, bun-plugin-tailwind) - Remove unused dependencies (lenis, @paper-design/shaders, three) - Convert @theme variables to CSS custom properties in :root - Add minimal CSS reset for browser consistency - Update server to serve /css/* and /js/* routes directly - Fix conflicting CSS rules that broke commands section layout - Delete bunfig.toml (no longer needed without Tailwind plugin) The site now uses native CSS imports via Bun's built-in bundler, eliminating the need for separate Tailwind compilation step. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
6b77213f91
commit
52d99fb31c
+23
-1
@@ -15,7 +15,7 @@ const server = serve({
|
||||
routes: {
|
||||
"/": homepage,
|
||||
|
||||
// Static assets
|
||||
// Static assets - all public subdirectories
|
||||
"/assets/*": async (req) => {
|
||||
const url = new URL(req.url);
|
||||
const filePath = `./public${url.pathname}`;
|
||||
@@ -25,6 +25,28 @@ const server = serve({
|
||||
}
|
||||
return new Response("Not Found", { status: 404 });
|
||||
},
|
||||
"/css/*": async (req) => {
|
||||
const url = new URL(req.url);
|
||||
const filePath = `./public${url.pathname}`;
|
||||
const assetFile = file(filePath);
|
||||
if (await assetFile.exists()) {
|
||||
return new Response(assetFile, {
|
||||
headers: { "Content-Type": "text/css" }
|
||||
});
|
||||
}
|
||||
return new Response("Not Found", { status: 404 });
|
||||
},
|
||||
"/js/*": async (req) => {
|
||||
const url = new URL(req.url);
|
||||
const filePath = `./public${url.pathname}`;
|
||||
const assetFile = file(filePath);
|
||||
if (await assetFile.exists()) {
|
||||
return new Response(assetFile, {
|
||||
headers: { "Content-Type": "application/javascript" }
|
||||
});
|
||||
}
|
||||
return new Response("Not Found", { status: 404 });
|
||||
},
|
||||
|
||||
// API: Get all skills
|
||||
"/api/skills": {
|
||||
|
||||
Reference in New Issue
Block a user