StealThis .dev
页面 中等

Gym — Member Dashboard

A high-energy member home for a performance gym on a dark neon-lime theme. A greeting header with avatar and tier sits above a quick-action bar, then a live next-class countdown with an animating check-in, a fiery streak widget with a seven-day dots row, weekly activity stat cards, an interactive goals ring that fills as you toggle targets, an achievements badge row, and a cancellable upcoming-bookings list. Vanilla JS, responsive to 360px.

在 Lab 中打开
html css vanilla-js
目标: JS HTML

代码

Member Dashboard

A bold, athletic home screen for a gym member, built on the dark performance palette with a neon-lime and orange accent system. The header greets the member by time of day with an avatar and a Gold-tier pill, followed by a large tap-friendly quick-action bar — Book class, Log workout, and Scan in. Below it a responsive card grid lays out everything at a glance: a featured next class with a ticking hours/minutes/seconds countdown, a streak widget showing a 12-day run and the last seven days as glowing dots, weekly stat cards for workouts, minutes, calories and trend, a weekly goals panel, a recent-achievements badge row, and a list of upcoming bookings.

The screen is genuinely interactive. The countdown updates every second toward the next session; checking in fires a ripple animation, locks the button into a confirmed state, bumps the streak and fills today’s dot. Toggling any goal recomputes the SVG progress ring — its stroke offset animates and turns from lime to green at 100% — while the percentage badge and center count stay in sync. Every action surfaces a small toast, bookings can be cancelled with a slide-out, and the notification bell clears its unread dot.

The layout collapses from a six-column grid to two columns and then a single stacked column, staying usable down to ~360px with visible focus rings and keyboard-operable controls throughout.