icssc / AntAlmanac

A course exploration and scheduling tool for UCI Anteaters
https://antalmanac.com
MIT License
55 stars 62 forks source link

Auto-update the Logo Based on Season/Holiday #986

Closed adcockdalton closed 1 month ago

adcockdalton commented 1 month ago

Summary

Wrote out a Logo component that consolidates the logic previously used for the logo (such as should it be mobile version) and returns the appropriate logo based on the current date. To add a new seasonal logo, simply create a new Logo object in the Logos array.

Not code related, but the windows I used for the logos can be widened/updated if appropriate. Not sure how long the winter one should extend to, for example. Would love thoughts on that.

Test Plan

Issues

Closes #973 to follow up #974 and similar

Future Followup

Do we have more designs? The default logo as-is will display for 8 contiguous months.