Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit 8049c6b

Browse files
committed
I am dum. CSS is smrt
1 parent 5087eba commit 8049c6b

File tree

3 files changed

+7
-23
lines changed

3 files changed

+7
-23
lines changed

examples/chat-ui/src/components/ChatApp.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ const ChatApp: React.FC<ChatAppProps> = () => {
107107
className="flex min-h-screen w-screen animated-bg-container"
108108
style={{ '--random-delay': `${animationDelay}s` } as React.CSSProperties}
109109
>
110-
<div className="animated-bg"></div>
111110
<div className="flex flex-row flex-grow flex-1 min-h-screen relative">
112111
{/* Sidebar and Navbar components hidden but kept in codebase */}
113112
{false && (

examples/chat-ui/src/components/OAuthCallback.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export function OAuthCallback() {
88

99
return (
1010
<div className="min-h-screen animated-bg-container flex items-center justify-center p-4">
11-
<div className="animated-bg"></div>
1211
<div className="bg-white rounded-lg shadow-xl p-8 text-center max-w-md w-full">
1312
<h1 className="text-2xl font-bold text-zinc-900 mb-4">Authenticating...</h1>
1413
<p className="text-zinc-600 mb-2">Please wait while we complete your authentication.</p>

examples/chat-ui/src/index.css

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,18 @@
1414
.animated-bg-container {
1515
position: relative;
1616
/*overflow: hidden;*/
17-
/*height: 500vh;*/
17+
height: 500vh;
1818
}
1919

20-
.animated-bg {
20+
.animated-bg-container::before {
2121
content: '';
2222
position: absolute;
23-
top: 0vh;
24-
left: 0vw;
25-
right: 0vw;
26-
bottom: 0vh;
27-
overflow: hidden;
28-
}
29-
30-
.animated-bg::before {
31-
content: '';
32-
position: absolute;
33-
top: -100vh;
34-
left: -1000vw;
35-
right: -1000vw;
36-
bottom: -100vh;
37-
background: linear-gradient(180deg, #fdf2f8, #faf5ff, #eef2ff, #faf5ff, #fdf2f8);
38-
/*background: linear-gradient(180deg, red, black, blue, black, red);*/
39-
background-size: 100% 200vh;
40-
background-repeat: repeat-y;
23+
top: 0;
24+
left: 0;
25+
right: 0;
26+
bottom: 0;
27+
background: repeating-linear-gradient(150deg, #fdf2f8, #faf5ff, #eef2ff, #faf5ff, #fdf2f8 100vmax);
4128
animation: hue-rotate 60s linear infinite;
4229
animation-delay: var(--random-delay, 0s);
4330
z-index: -1;
44-
transform: rotate(-20deg);
4531
}

0 commit comments

Comments
 (0)