small visual fixes + upgrade to astro v4

This commit is contained in:
Firq 2023-12-20 23:48:28 +01:00
parent c4670958fe
commit 73d0debc1e
Signed by: Firq
GPG key ID: 4DE1059A4666E89F
5 changed files with 5088 additions and 3576 deletions

View file

@ -1,14 +0,0 @@
image: node:lts
pages:
cache:
paths:
- node_modules/
script:
- npm install
- npm run build
artifacts:
paths:
- public
expire_in: 3 days
only:
- main

8606
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,8 +11,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/sitemap": "^1.2.1",
"astro": "^2.8.0",
"iconoir": "^6.1.0"
"@astrojs/check": "^0.3.3",
"@astrojs/sitemap": "^3.0.3",
"astro": "^4.0.7",
"iconoir": "^6.1.0",
"typescript": "^5.3.3"
}
}

View file

@ -42,18 +42,20 @@ const fulllink = `/${slug}`
width: 200px;
}
li > a {
display: inline-flex;
color: white;
text-decoration: none;
justify-content: center;
align-items: center;
align-items: flex-end;
font-size: 1.4em;
height: 100%;
font-weight: bold;
gap: 0.2em;
}
li > a:hover {
color: var(--c-purplepink);
}
.current {
color: var(--c-darkpurple);
color: var(--c-darkpurple) !important;
}
</style>

View file

@ -2,17 +2,17 @@
{
"link": "/",
"text": "Home",
"icon": "iconoir-home-alt"
"icon": "iconoir-home"
},
{
"link": "/servants",
"text": "Servants",
"icon": "iconoir-database-script"
"icon": "iconoir-task-list"
},
{
"link": "/ta-collection",
"text": "TA Collection",
"icon": "iconoir-db"
"icon": "iconoir-database"
},
{
"link": "/blog",