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
12 changes: 5 additions & 7 deletions frontend/src/pages/curriculum/CurriculumPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,19 @@ function SessionInfo({ session, isAdmin }) {
{showDetail && <span className={styles.sessionHost}>{session.hostName}</span>}
</div>
{showDetail && (
<div className={styles.sessionDetailRow}>
<span className={styles.sessionDetailLabel}>세션 자료</span>
<div className={styles.sessionDetailRow}>
{session.sessionMaterialUrl
? <a href={session.sessionMaterialUrl} className={styles.sessionLink} target="_blank" rel="noreferrer">{session.sessionMaterialName || '링크'}</a>
: <span className={styles.sessionDetailVal}>{session.sessionMaterialName || '-'}</span>
? <a href={session.sessionMaterialUrl} className={styles.sessionLink} target="_blank" rel="noreferrer"><span className={styles.sessionDetailLabel}>세션 자료</span>{session.sessionMaterialName || '링크'}</a>
: <span className={styles.sessionDetailVal}>{session.sessionMaterialName || ''}</span>
}
</div>
)}
{showRecording && (
<div className={styles.sessionDetailRow}>
{session.recordingUrl
? <a href={session.recordingUrl} className={styles.sessionLink} target="_blank" rel="noreferrer">녹화본</a>
: <span className={styles.sessionDetailVal}>-</span>
? <a href={session.recordingUrl} className={styles.sessionLink} target="_blank" rel="noreferrer">녹화본 {session.recordingPassword && <span className={styles.sessionPw}>PW : {session.recordingPassword}</span>}</a>
: <span className={styles.sessionDetailVal}></span>
}
{session.recordingPassword && <span className={styles.sessionPw}>PW : {session.recordingPassword}</span>}
</div>
)}
</div>
Expand Down
20 changes: 13 additions & 7 deletions frontend/src/pages/curriculum/CurriculumPage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,19 @@
white-space: nowrap;
}

.sessionDetailRow {
.sessionDetailRow:hover .sessionDetailLabel,
.sessionDetailRow:hover .sessionLink,
.sessionDetailRow:hover .sessionPw,
.sessionDetailRow:hover .sessionDetailVal {
color: var(--dark);
transition: color 0.2s ease-in-out;
}
.sessionLink {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 3px 0 3px 26px;
}

.sessionLink {
font-family: var(--font-main);
font-size: 0.9rem;
color: var(--black);
Expand Down Expand Up @@ -242,10 +246,12 @@
font-family: var(--font-main);
font-size: 0.9rem;
color: var(--black);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: flex;
align-items: center;
gap: 6px;
text-align: right;
flex-wrap: nowrap;
overflow: hidden;
}

/* 과제 */
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/pages/pirocheck/PIroCheckMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ function PIroCheckMain() {
];

const memberMenus = [
{ label: 'ATTENDANCE CHECK', path: '/pirocheck/attendance' },
{ label: 'ASSIGNMENT CHECK', path: '/pirocheck/assignment' },
{ label: 'DEPOSIT CHECK', path: '/pirocheck/deposit' },
{ label: '출석 체크', path: '/pirocheck/attendance' },
{ label: '과제 체크', path: '/pirocheck/assignment' },
{ label: '보증금 체크', path: '/pirocheck/deposit' },
];

const menus = role === 'ADMIN' ? adminMenus : memberMenus;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/pirocheck/PIroCheckMain.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
border: none;
border-radius: 10px;
color: var(--main);
font-family: var(--font-title);
font-family: var(--font-main);
font-size: 2rem;
font-weight: 800;
cursor: pointer;
Expand Down
Loading