Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongWon-CHO committed Oct 15, 2024
2 parents 9878794 + 2b15f7a commit 60ac658
Show file tree
Hide file tree
Showing 69 changed files with 2,083 additions and 1,191 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/reviewer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,14 @@
"githubName": "daepan",
"team" : "business"
},
{
"name": "윤해진",
"githubName": "haejinyun",
"team" : "user"
},
{
"name": "김혜준",
"githubName": "hyejun0228",
"team" : "user"
},
{
"name": "김도훈",
"githubName": "dooohun",
"name": "서예진",
"githubName": "Yejin0070",
"team" : "user"
},
{
Expand Down
69 changes: 69 additions & 0 deletions .pnp.cjs

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

Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/fsevents-patch-21ad2b1333-8.zip
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"react-router-dom": "^6.9.0",
"react-scripts": "5.0.1",
"react-toastify": "^10.0.4",
"react-tooltip": "^5.28.0",
"sass": "^1.60.0",
"typescript": "^4.4.2",
"vite": "^5.2.12",
Expand Down
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import AuthLayout from 'layout/AuthLayout';
import DefaultLayout from 'layout/DefaultLayout';
import Coop from 'pages/Coop';
import Login from 'pages/Login';
import Setting from 'pages/Setting';
import { useCoopMe } from 'query/auth';

function ProtectedRoute() {
Expand All @@ -29,6 +30,7 @@ function App() {
<Route element={<DefaultLayout />}>
<Route path="/" element={<Coop />} />
</Route>
<Route path="/setting" element={<Setting />} />
</Route>
<Route element={<PublicRoute />}>
<Route element={<AuthLayout />}>
Expand Down
11 changes: 10 additions & 1 deletion src/api/dinings/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
import { accessClient } from 'api';
import { DiningsParams, OriginalDinings } from 'models/dinings';
import { DiningsParams, OriginalDinings, DiningExcelParams } from 'models/dinings';

export const getDinings = async (date: DiningsParams) => {
const { data } = await accessClient.get<DiningsParams>(`/dinings?date=${date}`);
return OriginalDinings.parse(data);
};

export const getExcel = async (params: DiningExcelParams) => {
const response = await accessClient.get(
`/coop/dining/excel?startDate=${params.startDate}&endDate=${params.endDate}&isCafeteria=${params.isCafeteria}`,
{ responseType: 'blob' },
);

return response;
};
Binary file removed src/assets/fonts/NotoSansKR-Medium.woff2
Binary file not shown.
Binary file removed src/assets/fonts/NotoSansKR-Regular.woff2
Binary file not shown.
Binary file added src/assets/fonts/PretendardVariable.woff2
Binary file not shown.
3 changes: 1 addition & 2 deletions src/assets/styles/fonts.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
@use "./mixin.scss";
@include mixin.font-face("NotoSansKR", "/assets/fonts/NotoSansKR-Regular", 400);
@include mixin.font-face("NotoSansKR", "/assets/fonts/NotoSansKR-Medium", 500);
@include mixin.font-face("Pretandard", "/assets/fonts/PretandardVariable", 400, normal);
8 changes: 8 additions & 0 deletions src/assets/svg/auth/menu.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: 7 additions & 2 deletions src/assets/svg/auth/search-glasses.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/svg/auth/search-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/common/arrow-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/svg/common/arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/svg/common/arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/svg/common/download-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/svg/common/download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 60ac658

Please sign in to comment.