Skip to content

Commit d1d989f

Browse files
authored
Frontend/yuhoyeong/guide api connect (#83)
## 📝작업 내용 > 가이드 api 연결 및 마크다운 적용 ## 💬리뷰 요구사항 > 스크롤 방식 변경 논의 필요 >자세히 보기를 눌러야만 gsap opacity가 적용되는데 자세히 보기를 없애는 것도 논의 필요
1 parent e5510ff commit d1d989f

File tree

19 files changed

+939
-595
lines changed

19 files changed

+939
-595
lines changed

frontend/package-lock.json

Lines changed: 294 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"react-router": "^7.8.2",
2424
"react-router-dom": "^7.9.1",
2525
"rehype-highlight": "^7.0.2",
26+
"remark-gfm": "^4.0.1",
2627
"zustand": "^5.0.8"
2728
},
2829
"devDependencies": {

frontend/src/api/core/query-config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const queryKeys = {
5454
GUIDE: {
5555
ALL: ['guide'] as const,
5656
CATEGORIES: ['guide', 'categories'] as const,
57+
BY_CATEGORY: (category: string) => ['guide', 'category', category] as const,
5758
ITEMS: (category?: string) => category ? ['guide', 'items', category] : ['guide', 'items'] as const,
5859
},
5960

frontend/src/api/guide/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// src/api/guide/index.ts - 가이드 관련 API export
2+
3+
export {
4+
useGuideData,
5+
useGuideCategories,
6+
} from './useGuideData';
7+
8+
export { guideService } from '../services/guideService';

0 commit comments

Comments
 (0)