Skip to content
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

feat: 검색창 애니메이션 적용 #9

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@tanstack/react-query": "^5.59.8",
"@tanstack/react-query-devtools": "^5.59.8",
"axios": "^1.7.7",
"es-hangul": "^2.2.1",
"jotai": "^2.10.0",
"overlay-kit": "^1.4.1",
"react": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function App() {
return (
<ReactOverlayProvider>
<QueryProvider>
<RouterProvider router={routes} />
<SemoThemeProvider>
<RouterProvider router={routes} />
<SemoGlobalStyles />
</SemoThemeProvider>
</QueryProvider>
Expand Down
65 changes: 65 additions & 0 deletions src/features/search/data/professors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[
{
"name": "권순일",
"labLocation": "대양AI 624호",
"phoneNumber": "02-3408-3847",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"name": "백성욱",
"labLocation": "대양AI 622호",
"phoneNumber": "02-3408-3797",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"name": "이종원",
"labLocation": "대양AI 619호",
"phoneNumber": "02-3408-3798",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"name": "송오영",
"labLocation": "대양AI 625호",
"phoneNumber": "02-3408-3830",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"name": "최준연",
"labLocation": "대양AI 620호",
"phoneNumber": "02-3408-3887",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"name": "박상일",
"labLocation": "대양AI 626호",
"phoneNumber": "02-3408-3832",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"name": "변재욱",
"labLocation": "대양AI 604호",
"phoneNumber": "02-3408-1847",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"name": "이은상",
"labLocation": "대양AI 621호",
"phoneNumber": "02-3408-2975",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"name": "정승화",
"labLocation": "대양AI 623호",
"phoneNumber": "02-3408-3795",
"email": "[email protected]",
"department": "소프트웨어학과"
}
]
95 changes: 95 additions & 0 deletions src/features/search/data/total.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"professor": [
{
"id": 0,
"name": "권순일",
"labLocation": "대양AI 624호",
"phoneNumber": "02-3408-3847",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"id": 1,
"name": "백성욱",
"labLocation": "대양AI 622호",
"phoneNumber": "02-3408-3797",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"id": 2,
"name": "이종원",
"labLocation": "대양AI 619호",
"phoneNumber": "02-3408-3798",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"id": 3,
"name": "송오영",
"labLocation": "대양AI 625호",
"phoneNumber": "02-3408-3830",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"id": 4,
"name": "최준연",
"labLocation": "대양AI 620호",
"phoneNumber": "02-3408-3887",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"id": 5,
"name": "박상일",
"labLocation": "대양AI 626호",
"phoneNumber": "02-3408-3832",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"id": 6,
"name": "변재욱",
"labLocation": "대양AI 604호",
"phoneNumber": "02-3408-1847",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"id": 7,
"name": "이은상",
"labLocation": "대양AI 621호",
"phoneNumber": "02-3408-2975",
"email": "[email protected]",
"department": "소프트웨어학과"
},
{
"id": 8,
"name": "정승화",
"labLocation": "대양AI 623호",
"phoneNumber": "02-3408-3795",
"email": "[email protected]",
"department": "소프트웨어학과"
}
],
"sites": [
{
"id": 0,
"type": 1,
"name": "학사정보시스템",
"description": "",
"url": "https://sjpt.sejong.ac.kr",
"keywords" : ["수강신청", "등록금"]
},

{
"id": 1,
"type": 0,
"name": "Tutorial Sejong",
"description": "수강신청 연습 사이트",
"url": "https://tutorial-sejong.com",
"keywords" : ["수강신청", "연습"]
}
]
}
65 changes: 65 additions & 0 deletions src/features/search/logo/logo_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/features/search/logo/logo_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/features/search/models/Professor.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export interface Professor {
name: string;
labLocation: string;
phoneNumber: string;
email: string;
department: string;
}
20 changes: 20 additions & 0 deletions src/features/search/models/models.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export interface Professor {
id: number;
name: string;
labLocation: string;
phoneNumber: string;
email: string;
department: string;
}

export interface Site {
id: number;
type: number;
name: string;
description: string;
url: string;
keywords: string[];
}

// 검색 결과를 위한 유니온 타입
export type SearchResultTypes = Professor | Site;
Loading
Loading