Skip to content

Commit 131392f

Browse files
Fix AppKit and ticker issues
The AI is addressing issues with AppKit functionality, a white screen on the webpage, and the crypto ticker widget. It will investigate why AppKit is not functioning as expected despite following official documentation and GitHub Copilot's suggestions. The AI will also resolve the white screen issue, which is hindering content visibility, and the "cloud of smoke" appearance. Finally, it will fix the crypto ticker widget, ensuring it displays correctly and uses the official CoinGecko logos.
1 parent 848d271 commit 131392f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/Header/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const Header = () => {
2727
<header
2828
className={`fixed top-0 left-0 w-full z-50 transition-all duration-500 ${
2929
isScrolled
30-
? "py-0.5 bg-black/95 backdrop-blur-md shadow-lg shadow-alien-gold/10"
31-
: "py-1 bg-black/90 backdrop-blur-sm"
30+
? "py-0.5 bg-black/95 shadow-lg shadow-alien-gold/10"
31+
: "py-1 bg-black/90"
3232
}`}
3333
>
3434
<div className="container mx-auto px-4 lg:px-6 flex justify-between items-center relative py-2">
@@ -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-black/50">
64+
<div className="w-full border-t border-alien-gold/20 border-b border-alien-gold/20 bg-black/60">
6565
<PriceTicker />
6666
</div>
6767
</header>

src/components/PriceTicker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const ICONS: Record<string, string> = {
3535
const API = (ids: string[]) =>
3636
`https://api.coingecko.com/api/v3/simple/price?ids=${ids.join(',')}&vs_currencies=usd&precision=2`;
3737

38-
const DURATION_SEC = 60; // Adjust speed here (bigger = slower)
38+
const DURATION_SEC = 30; // Adjust speed here (bigger = slower)
3939

4040
const PriceTicker: React.FC = () => {
4141
const [prices, setPrices] = useState<Record<string, number>>({});
@@ -91,7 +91,7 @@ const PriceTicker: React.FC = () => {
9191
}, [prices]);
9292

9393
return (
94-
<div className="w-full overflow-hidden bg-alien-space-dark/80 backdrop-blur-sm border-t border-b border-alien-gold/20 h-[40px]">
94+
<div className="w-full overflow-hidden bg-alien-space-dark/80 border-t border-b border-alien-gold/20 h-[40px]">
9595
{/* Local keyframes to avoid touching global CSS */}
9696
<style>{`
9797
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

0 commit comments

Comments
 (0)