Files
web/app/[lang]/(live)/(protected)/my-pages/profile/layout.tsx
Christel Westerberg 2886084a82 feat: add communication preferences
feat: add generatePreferencesLink

feat: add subscriberId endpoint
2024-10-08 08:25:44 +02:00

23 lines
523 B
TypeScript

import Divider from "@/components/TempDesignSystem/Divider"
import type { ProfileLayoutProps } from "@/types/components/myPages/myProfile/layout"
export default function ProfileLayout({
children,
communication,
creditCards,
profile,
}: React.PropsWithChildren<ProfileLayoutProps>) {
return (
<main>
{children}
<section className="profile-layout">
{profile}
<Divider color="burgundy" opacity={8} />
{creditCards}
{communication}
</section>
</main>
)
}