@@ -4,6 +4,8 @@ import ReactCalendar from 'react-calendar';
44import 'react-calendar/dist/Calendar.css' ;
55import CalendarActivitySection from './CalendarActivitySection' ;
66import styles from './CommunityCalendar.module.css' ;
7+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' ;
8+ import { faClock , faLocationDot , faTag , faCircleCheck } from '@fortawesome/free-solid-svg-icons' ;
79import axios from 'axios' ;
810import { ENDPOINTS } from '../../../utils/URL' ;
911
@@ -548,10 +550,33 @@ export default function CommunityCalendar() {
548550 < div >
549551 < h3 > { event . title } </ h3 >
550552 < div className = { styles . selectedEventMeta } >
551- < span > { event . time } </ span >
552- < span > { event . location } </ span >
553- < span > { event . type } </ span >
554- < span > { event . status } </ span >
553+ < ul className = { styles . selectedEventMeta } >
554+ < li className = { styles . metaItem } >
555+ < FontAwesomeIcon icon = { faClock } className = { styles . metaIcon } />
556+ < span > { event . time } </ span >
557+ </ li >
558+
559+ < li className = { styles . metaItem } >
560+ < FontAwesomeIcon
561+ icon = { faLocationDot }
562+ className = { styles . metaIcon }
563+ />
564+ < span > { event . location } </ span >
565+ </ li >
566+
567+ < li className = { styles . metaItem } >
568+ < FontAwesomeIcon icon = { faTag } className = { styles . metaIcon } />
569+ < span > { event . type } </ span >
570+ </ li >
571+
572+ < li className = { styles . metaItem } >
573+ < FontAwesomeIcon
574+ icon = { faCircleCheck }
575+ className = { styles . metaIcon }
576+ />
577+ < span > { event . status } </ span >
578+ </ li >
579+ </ ul >
555580 </ div >
556581 </ div >
557582 < button
0 commit comments