Moving static files, adding robots, adding sitemap

This commit is contained in:
Firq 2023-03-14 21:49:13 +01:00
parent 82b5709faa
commit 247f07a4e5
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
107 changed files with 168 additions and 63 deletions

View file

@ -7,8 +7,8 @@ export interface Props {
const { mlb, link, name } = Astro.props
const ce_img: string = `/ce/${link}.webp`
const mlb_ce: string = `/ce/mlb.webp`
const ce_img: string = `/assets/ce/${link}.webp`
const mlb_ce: string = `/assets/ce/mlb.webp`
let mlb_image: string = 'mlbalign'
if (mlb === 'false') {

View file

@ -6,7 +6,7 @@ export interface Props {
}
const { image, link, site } = Astro.props
const icon: string = `background-image: url('/social/${image}.webp')`
const icon: string = `background-image: url('/assets/social/${image}.webp')`
---
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={site}>

View file

@ -8,7 +8,7 @@ export interface Props {
const { link, image, origin, name } = Astro.props
const img: string = `/favourites/${image}.webp`
const img: string = `/assets/favourites/${image}.webp`
---
<a href={link} target="_blank" rel="noopener noreferrer">

View file

@ -3,7 +3,7 @@
<header>
<a href="/" rel="noopener noreferrer" aria-label="Home">
<img src="/logo.svg" alt="" />
<img src="/assets/logo.svg" alt="" />
</a>
<ul class="desktop">
<slot />

View file

@ -13,8 +13,8 @@ export interface Props {
const { bond10, ml, image_bond, image_servant, np, skills, level, name } =
Astro.props
const servant_img: string = `/servant/${image_servant}.webp`
const bondce_img: string = `/ce/bond-ce/${image_bond}.webp`
const servant_img: string = `/assets/servant/${image_servant}.webp`
const bondce_img: string = `/assets/ce/bond-ce/${image_bond}.webp`
let bondce_css: string = 'bond-ce'
if (bond10 === 'false') {

View file

@ -16,7 +16,7 @@ const options_date: Intl.DateTimeFormatOptions = {
}
const formatted_date = new Date(date).toLocaleDateString('de-DE', options_date)
const icon: string = `background: url('/ta_icons/${image}.webp')`
const icon: string = `background: url('/assets/ta_icons/${image}.webp')`
let hasuser = ''
if (user !== undefined) {

View file

@ -7,7 +7,7 @@ export interface Props {
const { image, link, title } = Astro.props
const icon: string = `background-image: url('/technologies/${image}.webp')`
const icon: string = `background-image: url('/assets/technologies/${image}.webp')`
---
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>