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

8630
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

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