changed around to using .. and import

This commit is contained in:
Firq 2023-03-04 22:59:16 +01:00
parent 80e678ce8d
commit 97454c0685
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
5 changed files with 7 additions and 7 deletions

View file

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

View file

@ -7,7 +7,7 @@ export interface Props {
const {image, origin, name } = Astro.props;
const img: string = `${Astro.site}/favourites/${image}.webp`;
const img: string = `../favourites/${image}.webp`;
---

View file

@ -1,5 +1,5 @@
---
const headerimg = `${Astro.site}/link_192.png`
import headerimg from "../../static/link_192.png"
---
<header>

View file

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