changed around to using .. and import
This commit is contained in:
parent
80e678ce8d
commit
97454c0685
5 changed files with 7 additions and 7 deletions
|
@ -7,8 +7,8 @@ export interface Props {
|
||||||
|
|
||||||
const {mlb, link, name } = Astro.props;
|
const {mlb, link, name } = Astro.props;
|
||||||
|
|
||||||
const ce_img: string = `${Astro.site}/ce/${link}.webp`;
|
const ce_img: string = `../ce/${link}.webp`;
|
||||||
const mlb_ce: string = `${Astro.site}/ce/mlb.webp`
|
const mlb_ce: string = `../ce/mlb.webp`
|
||||||
let mlb_image: string = "mlbalign";
|
let mlb_image: string = "mlbalign";
|
||||||
|
|
||||||
if(mlb === "false") {
|
if(mlb === "false") {
|
||||||
|
|
|
@ -7,7 +7,7 @@ export interface Props {
|
||||||
|
|
||||||
const {image, origin, name } = Astro.props;
|
const {image, origin, name } = Astro.props;
|
||||||
|
|
||||||
const img: string = `${Astro.site}/favourites/${image}.webp`;
|
const img: string = `../favourites/${image}.webp`;
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
const headerimg = `${Astro.site}/link_192.png`
|
import headerimg from "../../static/link_192.png"
|
||||||
---
|
---
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
|
|
@ -7,7 +7,7 @@ export interface Props {
|
||||||
|
|
||||||
const { image, link, title } = Astro.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}>
|
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
|
||||||
<article>
|
<article>
|
||||||
|
|
|
@ -10,7 +10,7 @@ export interface Props {
|
||||||
|
|
||||||
const { currentpage, title } = Astro.props;
|
const { currentpage, title } = Astro.props;
|
||||||
const description: string = "A reference for all esports Servants, CEs and already completed TAs that Firq can provide. Contact information available as well.";
|
const description: string = "A reference for all esports Servants, CEs and already completed TAs that Firq can provide. Contact information available as well.";
|
||||||
const favicon_url = `${Astro.site}favicon.ico`
|
import favicon from "../../static/favicon.ico"
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
@ -18,7 +18,7 @@ const favicon_url = `${Astro.site}favicon.ico`
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/ico" href={favicon_url} />
|
<link rel="icon" type="image/ico" href={favicon} />
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
<meta property="og:title" content="Firq TA Reference" />
|
<meta property="og:title" content="Firq TA Reference" />
|
||||||
<meta property="og:url" content="https://firq.pages.neshweb.net/fgosite/" />
|
<meta property="og:url" content="https://firq.pages.neshweb.net/fgosite/" />
|
||||||
|
|
Loading…
Reference in a new issue