diff --git a/src/app/admin/page.js b/src/app/admin/page.js index 9ae4eb3..4c698fd 100644 --- a/src/app/admin/page.js +++ b/src/app/admin/page.js @@ -18,7 +18,7 @@ export default function AdminPage() { if (status === "loading") { return ( -
+
Loading...
); @@ -26,7 +26,7 @@ export default function AdminPage() { if (!session || session.user.role !== "admin") { return ( -
+

Access Denied @@ -70,7 +70,7 @@ export default function AdminPage() { ]; return ( -
+
diff --git a/src/app/contacts/page.js b/src/app/contacts/page.js index d7a0137..6d2b5a1 100644 --- a/src/app/contacts/page.js +++ b/src/app/contacts/page.js @@ -7,6 +7,8 @@ import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/Card"; import Button from "@/components/ui/Button"; import Badge from "@/components/ui/Badge"; import ContactForm from "@/components/ContactForm"; +import PageContainer from "@/components/ui/PageContainer"; +import PageHeader from "@/components/ui/PageHeader"; export default function ContactsPage() { const router = useRouter(); @@ -171,26 +173,19 @@ export default function ContactsPage() { if (showForm) { return ( -
+ -
+ ); } return ( -
- {/* Header */} -
-
-

Kontakty

-

- Zarządzaj kontaktami do projektów i współpracy -

-
+ + -
+ {/* Stats */} {stats && ( @@ -610,6 +605,6 @@ export default function ContactsPage() {
)} -
+ ); } diff --git a/src/app/dashboard/page.js b/src/app/dashboard/page.js index 11933dc..2b55827 100644 --- a/src/app/dashboard/page.js +++ b/src/app/dashboard/page.js @@ -3,6 +3,7 @@ import { useState, useEffect } from "react"; import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, BarChart, Bar, ComposedChart, PieChart, Pie, Cell } from 'recharts'; import { useTranslation } from "@/lib/i18n"; +import PageContainer from "@/components/ui/PageContainer"; export default function TeamLeadsDashboard() { const { t } = useTranslation(); @@ -79,7 +80,7 @@ export default function TeamLeadsDashboard() { }; return ( -
+

{t('teamDashboard.title')} @@ -284,6 +285,6 @@ export default function TeamLeadsDashboard() {

-
+ ); } \ No newline at end of file diff --git a/src/app/test-dropdowns/page.js b/src/app/test-dropdowns/page.js index 3b4157b..7c55315 100644 --- a/src/app/test-dropdowns/page.js +++ b/src/app/test-dropdowns/page.js @@ -25,7 +25,7 @@ export default function DropdownTestPage() { }; return ( -
+

Dropdown Component Test