import { BRAND_NAME } from "@lib/brand" import { Metadata } from "next" import ProfilePhone from "@modules/account//components/profile-phone" import ProfileBillingAddress from "@modules/account/components/profile-billing-address" import ProfileEmail from "@modules/account/components/profile-email" import ProfileName from "@modules/account/components/profile-name" import ProfilePassword from "@modules/account/components/profile-password" import { notFound } from "next/navigation" import { listRegions } from "@lib/data/regions" import { retrieveCustomer } from "@lib/data/customer" export const metadata: Metadata = { title: "Profile", description: `View and edit your ${'${BRAND_NAME}'} profile.`, } export default async function Profile() { const customer = await retrieveCustomer() const regions = await listRegions() if (!customer || !regions) { notFound() } return (

Profile

View and update your profile information, including your name, email, and phone number. You can also update your billing address, or change your password.

{/* */}
) } const Divider = () => { return
} ;``