-
-
- {[...Array(3 * 2)].map((_, i) => (
-
- ))}
-
-
-
- )
-}
diff --git a/src/app/[locale]/(app)/explore/_components/explore-tabs.tsx b/src/app/[locale]/(app)/explore/_components/explore-tabs.tsx
deleted file mode 100644
index 0b079228..00000000
--- a/src/app/[locale]/(app)/explore/_components/explore-tabs.tsx
+++ /dev/null
@@ -1,79 +0,0 @@
-'use client'
-
-import { Tab, Tabs } from '@nextui-org/tabs'
-import {
- Icon,
- IconBuildingStore,
- IconMapPin,
- IconRoute,
-} from '@tabler/icons-react'
-import { useTranslations } from 'next-intl'
-import { FC } from 'react'
-import { cn } from '~/helpers/cn'
-import { usePathname } from '~/navigation'
-
-export const exploreTabsData = [
- {
- key: 'places',
- icon: IconMapPin,
- },
- {
- key: 'bussinesses',
- icon: IconBuildingStore,
- },
- {
- key: 'routes',
- icon: IconRoute,
- },
-] as const satisfies {
- key: string
- icon: Icon
-}[]
-
-export const getExploreTab = (pathname: string) => {
- const tab = pathname.match(/^\/explore\/([^/]+)$/)?.[1]
- if (!tab || !exploreTabsData.some((t) => t.key === tab)) return null
- return tab as (typeof exploreTabsData)[number]['key']
-}
-
-export const ExploreTabs: FC<{
- className?: string
-}> = ({ className }) => {
- const t = useTranslations('explore')
- const pathname = usePathname()
- const tab = getExploreTab(pathname)
-
- if (!tab) return null
-
- return (
-