feat: relocate storefront readiness section from sidebar to top status bar
This commit is contained in:
parent
f5afefbdc5
commit
43ee2d262a
1 changed files with 32 additions and 35 deletions
|
|
@ -45,10 +45,41 @@ export const StorefrontPage: React.FC = () => {
|
|||
</div>
|
||||
|
||||
<div className="px-6 sm:px-8 py-8 max-w-7xl mx-auto w-full">
|
||||
{/* Storefront Readiness Status Bar */}
|
||||
<div className="mb-8 bg-surface-container-lowest rounded-2xl p-6 shadow-sm border border-outline-variant/30 flex flex-col gap-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="font-headline-sm text-headline-sm text-on-surface font-semibold">Storefront Readiness</span>
|
||||
<span className="font-label-sm text-label-sm text-tertiary-container font-bold bg-tertiary-container/10 px-2.5 py-1 rounded-full">Ready</span>
|
||||
</div>
|
||||
<div className="flex flex-col md:flex-row gap-4">
|
||||
<div className="flex-1 flex items-center gap-3 p-3 rounded-xl bg-surface-container-low border border-outline-variant/20">
|
||||
<span className="material-symbols-outlined text-tertiary-container text-[20px]">check_circle</span>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-label-md text-label-md text-on-surface font-semibold">Banner & Logo Added</span>
|
||||
<span className="font-label-sm text-label-sm text-on-surface-variant">High-res imagery visible to shoppers</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex-1 flex items-center gap-3 p-3 rounded-xl bg-surface-container-low border border-outline-variant/20">
|
||||
<span className="material-symbols-outlined text-tertiary-container text-[20px]">check_circle</span>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-label-md text-label-md text-on-surface font-semibold">Heritage Story Complete</span>
|
||||
<span className="font-label-sm text-label-sm text-on-surface-variant">Craft background established</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex-1 flex items-center gap-3 p-3 rounded-xl bg-surface-container-low border border-outline-variant/20">
|
||||
<span className="material-symbols-outlined text-tertiary-container text-[20px]">check_circle</span>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-label-md text-label-md text-on-surface font-semibold">GI Credentials Linked</span>
|
||||
<span className="font-label-sm text-label-sm text-on-surface-variant">Registry verification active</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 xl:grid-cols-12 gap-8 items-start">
|
||||
|
||||
{/* Main Column */}
|
||||
<div className="xl:col-span-8 flex flex-col gap-6">
|
||||
<div className="xl:col-span-12 flex flex-col gap-6">
|
||||
|
||||
{/* Banner & Avatar Card */}
|
||||
<div className="bg-surface-container-lowest rounded-2xl border border-outline-variant/30 shadow-sm overflow-hidden flex flex-col">
|
||||
|
|
@ -285,40 +316,6 @@ export const StorefrontPage: React.FC = () => {
|
|||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{/* Right Sidebar (Readiness) */}
|
||||
<div className="xl:col-span-4 flex flex-col gap-6 sticky top-24">
|
||||
<div className="bg-surface-container-lowest rounded-2xl p-6 shadow-sm border border-outline-variant/30 flex flex-col gap-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="font-headline-sm text-headline-sm text-on-surface font-semibold">Storefront Readiness</span>
|
||||
<span className="font-label-sm text-label-sm text-tertiary-container font-bold bg-tertiary-container/10 px-2.5 py-1 rounded-full">Ready</span>
|
||||
</div>
|
||||
<div className="flex flex-col gap-3">
|
||||
<div className="flex items-center gap-3 p-2.5 rounded-xl bg-surface-container-low">
|
||||
<span className="material-symbols-outlined text-tertiary-container text-[20px]">check_circle</span>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-label-md text-label-md text-on-surface font-semibold">Banner & Logo Added</span>
|
||||
<span className="font-label-sm text-label-sm text-on-surface-variant">High-res imagery visible to shoppers</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center gap-3 p-2.5 rounded-xl bg-surface-container-low">
|
||||
<span className="material-symbols-outlined text-tertiary-container text-[20px]">check_circle</span>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-label-md text-label-md text-on-surface font-semibold">Heritage Story Complete</span>
|
||||
<span className="font-label-sm text-label-sm text-on-surface-variant">Craft background established</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center gap-3 p-2.5 rounded-xl bg-surface-container-low">
|
||||
<span className="material-symbols-outlined text-tertiary-container text-[20px]">check_circle</span>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-label-md text-label-md text-on-surface font-semibold">GI Credentials Linked</span>
|
||||
<span className="font-label-sm text-label-sm text-on-surface-variant">Registry verification active</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue