Le righe task di oggi restavano crema con testo chiaro; i badge e gli heading senza dark: si perdevano sullo sfondo. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
819 B
ERB
19 lines
819 B
ERB
<div class="space-y-6">
|
|
<div class="flex flex-wrap items-center justify-between gap-3">
|
|
<h1 class="text-xl font-semibold md:text-2xl">Task</h1>
|
|
<%= link_to "Nuovo task", new_task_path, class: "#{btn_primary} w-full sm:w-auto" %>
|
|
</div>
|
|
<section>
|
|
<h2 class="mb-2 text-sm font-semibold uppercase text-rose-700 dark:text-rose-400">In ritardo</h2>
|
|
<%= render "shared/task_list", tasks: @overdue_tasks %>
|
|
</section>
|
|
<section>
|
|
<h2 class="mb-2 text-sm font-semibold uppercase text-amber-700 dark:text-amber-400">Oggi</h2>
|
|
<%= render "shared/task_list", tasks: @today_tasks %>
|
|
</section>
|
|
<section>
|
|
<h2 class="mb-2 text-sm font-semibold uppercase text-zinc-600 dark:text-zinc-400">Prossimi 30 giorni</h2>
|
|
<%= render "shared/task_list", tasks: @upcoming_tasks %>
|
|
</section>
|
|
</div>
|