-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 홈페이지 레이아웃 및 리스트 페이지 #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
dff3c75
284dd73
fa9f6b9
9a5c7f0
8167609
0e5df7c
03ca5db
0f29fc1
0122266
637ee90
9fa116f
0c3432f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,34 @@ | ||||||||
| import { Suspense } from "react"; | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Client 전용 훅 사용 파일에 'use client' 누락 — 빌드 에러 가능 이 컴포넌트는 아래 패치를 적용해 주세요(Line 1 상단에 추가): + "use client";
import { Suspense } from "react";📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
|
|
||||||||
| import { ChipFilter } from "@/app/_shared/ChipFilter"; | ||||||||
| import { StoreList as StoreListComponent } from "@/app/(store)/stores/(list)/_components"; | ||||||||
| import { Bleed } from "@/components/ui/Bleed"; | ||||||||
| import { FoodCategories } from "@/components/ui/FoodCategory"; | ||||||||
| import { Spacer } from "@/components/ui/Spacer"; | ||||||||
| import { VStack } from "@/components/ui/Stack"; | ||||||||
| import { useFoodCategory } from "@/hooks/useFoodCategory"; | ||||||||
|
|
||||||||
| export const StoreList = () => { | ||||||||
| const { categories, handleSelectCategory, selectedCategory } = | ||||||||
| useFoodCategory("/"); | ||||||||
|
|
||||||||
| return ( | ||||||||
| <VStack> | ||||||||
| <Bleed inline={20}> | ||||||||
| <FoodCategories | ||||||||
| categories={categories} | ||||||||
| selectedCategory={selectedCategory} | ||||||||
| onSelectCategory={handleSelectCategory} | ||||||||
| /> | ||||||||
| </Bleed> | ||||||||
|
|
||||||||
| <Spacer size={12} /> | ||||||||
|
|
||||||||
| <ChipFilter /> | ||||||||
|
|
||||||||
| <Suspense> | ||||||||
| <StoreListComponent category={selectedCategory.name} /> | ||||||||
| </Suspense> | ||||||||
| </VStack> | ||||||||
| ); | ||||||||
| }; | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export * from "./StoreList"; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| export { RecentCheers } from "./RecentCheers"; | ||
| export { RecentlySupportedStores } from "./RecentlySupportStories"; | ||
| export { RegisterPopup } from "./RegisterPopup"; | ||
| export { StoreList } from "./StoreList"; | ||
| export { StoreStory } from "./StoreStory"; | ||
| export { Story } from "./Story"; |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
신기하고 편리한 것들이 정말 많군유 @@