I am dum. CSS is smrt
This commit is contained in:
parent
5087ebacdc
commit
8049c6bebe
3 changed files with 7 additions and 23 deletions
|
|
@ -107,7 +107,6 @@ const ChatApp: React.FC<ChatAppProps> = () => {
|
|||
className="flex min-h-screen w-screen animated-bg-container"
|
||||
style={{ '--random-delay': `${animationDelay}s` } as React.CSSProperties}
|
||||
>
|
||||
<div className="animated-bg"></div>
|
||||
<div className="flex flex-row flex-grow flex-1 min-h-screen relative">
|
||||
{/* Sidebar and Navbar components hidden but kept in codebase */}
|
||||
{false && (
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ export function OAuthCallback() {
|
|||
|
||||
return (
|
||||
<div className="min-h-screen animated-bg-container flex items-center justify-center p-4">
|
||||
<div className="animated-bg"></div>
|
||||
<div className="bg-white rounded-lg shadow-xl p-8 text-center max-w-md w-full">
|
||||
<h1 className="text-2xl font-bold text-zinc-900 mb-4">Authenticating...</h1>
|
||||
<p className="text-zinc-600 mb-2">Please wait while we complete your authentication.</p>
|
||||
|
|
|
|||
|
|
@ -14,32 +14,18 @@
|
|||
.animated-bg-container {
|
||||
position: relative;
|
||||
/*overflow: hidden;*/
|
||||
/*height: 500vh;*/
|
||||
height: 500vh;
|
||||
}
|
||||
|
||||
.animated-bg {
|
||||
.animated-bg-container::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0vh;
|
||||
left: 0vw;
|
||||
right: 0vw;
|
||||
bottom: 0vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.animated-bg::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -100vh;
|
||||
left: -1000vw;
|
||||
right: -1000vw;
|
||||
bottom: -100vh;
|
||||
background: linear-gradient(180deg, #fdf2f8, #faf5ff, #eef2ff, #faf5ff, #fdf2f8);
|
||||
/*background: linear-gradient(180deg, red, black, blue, black, red);*/
|
||||
background-size: 100% 200vh;
|
||||
background-repeat: repeat-y;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: repeating-linear-gradient(150deg, #fdf2f8, #faf5ff, #eef2ff, #faf5ff, #fdf2f8 100vmax);
|
||||
animation: hue-rotate 60s linear infinite;
|
||||
animation-delay: var(--random-delay, 0s);
|
||||
z-index: -1;
|
||||
transform: rotate(-20deg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue