From cb815177a12c423399d3f7f055e0f94b38482817 Mon Sep 17 00:00:00 2001 From: chop Date: Mon, 26 Jan 2026 22:46:24 +0100 Subject: [PATCH] feat: Enhance contact cards with dynamic type filtering and hover effects --- src/app/contacts/page.js | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/src/app/contacts/page.js b/src/app/contacts/page.js index 6d2b5a1..c370e7b 100644 --- a/src/app/contacts/page.js +++ b/src/app/contacts/page.js @@ -207,7 +207,10 @@ export default function ContactsPage() { {/* Stats */} {stats && (
- + setTypeFilter('all')} + >
{stats.total_contacts} @@ -215,7 +218,10 @@ export default function ContactsPage() {
Wszystkie
- + setTypeFilter('project')} + >
{stats.project_contacts} @@ -223,7 +229,10 @@ export default function ContactsPage() {
Projekty
- + setTypeFilter('contractor')} + >
{stats.contractor_contacts} @@ -231,7 +240,10 @@ export default function ContactsPage() {
Wykonawcy
- + setTypeFilter('office')} + >
{stats.office_contacts} @@ -239,7 +251,10 @@ export default function ContactsPage() {
Urzędy
- + setTypeFilter('supplier')} + >
{stats.supplier_contacts} @@ -247,7 +262,10 @@ export default function ContactsPage() {
Dostawcy
- + setTypeFilter('other')} + >
{stats.other_contacts}