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

버튼 로직 추가

parent 666389a7
...@@ -32,6 +32,7 @@ const ScheduleCarousel = () => { ...@@ -32,6 +32,7 @@ const ScheduleCarousel = () => {
<KU schedule={schedule} /> <KU schedule={schedule} />
</div>) : null} </div>) : null}
</div> </div>
{scheduleList.length > 1 ? <>
<button className="carousel-control-prev" type="button" data-bs-target="#scheduleListCarousel" data-bs-slide="prev"> <button className="carousel-control-prev" type="button" data-bs-target="#scheduleListCarousel" data-bs-slide="prev">
<span className="carousel-control-prev-icon" aria-hidden="true"></span> <span className="carousel-control-prev-icon" aria-hidden="true"></span>
<span className="visually-hidden">Previous</span> <span className="visually-hidden">Previous</span>
...@@ -40,6 +41,7 @@ const ScheduleCarousel = () => { ...@@ -40,6 +41,7 @@ const ScheduleCarousel = () => {
<span className="carousel-control-next-icon" aria-hidden="true"></span> <span className="carousel-control-next-icon" aria-hidden="true"></span>
<span className="visually-hidden">Next</span> <span className="visually-hidden">Next</span>
</button> </button>
</> : null}
</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