refactor: everything except product page
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script lang="ts">
|
||||
import * as Carousel from '$lib/components/ui/carousel'
|
||||
import { Badge, type BadgeVariant } from '$lib/components/ui/badge'
|
||||
import { Separator } from '$lib/components/ui/separator'
|
||||
import ColorVariations from '$lib/components/ui/variations/ColorVariations.svelte'
|
||||
@@ -17,12 +16,6 @@
|
||||
import type { ImageCarouselItem } from '$lib/components/ui/image-carousel'
|
||||
import { ShopList, type TShopListItem } from '$lib/components/ui/shopList'
|
||||
|
||||
async function crawlClevertronik() {
|
||||
const response = await fetch('/crawl', { method: 'POST' })
|
||||
const productName = await response.json()
|
||||
console.log(productName)
|
||||
}
|
||||
|
||||
type ProductBadge = {
|
||||
text: string
|
||||
variant: BadgeVariant
|
||||
|
||||
Reference in New Issue
Block a user