feat(static): improve nextjs static example

- upgrade all dependencies
- upgrade to Tailwind CSS v4
- remove ugly default background
- remove unnecessary default content
- clean up files and remove those that are no longer needed
This commit is contained in:
peaklabs-dev
2025-06-23 21:41:11 +02:00
parent 0006219f4b
commit f8b3c24432
10 changed files with 3345 additions and 2295 deletions

View File

@@ -1,31 +1,17 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
body {
color: #1a1a1a;
background: #ffffff;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
body {
color: #ffffff;
background: #0a0a0a;
}
}
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
}
@layer utilities {
.text-balance {
text-wrap: balance;