updates, tweaks

This commit is contained in:
Evert Prants 2023-04-04 19:20:17 +03:00
parent 46f128ce27
commit 75bb84399b
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
4 changed files with 3159 additions and 3135 deletions

View File

@ -3,6 +3,7 @@
flex-direction: column; flex-direction: column;
color: #eee; color: #eee;
min-height: 100vh; min-height: 100vh;
background-color: #313131;
.section-expand { .section-expand {
flex-grow: 1; flex-grow: 1;

6271
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,15 +8,15 @@
"postinstall": "nuxt prepare" "postinstall": "nuxt prepare"
}, },
"devDependencies": { "devDependencies": {
"@types/marked": "^4.0.7", "@types/marked": "^4.0.8",
"marked": "^4.2.3", "marked": "^4.3.0",
"nuxt": "^3.0.0", "nuxt": "^3.3.3",
"prettier": "^2.8.0", "prettier": "^2.8.7",
"yaml": "^2.1.3" "yaml": "^2.2.1"
}, },
"dependencies": { "dependencies": {
"feed": "^4.2.2", "feed": "^4.2.2",
"highlight.js": "^11.7.0", "highlight.js": "^11.7.0",
"sass": "^1.56.1" "sass": "^1.60.0"
} }
} }

View File

@ -179,8 +179,8 @@ const socialLinks = [
}, },
]; ];
const currentYear = new Date().getFullYear(); const currentYear = computed(() => new Date().getFullYear());
const evertAge = (() => { const evertAge = computed(() => {
const today = new Date(); const today = new Date();
const birthDate = new Date('2000-04-18'); const birthDate = new Date('2000-04-18');
let age = today.getFullYear() - birthDate.getFullYear(); let age = today.getFullYear() - birthDate.getFullYear();
@ -189,5 +189,5 @@ const evertAge = (() => {
age--; age--;
} }
return age; return age;
})(); });
</script> </script>