Commit ad5717c2 authored by Kim, Subin's avatar Kim, Subin
Browse files

todo url 날짜 추가

parent 1bdb67ff
...@@ -24,7 +24,7 @@ function App() { ...@@ -24,7 +24,7 @@ function App() {
<Route path="/home" component={HomePage} /> <Route path="/home" component={HomePage} />
<Route path="/schedule/edit" component={ScheduleEditPage} /> <Route path="/schedule/edit" component={ScheduleEditPage} />
<Route path="/schedule/:date" component={SchedulePage} /> <Route path="/schedule/:date" component={SchedulePage} />
<Route path="/todo" component={ToDoPage} /> <Route path="/todo/:date" component={ToDoPage} />
<Route path="/studyplan/edit" component={StudyPlanEditPage} /> <Route path="/studyplan/edit" component={StudyPlanEditPage} />
<Route path="/studyplan/:" component={StudyPlanPage} /> <Route path="/studyplan/:" component={StudyPlanPage} />
<Route path="/studyplan" component={StudyPlanListPage} /> <Route path="/studyplan" component={StudyPlanListPage} />
......
...@@ -30,7 +30,7 @@ const Menu = () => { ...@@ -30,7 +30,7 @@ const Menu = () => {
<p className={`form-check-label border-bottom border-2 fs-5 pb-1 me-3 ${styles.title}`}>sdasdsadad</p> <p className={`form-check-label border-bottom border-2 fs-5 pb-1 me-3 ${styles.title}`}>sdasdsadad</p>
<input className={`form-check-input rounded-0 border-dark shadow-none mt-1 ${styles.checkBox}`} type="checkbox" id="inlineCheckbox1" value="" aria-label="checkbox" /> <input className={`form-check-input rounded-0 border-dark shadow-none mt-1 ${styles.checkBox}`} type="checkbox" id="inlineCheckbox1" value="" aria-label="checkbox" />
</div> </div>
<Link className="d-flex justify-content-center text-dark text-decoration-none" to="/todo"> <Link className="d-flex justify-content-center text-dark text-decoration-none" to={`/todo/${moment().format("YYYY-MM-DD")}`}>
<i className="bi bi-plus-lg me-2"></i> <i className="bi bi-plus-lg me-2"></i>
<p className="mb-0">더보기</p> <p className="mb-0">더보기</p>
</Link> </Link>
......
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