Skip to content

Commit

Permalink
Update front/src/main/home.jsx
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Filimon <[email protected]>
  • Loading branch information
flomonster and SharglutDev committed Jul 5, 2024
1 parent 6836ee9 commit 20fac63
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions front/src/main/home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ export default function Home() {
const { t } = useTranslation('home/home');

let logo = defaultLogo;
if (new Date().getMonth() === 5) {
enum MONTH_VALUES {
JUNE: 5,
DECEMBER: 11
}

if (new Date().getMonth() === MONTH_VALUES.JUNE) {
logo = proudLogo;
} else if (new Date().getMonth() === 11) {
} else if (new Date().getMonth() === MONTH_VALUES.DECEMBER) {
logo = xmasLogo;
}

Expand Down

0 comments on commit 20fac63

Please sign in to comment.