This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in package.json | |
/* | |
{ | |
"engines": { | |
"node": ">=16", | |
"npm": ">=7" | |
}, | |
"scripts": { | |
"preinstall": "node checkNodeVersion", | |
"prestart": "node checkNodeVersion", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const REDUCER_ACTION = 'REDUCER_ACTION'; | |
export type ReducerState = { | |
action: boolean | |
} | |
const defaultReducerState = { | |
action: false | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.w-150px { | |
max-width: 150px; | |
} | |
.w-200px { | |
max-width: 200px; | |
} | |
.w-250px { | |
max-width: 250px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setWeatherIcon(condid) { | |
var icon = ''; | |
switch(condid) { | |
case '0': icon = 'wi-tornado'; | |
break; | |
case '1': icon = 'wi-storm-showers'; | |
break; | |
case '2': icon = 'wi-tornado'; | |
break; | |
case '3': icon = 'wi-thunderstorm'; |