Skip to content

Commit eb489f6

Browse files
authored
Feat/440 공연소식 웹 호버 적용 (#441)
* fix: 공연소식 전체탭 - 링크 이동/수정하기 버튼 안보이는 이슈 해결 * fix: 공연소식 세부탭 - 링크 이동 에러/수정하기 버튼 안보이는 이슈 해결 * feat: 공연소식 호버 및 애니메이션 적용
1 parent 2e9f33d commit eb489f6

3 files changed

Lines changed: 427 additions & 353 deletions

File tree

src/feature/performanceNews/performanceList/api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
// src/feature/performanceList/api.ts
22

3-
import { api } from '@/api/api';
4-
import type { PerformanceListQuery, PerformanceListResponse } from './types';
3+
import { api } from "@/api/api";
4+
import type { PerformanceListQuery, PerformanceListResponse } from "./types";
55

66
export const getPerformanceList = async (
77
query: PerformanceListQuery
88
): Promise<PerformanceListResponse> => {
99
const { status, isUsed, page = 0 } = query;
1010

1111
console.log(isUsed);
12-
const res = await api.get('/performance/', {
12+
const res = await api.get("/performance/", {
1313
params: {
1414
status,
1515

16-
...(typeof isUsed === 'boolean' ? { isUsed } : {}),
16+
...(typeof isUsed === "boolean" ? { isUsed } : {}),
1717
page,
1818
},
1919
});

src/feature/performanceNews/performanceList/types.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// src/feature/performanceList/types.ts
22

3-
export type PerformanceStatus = 'ONGOING' | 'UPCOMING' | 'PAST';
3+
export type PerformanceStatus = "ONGOING" | "UPCOMING" | "PAST";
44

55
export type PerformanceListQuery = {
66
status: PerformanceStatus;
@@ -14,8 +14,10 @@ export type PerformanceListItem = {
1414
title: string;
1515
place: string;
1616
startDate: string; // 'YYYY-MM-DD'
17-
endDate: string; // 'YYYY-MM-DD'
17+
endDate: string; // 'YYYY-MM-DD'
1818
isUsed: boolean;
19+
isOwner: boolean;
20+
link: string;
1921
};
2022

2123
export type PerformanceListResponse = PerformanceListItem[];

0 commit comments

Comments
 (0)