|
1 | 1 | 'use client' |
2 | 2 |
|
3 | 3 | import { motion } from 'framer-motion' |
4 | | -import { Cpu, Globe2, Radio } from 'lucide-react' |
| 4 | +import { Cpu, Globe2 } from 'lucide-react' |
5 | 5 | import { useEffect, useMemo, useState } from 'react' |
6 | 6 |
|
7 | 7 | import type { FreebuffLiveStats } from '@/server/live-stats' |
@@ -245,11 +245,6 @@ function WorldMap({ stats }: { stats: FreebuffLiveStats }) { |
245 | 245 | </div> |
246 | 246 | </div> |
247 | 247 | )} |
248 | | - |
249 | | - <div className="absolute left-4 top-4 flex items-center gap-2 rounded-md border border-white/10 bg-black/45 px-3 py-2 text-xs text-white/65 backdrop-blur"> |
250 | | - <Radio className="h-3.5 w-3.5 text-acid-matrix" aria-hidden /> |
251 | | - <span>Updated {formattedTime(stats.generatedAt)}</span> |
252 | | - </div> |
253 | 248 | </section> |
254 | 249 | ) |
255 | 250 | } |
@@ -333,22 +328,27 @@ export default function LiveClient({ |
333 | 328 | <div className="relative container mx-auto px-4 pb-6 pt-10 md:pb-8 md:pt-14"> |
334 | 329 | <div className="flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between"> |
335 | 330 | <div> |
336 | | - <h1 className="flex max-w-3xl items-center gap-4 font-serif text-4xl leading-tight text-white md:text-6xl"> |
337 | | - <motion.span |
338 | | - aria-hidden |
339 | | - className="h-3 w-3 shrink-0 rounded-full bg-acid-matrix shadow-[0_0_18px_rgba(124,255,63,0.9)] md:h-4 md:w-4" |
340 | | - animate={{ |
341 | | - opacity: [0.45, 1, 0.45], |
342 | | - scale: [0.86, 1.18, 0.86], |
343 | | - }} |
344 | | - transition={{ |
345 | | - duration: 1.8, |
346 | | - repeat: Infinity, |
347 | | - ease: 'easeInOut', |
348 | | - }} |
349 | | - /> |
350 | | - Freebuff live |
351 | | - </h1> |
| 331 | + <div className="flex flex-wrap items-baseline gap-x-4 gap-y-2"> |
| 332 | + <h1 className="flex max-w-3xl items-center gap-4 font-serif text-4xl leading-tight text-white md:text-6xl"> |
| 333 | + <motion.span |
| 334 | + aria-hidden |
| 335 | + className="h-3 w-3 shrink-0 rounded-full bg-acid-matrix shadow-[0_0_18px_rgba(124,255,63,0.9)] md:h-4 md:w-4" |
| 336 | + animate={{ |
| 337 | + opacity: [0.45, 1, 0.45], |
| 338 | + scale: [0.86, 1.18, 0.86], |
| 339 | + }} |
| 340 | + transition={{ |
| 341 | + duration: 1.8, |
| 342 | + repeat: Infinity, |
| 343 | + ease: 'easeInOut', |
| 344 | + }} |
| 345 | + /> |
| 346 | + Freebuff live |
| 347 | + </h1> |
| 348 | + <span className="whitespace-nowrap text-sm text-white/45 md:text-base"> |
| 349 | + Updated {formattedTime(stats.generatedAt)} |
| 350 | + </span> |
| 351 | + </div> |
352 | 352 | </div> |
353 | 353 | </div> |
354 | 354 |
|
|
0 commit comments