fix link and text for navigation

This commit is contained in:
smanylov
2026-02-02 12:49:31 +07:00
parent b4249c7f38
commit 19e807a7f6
2 changed files with 13 additions and 5 deletions
@@ -1,3 +1,5 @@
import Link from 'next/link';
export default function DashboardLastCheck() {
return (
<div className="dashboard-last-check">
@@ -7,12 +9,18 @@ export default function DashboardLastCheck() {
17.10.2025 в 10:23</div>
</div>
<div className="last-check-actions">
<button className="btn-report">
<Link
className="btn-report"
href={'reports'}
>
📄 Отчёт
</button>
<button className="btn-new-search">
</Link>
<Link
className="btn-new-search"
href={'violations'}
>
🔍 Мониторинг нарушений
</button>
</Link>
</div>
</div>
)
+1 -1
View File
@@ -20,7 +20,7 @@
"img": "M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm4 18v-6h2.5l-2.54-7.63A1.5 1.5 0 0 0 18.54 8H16c-.8 0-1.54.37-2 1l-3 4v2h2l2.54-3.82L16.5 18H20z"
},
{
"name": "violations",
"name": "violations-few",
"href": "/pages/violations",
"img": "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
},