diff --git a/src/app/(events)/(access)/(layout)/contacts/page.tsx b/src/app/(events)/(access)/(layout)/contacts/page.tsx new file mode 100644 index 00000000..86cea3d2 --- /dev/null +++ b/src/app/(events)/(access)/(layout)/contacts/page.tsx @@ -0,0 +1,5 @@ +import { Contacts } from '@/views/contacts/Contacts'; + +export default function Page() { + return ; +} diff --git a/src/app/(app)/(layout)/dashboard/page.tsx b/src/app/(events)/(access)/(layout)/dashboard/page.tsx similarity index 100% rename from src/app/(app)/(layout)/dashboard/page.tsx rename to src/app/(events)/(access)/(layout)/dashboard/page.tsx diff --git a/src/app/(app)/(layout)/layout.tsx b/src/app/(events)/(access)/(layout)/layout.tsx similarity index 100% rename from src/app/(app)/(layout)/layout.tsx rename to src/app/(events)/(access)/(layout)/layout.tsx diff --git a/src/app/(app)/(layout)/settings/2fa/page.tsx b/src/app/(events)/(access)/(layout)/settings/2fa/page.tsx similarity index 100% rename from src/app/(app)/(layout)/settings/2fa/page.tsx rename to src/app/(events)/(access)/(layout)/settings/2fa/page.tsx diff --git a/src/app/(app)/(layout)/settings/appearance/page.tsx b/src/app/(events)/(access)/(layout)/settings/appearance/page.tsx similarity index 100% rename from src/app/(app)/(layout)/settings/appearance/page.tsx rename to src/app/(events)/(access)/(layout)/settings/appearance/page.tsx diff --git a/src/app/(app)/(layout)/settings/language/page.tsx b/src/app/(events)/(access)/(layout)/settings/language/page.tsx similarity index 100% rename from src/app/(app)/(layout)/settings/language/page.tsx rename to src/app/(events)/(access)/(layout)/settings/language/page.tsx diff --git a/src/app/(app)/(layout)/settings/page.tsx b/src/app/(events)/(access)/(layout)/settings/page.tsx similarity index 100% rename from src/app/(app)/(layout)/settings/page.tsx rename to src/app/(events)/(access)/(layout)/settings/page.tsx diff --git a/src/app/(app)/(layout)/settings/passkeys/page.tsx b/src/app/(events)/(access)/(layout)/settings/passkeys/page.tsx similarity index 100% rename from src/app/(app)/(layout)/settings/passkeys/page.tsx rename to src/app/(events)/(access)/(layout)/settings/passkeys/page.tsx diff --git a/src/app/(app)/(layout)/settings/password/page.tsx b/src/app/(events)/(access)/(layout)/settings/password/page.tsx similarity index 100% rename from src/app/(app)/(layout)/settings/password/page.tsx rename to src/app/(events)/(access)/(layout)/settings/password/page.tsx diff --git a/src/app/(app)/(layout)/swaps/page.tsx b/src/app/(events)/(access)/(layout)/swaps/page.tsx similarity index 100% rename from src/app/(app)/(layout)/swaps/page.tsx rename to src/app/(events)/(access)/(layout)/swaps/page.tsx diff --git a/src/app/(app)/(layout)/transactions/[id]/page.tsx b/src/app/(events)/(access)/(layout)/transactions/[id]/page.tsx similarity index 100% rename from src/app/(app)/(layout)/transactions/[id]/page.tsx rename to src/app/(events)/(access)/(layout)/transactions/[id]/page.tsx diff --git a/src/app/(app)/(layout)/transactions/page.tsx b/src/app/(events)/(access)/(layout)/transactions/page.tsx similarity index 100% rename from src/app/(app)/(layout)/transactions/page.tsx rename to src/app/(events)/(access)/(layout)/transactions/page.tsx diff --git a/src/app/(app)/(layout)/wallet/receive/page.tsx b/src/app/(events)/(access)/(layout)/wallet/receive/page.tsx similarity index 100% rename from src/app/(app)/(layout)/wallet/receive/page.tsx rename to src/app/(events)/(access)/(layout)/wallet/receive/page.tsx diff --git a/src/app/(app)/(layout)/wallet/send/page.tsx b/src/app/(events)/(access)/(layout)/wallet/send/page.tsx similarity index 100% rename from src/app/(app)/(layout)/wallet/send/page.tsx rename to src/app/(events)/(access)/(layout)/wallet/send/page.tsx diff --git a/src/app/(app)/(layout)/wallet/settings/page.tsx b/src/app/(events)/(access)/(layout)/wallet/settings/page.tsx similarity index 100% rename from src/app/(app)/(layout)/wallet/settings/page.tsx rename to src/app/(events)/(access)/(layout)/wallet/settings/page.tsx diff --git a/src/app/(app)/layout.tsx b/src/app/(events)/(access)/layout.tsx similarity index 100% rename from src/app/(app)/layout.tsx rename to src/app/(events)/(access)/layout.tsx diff --git a/src/app/(app)/setup/wallet/new/page.tsx b/src/app/(events)/(access)/setup/wallet/new/page.tsx similarity index 100% rename from src/app/(app)/setup/wallet/new/page.tsx rename to src/app/(events)/(access)/setup/wallet/new/page.tsx diff --git a/src/app/(app)/setup/wallet/page.tsx b/src/app/(events)/(access)/setup/wallet/page.tsx similarity index 100% rename from src/app/(app)/setup/wallet/page.tsx rename to src/app/(events)/(access)/setup/wallet/page.tsx diff --git a/src/app/(app)/setup/wallet/restore/page.tsx b/src/app/(events)/(access)/setup/wallet/restore/page.tsx similarity index 100% rename from src/app/(app)/setup/wallet/restore/page.tsx rename to src/app/(events)/(access)/setup/wallet/restore/page.tsx diff --git a/src/app/(app)/(layout)/contacts/page.tsx b/src/app/(events)/layout.tsx similarity index 78% rename from src/app/(app)/(layout)/contacts/page.tsx rename to src/app/(events)/layout.tsx index 7644a427..1d1c4ff5 100644 --- a/src/app/(app)/(layout)/contacts/page.tsx +++ b/src/app/(events)/layout.tsx @@ -1,9 +1,12 @@ import { cookies } from 'next/headers'; import { EventHandler } from '@/components/events/Events'; -import { Contacts } from '@/views/contacts/Contacts'; -export default function Page() { +export default function Layout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { const eventsUrl = process.env.EVENTS_URL; const cookieStore = cookies(); @@ -14,7 +17,7 @@ export default function Page() { {accessToken && eventsUrl ? ( ) : null} - + {children} ); }