diff --git a/assets/js/cards.js b/assets/js/cards.js index 7eaee81..9cb0a53 100644 --- a/assets/js/cards.js +++ b/assets/js/cards.js @@ -2,7 +2,6 @@ // │ ├─┤├┬┘ ││└─┐ // └─┘┴ ┴┴└──┴┘└─┘ - const printCards = () => { for (const card of CONFIG.cards) { console.log(card.id); @@ -10,18 +9,14 @@ const printCards = () => { let item = ` - + `; - const position = "beforeend"; + const position = 'beforeend'; buttonsContainer.insertAdjacentHTML(position, item); } diff --git a/assets/js/greeting.js b/assets/js/greeting.js index 8268193..03c167b 100644 --- a/assets/js/greeting.js +++ b/assets/js/greeting.js @@ -1,3 +1,7 @@ +// ┌─┐┬─┐┌─┐┌─┐┌┬┐┬┌┐┌┌─┐┌─┐ +// │ ┬├┬┘├┤ ├┤ │ │││││ ┬└─┐ +// └─┘┴└─└─┘└─┘ ┴ ┴┘└┘└─┘└─┘ + // Get the hour const today = new Date(); const hour = today.getHours(); diff --git a/assets/js/theme.js b/assets/js/theme.js index b97b2db..06c4234 100644 --- a/assets/js/theme.js +++ b/assets/js/theme.js @@ -1,3 +1,7 @@ +// ┌┬┐┬ ┬┌─┐┌┬┐┌─┐ +// │ ├─┤├┤ │││├┤ +// ┴ ┴ ┴└─┘┴ ┴└─┘ + // Store the theme let darkTheme = localStorage.getItem('darkTheme'); const themeToggle = document.querySelector('#themeButton'); @@ -35,6 +39,6 @@ themeToggle.addEventListener('click', () => { } }); -if(CONFIG.imageBackground) { +if (CONFIG.imageBackground) { document.body.classList.add('withImageBackground'); -} \ No newline at end of file +} diff --git a/config.js b/config.js index acf0cee..6293d4f 100644 --- a/config.js +++ b/config.js @@ -28,7 +28,6 @@ const CONFIG = { weatherUnit: 'C', weatherLatitude: '37.774929', weatherLongitude: '-122.419418', - // ┌─┐┌─┐┬─┐┌┬┐┌─┐ // │ ├─┤├┬┘ ││└─┐