Skip to content

Commit 3c0bedf

Browse files
Fix page backgrounds and ticker visibility
The AI has addressed the issue of white backgrounds appearing on pages by ensuring that individual page background images are visible and not obscured by white or black overlays. Additionally, the CoinGecko widget has been updated to a clear mode without a transparent background, as per the user's request, to improve its appearance.
1 parent 8204783 commit 3c0bedf

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

src/components/Header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const Header = () => {
6161
)}
6262
</AnimatePresence>
6363

64-
<div className="w-full border-t border-alien-gold/20 border-b border-alien-gold/20 bg-foreground/10">
64+
<div className="w-full border-t border-alien-gold/20 border-b border-alien-gold/20 bg-white">
6565
<PriceTicker />
6666
</div>
6767
</header>

src/components/Layout.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ const Layout: React.FC = () => {
1515
return (
1616
<div className="flex flex-col min-h-screen relative">
1717
{/* Star background effect - also behind content */}
18+
<div
19+
className="fixed inset-0 -z-30 pointer-events-none bg-cover bg-center bg-no-repeat"
20+
style={{ backgroundImage: "url('/lovable-uploads/EMWBack.png')" }}
21+
/>
1822
<div className="fixed inset-0 pointer-events-none" style={{ zIndex: -20 }}>
1923
<StarBackground />
2024
</div>

src/components/PriceTicker.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const PriceTicker: React.FC = () => {
3030
<div className="w-full overflow-visible min-h-[48px]">
3131
<gecko-coin-price-marquee-widget
3232
locale="es"
33-
transparent-background="true"
3433
outlined="true"
3534
coin-ids="bitcoin,tether-gold,ethereum,binancecoin,bitcoin-cash,bittensor,solana,litecoin,hyperliquid,chainlink,injective-protocol,uniswap,aptos,cosmos,bitget-token,polkadot,sui,the-open-network,near,nexo,cardano,tron,crypto-com-chain"
3635
initial-currency="usd"

src/pages/Clubs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
// Revert to a simple, original-style layout while we clarify the redesign
44
const Clubs: React.FC = () => {
55
return (
6-
<div className="min-h-screen bg-alien-space relative">
6+
<div className="min-h-screen relative">
77

88
<main className="container mx-auto px-4 pt-28 pb-20 relative z-10">
99
<div className="max-w-5xl mx-auto text-center">

src/pages/CoNetWorKing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const CoNetWorKing: React.FC = () => {
249249
];
250250

251251
return (
252-
<div className="min-h-screen bg-alien-space relative overflow-hidden">
252+
<div className="min-h-screen relative overflow-hidden">
253253
{/* Background Network Image */}
254254

255255
<main className="container mx-auto px-4 pt-32 pb-16 relative z-20">

0 commit comments

Comments
 (0)