Dashboard: link Utworz plan w karcie Nastepny trening (styl jak Zobacz wszystkie) zamiast przycisku

This commit is contained in:
tisachi
2026-10-17 05:27:41 +02:00
parent ad8d0b5e17
commit 5dd8ed1f6f

View File

@@ -1,6 +1,6 @@
import { useEffect, useState, type ReactNode } from 'react';
import { Link } from 'react-router-dom';
import { CalendarPlus, Dumbbell, Flame, Megaphone, Play } from 'lucide-react';
import { CalendarPlus, Dumbbell, Megaphone, Play } from 'lucide-react';
import type { LucideIcon } from 'lucide-react';
import { useActiveSession, useDashboard, useFeed } from '../api/queries';
import { FeedItemRow } from '../components/FeedItemRow';
@@ -493,11 +493,11 @@ export default function Dashboard() {
</span>
) : (
!data.activePlan && (
<Link to="/plans/new">
<Button size="sm">
<Flame className="h-4 w-4" />
Utwórz plan
</Button>
<Link
to="/plans/new"
className="text-[0.8125rem] font-bold text-accent-text hover:underline"
>
Utwórz plan
</Link>
)
)}