aboutsummaryrefslogtreecommitdiff
path: root/apps/web/components/new/mobile-banner.tsx
blob: 245b69523a9424c10f59c0b9710fed72e1a89fe1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"use client"

import { useIsMobile } from "@hooks/use-mobile"
import { cn } from "@lib/utils"

export function MobileBanner() {
	const isMobile = useIsMobile()

	if (!isMobile) {
		return null
	}

	return (
		<div
			className={cn(
				"bg-yellow-50 dark:bg-yellow-950/20 border-b border-yellow-200 dark:border-yellow-900/30",
				"px-4 py-2 text-xs text-yellow-800 dark:text-yellow-200 text-center",
			)}
			id="mobile-development-banner"
		>
			🚧 Mobile responsive in development. Desktop recommended.
		</div>
	)
}