✨ feat(card): add Business Card page

adds a page with print functionality
This commit is contained in:
2025-07-03 10:32:14 +02:00
parent 76575ead15
commit 8ba9e78a16
7 changed files with 596 additions and 0 deletions
+9
View File
@@ -10,6 +10,7 @@ const ProjectsPage = React.lazy(() => import('components/pages/ProjectsPage/inde
const CurriculumPage = React.lazy(() => import('components/pages/CurriculumPage/index.js'))
const ContactPage = React.lazy(() => import('components/pages/ContactPage/index.js'))
const PrivacyPage = React.lazy(() => import('components/pages/PrivacyPage/index.js'))
const BusinessCardPage = React.lazy(() => import('components/pages/BusinessCardPage/index.js'))
const router = createBrowserRouter([
{
@@ -57,6 +58,14 @@ const router = createBrowserRouter([
</React.Suspense>
),
},
{
path: 'card',
element: (
<React.Suspense fallback={<Loading />}>
<BusinessCardPage />
</React.Suspense>
),
},
],
},
])