import styles from "./schedule.module.scss";

const KUSchedule = ({ title="복수전공 신청" }) => {
    return (
        <div className="card w-75 rounded-0 border-dark mx-auto">
            <div className={`card-header rounded-0 px-1 ${styles.header}`}>
                <img className={styles.ku_tiger} src={process.env.PUBLIC_URL + '/ku-tiger(bgX).png'} alt="어흥이" />
            </div>
            <div className="card-body text-center pb-2">
                {title.length > 12 ? <marquee className={`card-title fs-5 ${styles.flowText}`} scrollamount="6">{title}</marquee> : <h5 className="card-title">{title}</h5>}
                <p className="card-text text-secondary mb-1">21.09.27 ~ 21.09.29</p>
                <p className="text-start mb-0">복수전공신청</p>
            </div>
        </div>
    )
}

export default KUSchedule