you will find things here.
it's a json file that you can use to get today's quick info, like calendars. sample json:
{
"date": "2024-11-04",
"name": "Avila",
"meal": "McSinghs Scotch pie",
"day": "Monday",
"quote": "My imagination can picture no fairer happiness than to continue living for art."
}
you can access it via https://sctech.netlify.app/todays-overview.json
detect the season and display buttons with the appropriate colors!
here are the colors for each season:
- spring:
lightgreen
- summer:
yellow
- autumn:
orange
- winter:
white
text
: the text to display on the buttononclick
: works like normal js onclick
<script src="https://sctech.netlify.app/pkg/seasonal-buttons.js" async defer></script>
<seasonal-button text="click me!" onclick="alert('hello!')"></seasonal-button>
you can access it via https://sctech.netlify.app/pkg/seasonal-buttons.js