chore: celebrity code removed

This commit is contained in:
2025-10-28 07:39:15 +05:45
parent bb262a386f
commit 4e35e1d338
2 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ export const load: PageServerLoad = async ({ fetch }) => {
return {
banner: banner.json(),
celebrity: celebrity.json(),
// celebrity: celebrity.json(),
newArrival: newArival.json(),
trending: trending.json()
};

View File

@@ -15,11 +15,11 @@
<div>
<h1 class="hidden">Korean Skin Care & Beauty Clinic</h1>
<HeroSlider bannerImage={data?.banner} />
{#await data?.celebrity then celebrity}
<!-- {#await data?.celebrity then celebrity}
{#if celebrity?.users?.length > 0}
<Celebrity data={data?.celebrity} />
{/if}
{/await}
{/await} -->
<!-- {#await data?.flashSale then flashSale}
{#if flashSale?.data.length > 0}