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

carousel 우선은 버튼 달아둠..

parent 5eea07bc
...@@ -28,10 +28,18 @@ const ScheduleCarousel = () => { ...@@ -28,10 +28,18 @@ const ScheduleCarousel = () => {
<div className="carousel-inner"> <div className="carousel-inner">
{scheduleList.length !== 0 ? {scheduleList.length !== 0 ?
scheduleList.map((schedule, idx) => scheduleList.map((schedule, idx) =>
<div className={"carousel-item " + (idx === 0 ? "active" : "")}> <div className={"carousel-item" + (idx === 0 ? " active" : " ")}>
<KU key={idx} schedule={schedule} /> <KU schedule={schedule} />
</div>) : null} </div>) : null}
</div> </div>
<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="visually-hidden">Previous</span>
</button>
<button className="carousel-control-next" type="button" data-bs-target="#scheduleListCarousel" data-bs-slide="next">
<span className="carousel-control-next-icon" aria-hidden="true"></span>
<span className="visually-hidden">Next</span>
</button>
</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