Skip to content

Commit 2be253a

Browse files
renovate[bot]kordianbruckpre-commit-ci[bot]
authored
chore(deps): update dependency tailwindcss to v4 (#49)
* chore(deps): update dependency tailwindcss to v4 * Upgrade tailwincss * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kordian Bruck <k@bruck.me> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ec5f69a commit 2be253a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+552
-800
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,14 @@
5050
},
5151
"devDependencies": {
5252
"@biomejs/biome": "2.3.6",
53+
"@tailwindcss/postcss": "^4.1.17",
5354
"@types/node": "^24.3.1",
5455
"@types/react": "^19.1.12",
5556
"@types/react-dom": "^19.1.9",
5657
"@vitejs/plugin-react": "^5.0.0",
5758
"postcss": "^8.5.6",
5859
"serve": "^14.2.5",
59-
"tailwindcss": "^3.4.17",
60+
"tailwindcss": "^4.1.17",
6061
"typescript": "^5.9.2",
6162
"vite": "^7.1.11"
6263
},

pnpm-lock.yaml

Lines changed: 322 additions & 568 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

postcss.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @type {import('postcss-load-config').Config} */
22
const config = {
33
plugins: {
4-
tailwindcss: {},
4+
"@tailwindcss/postcss": {},
55
},
66
};
77

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import NotFoundPage from '@/pages/NotFoundPage'
1010

1111
function App() {
1212
return (
13-
<div className="min-h-screen dark:bg-gradient-to-br dark:from-slate-900 dark:to-slate-800 bg-gradient-to-br from-slate-50 to-gray-100">
13+
<div className="min-h-screen dark:bg-linear-to-br dark:from-slate-900 dark:to-slate-800 bg-linear-to-br from-slate-50 to-gray-100">
1414
<Header />
1515
<Routes>
1616
<Route path="/" element={<HomePage />} />

src/components/footer.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const Footer = () => {
88
<div className="grid md:grid-cols-3 gap-8">
99
<div>
1010
<div className="flex items-center space-x-3 mb-4">
11-
<div className="w-8 h-8 dark:bg-gradient-to-br dark:from-blue-600 dark:to-blue-700 bg-gradient-to-br from-blue-500 to-blue-600 rounded-lg flex items-center justify-center">
11+
<div className="w-8 h-8 dark:bg-linear-to-br dark:from-blue-600 dark:to-blue-700 bg-linear-to-br from-blue-500 to-blue-600 rounded-lg flex items-center justify-center">
1212
<Code className="w-5 h-5 text-white" />
1313
</div>
1414
<span
@@ -33,14 +33,14 @@ export const Footer = () => {
3333
</h3>
3434
<div className={`space-y-2 dark:text-gray-500 text-gray-400`}>
3535
<a
36-
className="dark:text-gray-500 text-gray-400 hover:dark:text-gray-300 hover:underline underline-offset-2 flex items-center transition-colors"
36+
className="dark:text-gray-500 text-gray-400 dark:hover:text-gray-300 hover:underline underline-offset-2 flex items-center transition-colors"
3737
href="mailto:app (at) tum.de"
3838
>
3939
<Mail className="w-4 h-4 mr-2" />
4040
app (at) tum.de
4141
</a>
4242
<Link
43-
className="dark:text-gray-500 text-gray-400 hover:dark:text-gray-300 hover:underline underline-offset-2 flex items-center transition-colors"
43+
className="dark:text-gray-500 text-gray-400 dark:hover:text-gray-300 hover:underline underline-offset-2 flex items-center transition-colors"
4444
to="/imprint"
4545
>
4646
<FileText className="w-4 h-4 mr-2" />
@@ -55,7 +55,7 @@ export const Footer = () => {
5555
</h3>
5656
<div className="space-y-2">
5757
<a
58-
className="dark:text-gray-500 text-gray-400 hover:dark:text-gray-300 hover:underline underline-offset-2 flex items-center transition-colors"
58+
className="dark:text-gray-500 text-gray-400 dark:hover:text-gray-300 hover:underline underline-offset-2 flex items-center transition-colors"
5959
href="https://github.com/tum-dev"
6060
target="_blank"
6161
rel="noopener noreferrer"
@@ -64,7 +64,7 @@ export const Footer = () => {
6464
GitHub
6565
</a>
6666
<Link
67-
className="dark:text-gray-500 text-gray-400 hover:dark:text-gray-300 hover:underline underline-offset-2 flex items-center transition-colors"
67+
className="dark:text-gray-500 text-gray-400 dark:hover:text-gray-300 hover:underline underline-offset-2 flex items-center transition-colors"
6868
to="/privacy"
6969
>
7070
<ShieldCheck className="w-4 h-4 mr-2" />

src/components/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ThemeToggle } from "./theme-toggle";
77
export const Header = () => {
88
const location = useLocation();
99
return (
10-
<header className="border-b sticky top-0 z-50 dark:bg-slate-900/90 dark:backdrop-blur-sm dark:border-slate-700 bg-white/80 backdrop-blur-sm">
10+
<header className="border-b sticky top-0 z-50 dark:bg-slate-900/90 dark:backdrop-blur-xs dark:border-slate-700 bg-white/80 backdrop-blur-xs">
1111
<div className="container mx-auto px-4 py-4">
1212
<div className="flex items-center justify-between">
1313
<Link className="flex items-center space-x-3" to="/">
@@ -36,7 +36,7 @@ export const Header = () => {
3636
<ThemeToggle />
3737
<Button
3838
asChild
39-
className="bg-gradient-to-r text-white dark:from-blue-600 dark:to-blue-700 dark:hover:from-blue-700 dark:hover:to-blue-800 from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 hidden lg:flex"
39+
className="bg-linear-to-r text-white dark:from-blue-600 dark:to-blue-700 dark:hover:from-blue-700 dark:hover:to-blue-800 from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 hidden lg:flex"
4040
>
4141
<Link to="/contact">
4242
<Mail className="w-4 h-4 mr-2" />

src/components/member.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const Member: React.FC<MemberProps> = ({
4343
{github && (
4444
<a
4545
aria-label={`GitHub profile of ${name}`}
46-
className="dark:text-gray-400 text-gray-500 hover:dark:text-blue-400 transition-colors"
46+
className="dark:text-gray-400 text-gray-500 dark:hover:text-blue-400 transition-colors"
4747
href={`https://github.com/${github}`}
4848
target="_blank"
4949
rel="noopener noreferrer"
@@ -54,7 +54,7 @@ export const Member: React.FC<MemberProps> = ({
5454
{linkedin && (
5555
<a
5656
aria-label={`LinkedIn profile of ${name}`}
57-
className="dark:text-gray-400 text-gray-500 hover:dark:text-blue-400 transition-colors"
57+
className="dark:text-gray-400 text-gray-500 dark:hover:text-blue-400 transition-colors"
5858
href={`https://linkedin.com/in/${linkedin}`}
5959
target="_blank"
6060
rel="noopener noreferrer"

src/components/project.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const Project: React.FC<ProjectProps> = ({
2525
const isExternal = link && (link.startsWith('http') || link.startsWith('https'));
2626

2727
const CardComponent = (
28-
<Card className="border-0 shadow-md group-hover:shadow-lg transition-shadow dark:bg-slate-700 dark:border-slate-600 bg-white group-hover:bg-slate-50 group-hover:dark:bg-slate-800">
28+
<Card className="border-0 shadow-md group-hover:shadow-lg transition-shadow dark:bg-slate-700 dark:border-slate-600 bg-white group-hover:bg-slate-50 dark:group-hover:bg-slate-800">
2929
<CardHeader>
3030
<CardTitle className="flex items-center justify-between dark:text-white text-gray-900">
3131
{name}

src/components/slideshow.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function Slideshow({ images }: SlideshowProps) {
6767
/>
6868

6969
{/* Overlay with gradient */}
70-
<div className="absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent" />
70+
<div className="absolute inset-0 bg-linear-to-t from-black/60 via-transparent to-transparent" />
7171

7272
{/* Caption */}
7373
<div className="absolute bottom-0 left-0 right-0 p-6">
@@ -79,7 +79,7 @@ export function Slideshow({ images }: SlideshowProps) {
7979
{/* Play/Pause Button */}
8080
<Button
8181
aria-label="pausiert die Slideshow"
82-
className="absolute top-4 right-4 bg-black/20 hover:bg-black/40 text-white border-0 backdrop-blur-sm"
82+
className="absolute top-4 right-4 bg-black/20 hover:bg-black/40 text-white border-0 backdrop-blur-xs"
8383
onClick={togglePlayPause}
8484
size="sm"
8585
title="Slideshow pausieren"
@@ -95,7 +95,7 @@ export function Slideshow({ images }: SlideshowProps) {
9595
{/* Navigation Buttons */}
9696
<Button
9797
aria-label="zeigt vorheriges Bild an"
98-
className="absolute left-4 top-1/2 -translate-y-1/2 bg-black/20 hover:bg-black/40 text-white border-0 backdrop-blur-sm"
98+
className="absolute left-4 top-1/2 -translate-y-1/2 bg-black/20 hover:bg-black/40 text-white border-0 backdrop-blur-xs"
9999
onClick={goToPrevious}
100100
size="sm"
101101
title="vorheriges Bild anzeigen"
@@ -106,7 +106,7 @@ export function Slideshow({ images }: SlideshowProps) {
106106

107107
<Button
108108
aria-label="zeigt nächstes Bild an"
109-
className="absolute right-4 top-1/2 -translate-y-1/2 bg-black/20 hover:bg-black/40 text-white border-0 backdrop-blur-sm"
109+
className="absolute right-4 top-1/2 -translate-y-1/2 bg-black/20 hover:bg-black/40 text-white border-0 backdrop-blur-xs"
110110
onClick={goToNext}
111111
size="sm"
112112
title="nächstes Bild anzeigen"
@@ -120,7 +120,7 @@ export function Slideshow({ images }: SlideshowProps) {
120120
<div className="flex justify-center mt-4 space-x-2 overflow-x-auto pb-2">
121121
{images.map((image, index) => (
122122
<button
123-
className={`flex-shrink-0 w-16 h-12 rounded-lg overflow-hidden border-2 transition-all duration-300 ${
123+
className={`shrink-0 w-16 h-12 rounded-lg overflow-hidden border-2 transition-all duration-300 ${
124124
index === currentSlide
125125
? theme === "dark"
126126
? "border-blue-400"

src/components/ui/badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type * as React from "react";
44
import { cn } from "@/lib/utils";
55

66
const badgeVariants = cva(
7-
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
7+
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",
88
{
99
defaultVariants: {
1010
variant: "default",

0 commit comments

Comments
 (0)