Skip to content
Merged
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
5 changes: 4 additions & 1 deletion .github/workflows/_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
ga_measurement_id:
required: true
type: string
social_login_base_url:
required: true
type: string

jobs:
deploy:
Expand All @@ -35,7 +38,7 @@ jobs:
env:
VITE_GA_MEASUREMENT_ID: ${{ inputs.ga_measurement_id }}
VITE_API_URL: ${{ vars.VITE_API_URL }}
VITE_SOCIAL_LOGIN_BASE_URL: ${{ vars.VITE_SOCIAL_LOGIN_BASE_URL }}
VITE_SOCIAL_LOGIN_BASE_URL: ${{ inputs.social_login_base_url }}

- name: Deploy to S3 and Invalidate Cloudfront
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ jobs:
bucket_name: hangsha-web-dev
distribution_id: E3FWQLYH2W4XLU
ga_measurement_id: ${{ vars.VITE_GA_MEASUREMENT_ID_DEV }}
social_login_base_url: ${{ vars.VITE_SOCIAL_LOGIN_BASE_URL_DEV }}
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ jobs:
bucket_name: hangsha-web-prod
distribution_id: E1UQAE6HOA8O14
ga_measurement_id: ${{ vars.VITE_GA_MEASUREMENT_ID_PROD }}
social_login_base_url: ${{ vars.VITE_SOCIAL_LOGIN_BASE_URL_PROD }}
secrets: inherit
2 changes: 1 addition & 1 deletion src/api/bugReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export interface CreateBugReportRequest {
}

export const createBugReport = async (body: CreateBugReportRequest) => {
await api.post("/api/v1/bug-reports", body);
await api.post("/bug-reports", body);
};
8 changes: 7 additions & 1 deletion src/pages/timetable/TimetablePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,14 @@ export default function TimetablePage() {
선택된 시간표가 없어요
</div>
<div style={{ opacity: 0.7, lineHeight: 1.5 }}>
왼쪽 사이드바에서 시간표를 추가하거나 선택해 주세요.
<span className={styles.emptyDesktop}>
왼쪽 사이드바에서 시간표를 추가하거나 선택해 주세요.
</span>
<span className={styles.emptyMobile}>
시간표는 데스크탑 뷰에서 설정해주세요!
</span>
</div>

</div>
) : (
<TimetableGrid
Expand Down
14 changes: 14 additions & 0 deletions src/styles/Timetable.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,13 @@
height: 60vh;
}

.emptyDesktop {
display: block;
}
.emptyMobile {
display: none;
}

@media (max-width: 576px) {
.page,
.AddClassPanelClosed,
Expand Down Expand Up @@ -609,4 +616,11 @@
.notFound {
display: flex;
}

.emptyDesktop {
display: none;
}
.emptyMobile {
display: block;
}
}
Loading