Commit 6d46f9f2 authored by Kim, Subin's avatar Kim, Subin
Browse files

세부사항 수정

parent 34611bbb
......@@ -29,6 +29,7 @@ function App() {
<Route path="/studyplan/:" component={StudyPlanPage} />
<Route path="/studyplan" component={StudyPlanListPage} />
<Route path="/subject/edit" component={SubjectEditPage} />
<Route path="/admin/edit" component={ScheduleEditPage} />
<Route path="/admin" component={AdminPage} />
{/* <PrivateRoute path="/admin" component={AdminPage} role="admin" /> */}
......
import { Link } from "react-router-dom";
import styles from "./Schedule/schedule.module.scss";
const AdminScheduleItem = ({}) => {
return (
......@@ -8,12 +9,12 @@ const AdminScheduleItem = ({}) => {
<div className="d-flex justify-content-between">
<h3>sadsad</h3>
<div className="fs-5">
<Link><i className="bi bi-pencil-square text-dark me-1"></i></Link>
<Link to="/admin/edit"><i className="bi bi-pencil-square text-dark me-1" data-bs-dismiss="modal"></i></Link>
<i className="bi bi-trash"></i>
</div>
</div>
<p className="text-start text-secondary">2020~353543135</p>
<div className="text-start" style={{ whiteSpace: "pre-line" }}>sadsd</div>
<p className="text-start text-secondary mb-2">2020~353543135</p>
<div className={`text-start ${styles.textBox}`}>sadsds adsdsadsdsad sdsadsdsadsdsadsdsadsdsadsdsadsdsadsd</div>
</div>
</div>
)
......
......@@ -4,7 +4,7 @@ import styles from "./modal.module.scss";
const ScheduleModal = () => {
return (
<div className="modal" id="scheduleModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="scheduleModalLabel" aria-hidden="true">
<div className="modal-dialog modal-dialog-centered modal-dialog-scrollable">
<div className="modal-dialog modal-sm modal-dialog-centered modal-dialog-scrollable">
<div className="modal-content">
<div className={`modal-header ${styles.header}`}>
<h5 className="modal-title mx-auto" id="scheduleModalLabel">Modal title</h5>
......@@ -12,7 +12,7 @@ const ScheduleModal = () => {
</div>
<div className={`modal-body text-dark ${styles.body}`}>
<Item />
<p>선택한 날짜에 일정이 없습니다.</p>
<p className="mb-0">선택한 날짜에 일정이 없습니다.</p>
</div>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment