Watchlist + Market: Unified techy angular mobile design
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
This commit is contained in:
@ -322,17 +322,12 @@ export default function MarketPage() {
|
|||||||
{/* Top Row */}
|
{/* Top Row */}
|
||||||
<div className="flex items-center justify-between mb-3">
|
<div className="flex items-center justify-between mb-3">
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<div className="w-1.5 h-1.5 bg-blue-400 animate-pulse" />
|
<div className="w-1.5 h-1.5 bg-accent animate-pulse" />
|
||||||
<span className="text-[10px] font-mono tracking-[0.2em] text-blue-400 uppercase">Live Market</span>
|
<span className="text-[10px] font-mono tracking-[0.2em] text-accent uppercase">Live Market</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2 text-[10px] font-mono text-white/40">
|
||||||
<button
|
<span>{stats.total.toLocaleString()} auctions</span>
|
||||||
onClick={handleRefresh}
|
<span className="text-accent">{stats.highScore} premium</span>
|
||||||
disabled={refreshing}
|
|
||||||
className="w-8 h-8 flex items-center justify-center border border-white/[0.08] text-white/40"
|
|
||||||
>
|
|
||||||
<RefreshCw className={clsx("w-4 h-4", refreshing && "animate-spin")} />
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -350,13 +345,21 @@ export default function MarketPage() {
|
|||||||
<div className="text-lg font-bold text-white tabular-nums">{stats.auctionCount}</div>
|
<div className="text-lg font-bold text-white tabular-nums">{stats.auctionCount}</div>
|
||||||
<div className="text-[9px] font-mono text-white/30 uppercase tracking-wider">External</div>
|
<div className="text-[9px] font-mono text-white/30 uppercase tracking-wider">External</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="bg-amber-500/[0.05] border border-amber-500/20 p-2">
|
<div className="bg-orange-500/[0.05] border border-orange-500/20 p-2">
|
||||||
<div className="text-lg font-bold text-amber-400 tabular-nums">{stats.highScore}</div>
|
<div className="text-lg font-bold text-orange-400 tabular-nums">{stats.highScore}</div>
|
||||||
<div className="text-[9px] font-mono text-amber-400/60 uppercase tracking-wider">Score 80+</div>
|
<div className="text-[9px] font-mono text-orange-400/60 uppercase tracking-wider">Score 80+</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{/* Pull to Refresh Indicator */}
|
||||||
|
{refreshing && (
|
||||||
|
<div className="lg:hidden flex items-center justify-center py-3 bg-accent/5 border-b border-accent/10">
|
||||||
|
<Loader2 className="w-4 h-4 text-accent animate-spin mr-2" />
|
||||||
|
<span className="text-[10px] font-mono text-accent uppercase tracking-wider">Refreshing...</span>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{/* ═══════════════════════════════════════════════════════════════════════ */}
|
{/* ═══════════════════════════════════════════════════════════════════════ */}
|
||||||
{/* MOBILE SEARCH & FILTERS */}
|
{/* MOBILE SEARCH & FILTERS */}
|
||||||
@ -366,13 +369,13 @@ export default function MarketPage() {
|
|||||||
<div className={clsx(
|
<div className={clsx(
|
||||||
"relative border-2 transition-all duration-200 mb-3",
|
"relative border-2 transition-all duration-200 mb-3",
|
||||||
searchFocused
|
searchFocused
|
||||||
? "border-blue-400/50 bg-blue-400/[0.02]"
|
? "border-accent/50 bg-accent/[0.02]"
|
||||||
: "border-white/[0.08] bg-white/[0.02]"
|
: "border-white/[0.08] bg-white/[0.02]"
|
||||||
)}>
|
)}>
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<Search className={clsx(
|
<Search className={clsx(
|
||||||
"w-4 h-4 ml-3 transition-colors",
|
"w-4 h-4 ml-3 transition-colors",
|
||||||
searchFocused ? "text-blue-400" : "text-white/30"
|
searchFocused ? "text-accent" : "text-white/30"
|
||||||
)} />
|
)} />
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
@ -399,14 +402,14 @@ export default function MarketPage() {
|
|||||||
onClick={() => setFiltersOpen(!filtersOpen)}
|
onClick={() => setFiltersOpen(!filtersOpen)}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"flex items-center justify-between w-full py-2 px-3 border transition-colors",
|
"flex items-center justify-between w-full py-2 px-3 border transition-colors",
|
||||||
filtersOpen ? "border-blue-400/30 bg-blue-400/[0.05]" : "border-white/[0.08] bg-white/[0.02]"
|
filtersOpen ? "border-accent/30 bg-accent/[0.05]" : "border-white/[0.08] bg-white/[0.02]"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<Filter className="w-4 h-4 text-white/40" />
|
<Filter className="w-4 h-4 text-white/40" />
|
||||||
<span className="text-xs font-mono text-white/60">Filters</span>
|
<span className="text-xs font-mono text-white/60">Filters</span>
|
||||||
{activeFiltersCount > 0 && (
|
{activeFiltersCount > 0 && (
|
||||||
<span className="px-1.5 py-0.5 text-[9px] font-bold bg-blue-400 text-black">{activeFiltersCount}</span>
|
<span className="px-1.5 py-0.5 text-[9px] font-bold bg-accent text-black">{activeFiltersCount}</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<ChevronRight className={clsx("w-4 h-4 text-white/30 transition-transform", filtersOpen && "rotate-90")} />
|
<ChevronRight className={clsx("w-4 h-4 text-white/30 transition-transform", filtersOpen && "rotate-90")} />
|
||||||
@ -452,7 +455,7 @@ export default function MarketPage() {
|
|||||||
className={clsx(
|
className={clsx(
|
||||||
"px-3 py-1.5 text-[10px] font-mono uppercase border transition-colors",
|
"px-3 py-1.5 text-[10px] font-mono uppercase border transition-colors",
|
||||||
tldFilter === tld
|
tldFilter === tld
|
||||||
? "border-blue-400 bg-blue-400/10 text-blue-400"
|
? "border-accent bg-accent/10 text-accent"
|
||||||
: "border-white/[0.08] text-white/40"
|
: "border-white/[0.08] text-white/40"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
@ -579,7 +582,7 @@ export default function MarketPage() {
|
|||||||
className={clsx(
|
className={clsx(
|
||||||
"px-3 py-1.5 text-xs font-mono transition-colors border",
|
"px-3 py-1.5 text-xs font-mono transition-colors border",
|
||||||
tldFilter === tld
|
tldFilter === tld
|
||||||
? "bg-blue-400/20 text-blue-400 border-blue-400/30"
|
? "bg-accent/20 text-accent border-accent/30"
|
||||||
: "text-white/40 border-transparent hover:text-white/60"
|
: "text-white/40 border-transparent hover:text-white/60"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
@ -951,11 +954,11 @@ export default function MarketPage() {
|
|||||||
href={item.href}
|
href={item.href}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"flex-1 flex flex-col items-center justify-center gap-0.5 relative transition-colors",
|
"flex-1 flex flex-col items-center justify-center gap-0.5 relative transition-colors",
|
||||||
item.active ? "text-blue-400" : "text-white/40 active:text-white/80"
|
item.active ? "text-accent" : "text-white/40 active:text-white/80"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{item.active && (
|
{item.active && (
|
||||||
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-10 h-0.5 bg-blue-400" />
|
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-10 h-0.5 bg-accent" />
|
||||||
)}
|
)}
|
||||||
<item.icon className="w-5 h-5" />
|
<item.icon className="w-5 h-5" />
|
||||||
<span className="text-[9px] font-mono uppercase tracking-wider">{item.label}</span>
|
<span className="text-[9px] font-mono uppercase tracking-wider">{item.label}</span>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user