- {PRIMARY_LINKS.map((item) => (
-
- ))}
-
- }
- >
-
- Mehr
-
-
- {MORE_LINKS.map((item) => (
- }>
- {item.label}
-
- ))}
- {user.role === "ADMIN"
- ? ADMIN_LINKS.map((item) => (
- }>
- {item.label}
-
- ))
- : null}
-
-
+
+
+
+ {user.email}
+
+
-
-
-
-
- {user.email}
-
-
+
+
-
-
{children}
+
diff --git a/ApiCore-Frontend/src/app/(app)/page-transition.tsx b/ApiCore-Frontend/src/app/(app)/page-transition.tsx
new file mode 100644
index 0000000..351fdfd
--- /dev/null
+++ b/ApiCore-Frontend/src/app/(app)/page-transition.tsx
@@ -0,0 +1,13 @@
+"use client";
+
+import { ReactNode } from "react";
+import { usePathname } from "next/navigation";
+
+export function PageTransition({ children }: { children: ReactNode }) {
+ const pathname = usePathname();
+ return (
+