chore(debug): auth
This commit is contained in:
33
app/[lang]/(live)/(protected)/my-pages2/profile/layout.tsx
Normal file
33
app/[lang]/(live)/(protected)/my-pages2/profile/layout.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
import MaxWidth from "@/components/MaxWidth"
|
||||
|
||||
import type { ProfileLayoutProps } from "@/types/components/myPages/myProfile/layout"
|
||||
|
||||
export default function ProfileLayout({
|
||||
children,
|
||||
communication,
|
||||
creditCards,
|
||||
edit,
|
||||
membershipCard,
|
||||
password,
|
||||
profile,
|
||||
view,
|
||||
wishes,
|
||||
}: React.PropsWithChildren<ProfileLayoutProps>) {
|
||||
return (
|
||||
<MaxWidth className="profile-page" tag="main">
|
||||
<div className="profile-btns">
|
||||
{edit}
|
||||
{view}
|
||||
</div>
|
||||
{profile}
|
||||
{children}
|
||||
<section className="profile-cards">
|
||||
{communication}
|
||||
{wishes}
|
||||
{membershipCard}
|
||||
{creditCards}
|
||||
{password}
|
||||
</section>
|
||||
</MaxWidth>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user