move selfservice tables to medreport schema

add base medusa store frontend
This commit is contained in:
Danel Kungla
2025-07-07 13:46:22 +03:00
parent 297dd7c221
commit 2e62e4b0eb
237 changed files with 33991 additions and 189 deletions

View File

@@ -0,0 +1,45 @@
import { LocalizedClientLink } from '~/medusa/modules/common/components';
import { ChevronDownIcon } from '~/medusa/modules/common/icons';
import { MedusaCTA } from '~/medusa/modules/layout/components';
export default function CheckoutLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<div className="small:min-h-screen relative w-full bg-white">
<div className="h-16 border-b bg-white">
<nav className="content-container flex h-full items-center justify-between">
<LocalizedClientLink
href="/cart"
className="text-small-semi text-ui-fg-base flex flex-1 basis-0 items-center gap-x-2 uppercase"
data-testid="back-to-cart-link"
>
<ChevronDownIcon className="rotate-90" size={16} />
<span className="small:block txt-compact-plus text-ui-fg-subtle hover:text-ui-fg-base mt-px hidden">
Back to shopping cart
</span>
<span className="small:hidden txt-compact-plus text-ui-fg-subtle hover:text-ui-fg-base mt-px block">
Back
</span>
</LocalizedClientLink>
<LocalizedClientLink
href="/"
className="txt-compact-xlarge-plus text-ui-fg-subtle hover:text-ui-fg-base uppercase"
data-testid="store-link"
>
Medusa Store
</LocalizedClientLink>
<div className="flex-1 basis-0" />
</nav>
</div>
<div className="relative" data-testid="checkout-container">
{children}
</div>
<div className="flex w-full items-center justify-center py-4">
<MedusaCTA />
</div>
</div>
);
}