chore: celebrity code removed
This commit is contained in:
@@ -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()
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user