diff --git a/.vscode/vscode.code-snippets b/.vscode/vscode.code-snippets new file mode 100644 index 0000000..e5e9d1b --- /dev/null +++ b/.vscode/vscode.code-snippets @@ -0,0 +1,8 @@ +{ + "Add className={cn('')}": { + "scope": "javascript,javascriptreact,typescript,typescriptreact", + "prefix": "tw-cn", + "body": ["className={cn('${1}')}"], + "description": "className={cn('${1}')}", + }, +} diff --git a/package.json b/package.json index d320166..3b5a19f 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@radix-ui/react-dialog": "^1.1.1", "@radix-ui/react-popover": "^1.1.1", "@react-spring/web": "^9.7.4", "@tanstack/react-query": "^5.51.21", diff --git a/src/app/(web)/[resortId]/page.tsx b/src/app/(web)/[resortId]/page.tsx new file mode 100644 index 0000000..8d0c993 --- /dev/null +++ b/src/app/(web)/[resortId]/page.tsx @@ -0,0 +1 @@ +export { default } from '@/pages/discovery-detail/ui/discovery-detail-page'; diff --git a/src/app/(web)/layout.tsx b/src/app/(web)/layout.tsx index 6eae1e6..2466710 100644 --- a/src/app/(web)/layout.tsx +++ b/src/app/(web)/layout.tsx @@ -1,9 +1,13 @@ +'use client'; + import { cn } from '@/shared/lib'; export default function Layout({ children }: { children: React.ReactNode }) { return (
{title}
+{name}
+운행중인 슬로프 {slope ?? '-'}개
+{weather.temperature}
+{weather.description}
+{name}
-{weather}
-{temperature}°C
-