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 { return {
banner: banner.json(), banner: banner.json(),
celebrity: celebrity.json(), // celebrity: celebrity.json(),
newArrival: newArival.json(), newArrival: newArival.json(),
trending: trending.json() trending: trending.json()
}; };

View File

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