init
This commit is contained in:
@@ -98,7 +98,7 @@ export function DashboardAnalysisCard({ analyses, runs, workouts }: Props) {
|
||||
const dayWorkouts = workouts.filter((w) => isSameDay(new Date(w.date), selectedDate));
|
||||
|
||||
return (
|
||||
<section className="flex flex-col gap-4 rounded-lg border border-muted/40 bg-surface p-4">
|
||||
<section className="flex flex-col gap-4 rounded-2xl border border-white/10 bg-surface/55 shadow-lg shadow-black/10 backdrop-blur-md p-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<h2 className="flex items-center gap-1.5 text-lg font-semibold text-fg">
|
||||
<Sparkles size={18} className="text-accent" />
|
||||
@@ -109,7 +109,7 @@ export function DashboardAnalysisCard({ analyses, runs, workouts }: Props) {
|
||||
<button
|
||||
type="submit"
|
||||
disabled={pending}
|
||||
className="rounded-md bg-accent px-3 py-1.5 text-sm font-semibold text-fg transition-opacity hover:opacity-90 disabled:opacity-50"
|
||||
className="btn btn-primary"
|
||||
>
|
||||
{pending ? "Analizuję..." : selectedAnalysis ? "Odśwież analizę" : "Generuj analizę"}
|
||||
</button>
|
||||
@@ -216,7 +216,7 @@ export function DashboardAnalysisCard({ analyses, runs, workouts }: Props) {
|
||||
<li key={run.id}>
|
||||
<Link
|
||||
href={`/running/${run.id}`}
|
||||
className="flex items-center gap-2 rounded-md border border-muted/40 bg-bg/40 px-2.5 py-1.5 transition-colors hover:border-accent/60"
|
||||
className="flex items-center gap-2 rounded-md border border-white/10 bg-bg/40 px-2.5 py-1.5 transition-colors hover:border-accent/60"
|
||||
>
|
||||
<Activity size={14} className="shrink-0 text-accent" />
|
||||
<span className="min-w-0 flex-1">
|
||||
@@ -235,7 +235,7 @@ export function DashboardAnalysisCard({ analyses, runs, workouts }: Props) {
|
||||
<li key={workout.id}>
|
||||
<Link
|
||||
href={`/strength/${workout.id}`}
|
||||
className="flex items-center gap-2 rounded-md border border-muted/40 bg-bg/40 px-2.5 py-1.5 transition-colors hover:border-accent/60"
|
||||
className="flex items-center gap-2 rounded-md border border-white/10 bg-bg/40 px-2.5 py-1.5 transition-colors hover:border-accent/60"
|
||||
>
|
||||
<Dumbbell size={14} className="shrink-0 text-accent" />
|
||||
<span className="min-w-0 flex-1">
|
||||
|
||||
Reference in New Issue
Block a user