mirror of
https://github.com/UofCBaja/BajaUofCWebsite.git
synced 2025-07-11 13:47:13 -06:00
added upcomingEvents: css started need to add button to previous events
This commit is contained in:
@ -77,8 +77,11 @@ const getReturnValues = (countDown) => {
|
||||
};
|
||||
|
||||
const ShowCounter = ({ days, hours, minutes, seconds }) => {
|
||||
let dangerDays = days > 10 ? "" : "dangerDays";
|
||||
return (
|
||||
<div id="counter">
|
||||
<div
|
||||
className={dangerDays}
|
||||
id="counter">
|
||||
<DateTimeDisplay
|
||||
valueAwayFrom={days}
|
||||
discriptor={"Days"}
|
||||
@ -106,7 +109,7 @@ const DateTimeDisplay = ({ valueAwayFrom, discriptor }) => {
|
||||
return (
|
||||
<div>
|
||||
<p>{valueAwayFrom}</p>
|
||||
<span>{discriptor}</span>
|
||||
<p>{discriptor}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user