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
Binary file added frontend/public/img/boom-filled-green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/img/boom-filled-red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/img/tabler--boom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion frontend/src/Attendance.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useState } from "react";
import Header from "./components/Header";
import InputBlock from "./components/InputBlock";
import AttendanceWeekInfo from "./components/AttendanceWeekInfo";
import styles from "./Attendance.module.css";

const Attendance = () => {
Expand Down Expand Up @@ -36,7 +37,24 @@ const Attendance = () => {
Submit
</button>
)}
<div className={styles.attend_img_container}></div>
<div className={styles.attend_img_container}>
<div className={styles.boom_icon}>
<img src="img/tabler--boom.png" />
</div>
<div className={styles.boom_icon}>
<img src="img/tabler--boom.png" />
</div>
<div className={styles.boom_icon}>
<img src="img/tabler--boom.png" />
</div>
</div>
<div className={styles.attend_week_container}>
<AttendanceWeekInfo week={1} />
<AttendanceWeekInfo week={2} />
<AttendanceWeekInfo week={3} />
<AttendanceWeekInfo week={4} />
<AttendanceWeekInfo week={5} />
</div>
</div>
);
};
Expand Down
15 changes: 15 additions & 0 deletions frontend/src/Attendance.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@
right: 63px;
padding: 7px;
}
.attend_img_container {
display: flex;
gap: 22px;
width: 100%;
padding-block: 40px;
justify-content: center;
}
.boom_icon {
width: 70px;
height: 65px;
}
.boom_icon > img {
width: 100%;
height: 100%;
}
12 changes: 12 additions & 0 deletions frontend/src/components/AttendanceWeekInfo.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from "react";
import "./componentsCss/AttendanceWeekInfo.css";

const AttendanceWeekInfo = ({ week }) => {
return (
<div className="eachWeekInfo">
<p className="weekInfo">{week}주차</p>
</div>
);
};

export default AttendanceWeekInfo;
16 changes: 16 additions & 0 deletions frontend/src/components/componentsCss/AttendanceWeekInfo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.eachWeekInfo {
width: 270px;
padding: 14px;
border-radius: 20px;
background-color: #6e6e6e;
border: 1px solid #d9d9d9;
margin-block: 20px;
display: flex;
align-items: center;
}
.weekInfo {
font-weight: 600;
font-size: 15px;
color: #ffffff;
font-family: "Inter", sans-serif;
}
Loading