File tree Expand file tree Collapse file tree 4 files changed +12
-23
lines changed
Expand file tree Collapse file tree 4 files changed +12
-23
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ apps/web/node_modules
4040apps /web /.next
4141apps /web /dist
4242apps /web /build
43- apps /web /public
4443apps /web /.yalc
4544apps /web /out /*
4645
@@ -54,7 +53,7 @@ packages/api/public
5453** /node_modules
5554** /dist
5655** /build
57- ** / public
56+
5857
5958.turbo
6059output.log
Original file line number Diff line number Diff line change @@ -8,26 +8,16 @@ export default function SwapPage() {
88 return (
99 < ErrorBoundary >
1010 < div className = "h-screen relative overflow-hidden" >
11- { /* Simplified Swush-inspired background with better contrast */ }
12- < div className = "absolute inset-0 bg-gradient-to-br from-forest-900 via-forest-900 to-slate-900" >
11+ { /* Background image with overlay for better contrast */ }
12+ < div
13+ className = "absolute inset-0 bg-cover bg-center bg-no-repeat"
14+ style = { {
15+ backgroundImage : 'url(/swush-background.png)'
16+ } }
17+ >
18+
1319 </ div >
1420
15- { /* Swush Logo - Top Left Corner - Hidden on mobile */ }
16- < div className = "absolute top-6 left-6 z-20 hidden md:block" >
17- < div className = "relative" >
18- < Image
19- src = "/swush-logo.png"
20- alt = "Swush"
21- width = { 100 }
22- height = { 100 }
23- className = "drop-shadow-lg opacity-90 hover:opacity-100 transition-opacity duration-300"
24- priority
25- />
26- { /* Subtle glow effect and increase the effect time to 300ms*/ }
27- < div className = "absolute inset-0 bg-gradient-to-br from-flame-400/15 to-flame-500/10 rounded-full filter blur-lg -z-10" > </ div >
28- </ div >
29- </ div >
30-
3121 < Suspense fallback = { < LoadState /> } >
3222 < SwapContainer />
3323 </ Suspense >
Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ export const SwapField = memo(function SwapField({
4242
4343 return (
4444 < motion . div
45- className = { `group relative ${ isInput ? 'p-5' : 'p-6' } rounded-2xl bg-forest-800/95 backdrop-blur-md border border-forest-600/60 shadow-xl hover:border-flame-400/50 hover:shadow-flame-500/20 transition-all duration-300` }
45+ className = { `group relative ${ isInput ? 'p-5' : 'p-6' } rounded-2xl bg-forest-800/60 backdrop-blur-md border border-forest-600/30 shadow-lg shadow-black/10 hover:border-forest-500/30 hover:bg-forest-800/80 transition-all duration-300` }
4646 initial = { { opacity : 0 , y : 20 } }
4747 animate = { { opacity : 1 , y : 0 } }
4848 transition = { { duration : 0.3 , delay : isInput ? 0 : 0.1 } }
4949 >
5050 { /* Subtle hover glow effect */ }
51- < div className = "absolute inset-0 bg-gradient-to-br from-flame-500/0 to-flame-400/0 group-hover:from-flame-500/5 group-hover:to-flame-400/5 rounded-2xl transition-all duration-300 pointer-events-none" > </ div >
51+ < div className = "absolute inset-0 bg-gradient-to-br from-flame-500/0 to-flame-400/0 group-hover:from-flame-500/8 group-hover:to-flame-400/8 rounded-2xl transition-all duration-300 pointer-events-none" > </ div >
5252
5353 { /* Content */ }
5454 < div className = "relative z-10" >
@@ -82,7 +82,7 @@ export const SwapField = memo(function SwapField({
8282 < Dialog open = { openDialog } onOpenChange = { setOpenDialog } >
8383 < DialogTrigger asChild >
8484 < div className = "flex-shrink-0" >
85- < div className = "flex items-center gap-3 pl-2 py-3 rounded-xl bg-forest-800 hover:bg-forest-700 border-forest-600 hover:border-flame-400 transition-all duration-200 cursor-pointer" >
85+ < div className = "flex items-center gap-3 pl-2 py-3 rounded-xl hover:bg-forest-800 border-forest-600 hover:border-flame-400 transition-all duration-200 cursor-pointer" >
8686 < div className = "w-10 h-10 rounded-full bg-gradient-to-br from-flame-400 to-flame-500 flex items-center justify-center shadow-lg" >
8787 < span className = "text-white text-lg font-bold" > { token . icon } </ span >
8888 </ div >
You can’t perform that action at this time.
0 commit comments