Hopefully fixes image links
This commit is contained in:
parent
045dae84b9
commit
e954be1e08
6 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@ import { defineConfig } from 'astro/config';
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
sitemap: true,
|
sitemap: true,
|
||||||
base: '/',
|
base: '/fgosite',
|
||||||
outDir: 'public',
|
outDir: 'public',
|
||||||
publicDir: 'static',
|
publicDir: 'static',
|
||||||
site: 'https://firq.pages.neshweb.net/fgosite/'
|
site: 'https://firq.pages.neshweb.net/fgosite/'
|
||||||
|
|
|
@ -7,7 +7,7 @@ export interface Props {
|
||||||
|
|
||||||
const {mlb, link, name } = Astro.props;
|
const {mlb, link, name } = Astro.props;
|
||||||
|
|
||||||
const ce_img: string = `ce/${link}.webp`;
|
const ce_img: string = `/ce/${link}.webp`;
|
||||||
let mlb_image: string = "mlbalign";
|
let mlb_image: string = "mlbalign";
|
||||||
|
|
||||||
if(mlb === "false") {
|
if(mlb === "false") {
|
||||||
|
@ -21,7 +21,7 @@ if(mlb === "false") {
|
||||||
<img class="ce-crop" src={ce_img} alt={name}>
|
<img class="ce-crop" src={ce_img} alt={name}>
|
||||||
</div>
|
</div>
|
||||||
<div class={mlb_image}>
|
<div class={mlb_image}>
|
||||||
<img class="mlb" src="ce/mlb.webp" alt="Max-limit broken"/>
|
<img class="mlb" src="/ce/mlb.webp" alt="Max-limit broken"/>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ export interface Props {
|
||||||
|
|
||||||
const {image, origin, name } = Astro.props;
|
const {image, origin, name } = Astro.props;
|
||||||
|
|
||||||
const img: string = `favourites/${image}.webp`;
|
const img: string = `/favourites/${image}.webp`;
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<a href="/" rel="noopener noreferrer" aria-label="Home">
|
<a href="/" rel="noopener noreferrer" aria-label="Home">
|
||||||
<img src="link_192.png" alt="">
|
<img src="/link_192.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<ul class="desktop">
|
<ul class="desktop">
|
||||||
<slot />
|
<slot />
|
||||||
|
|
|
@ -12,8 +12,8 @@ export interface Props {
|
||||||
|
|
||||||
const {bond10, ml, image_bond, image_servant, np, skills, level, name } = Astro.props;
|
const {bond10, ml, image_bond, image_servant, np, skills, level, name } = Astro.props;
|
||||||
|
|
||||||
const servant_img: string = `servant/${image_servant}.webp`;
|
const servant_img: string = `/servant/${image_servant}.webp`;
|
||||||
const bondce_img: string = `ce/bond-ce/${image_bond}.webp`
|
const bondce_img: string = `/ce/bond-ce/${image_bond}.webp`
|
||||||
let bondce_css: string = "bond-ce";
|
let bondce_css: string = "bond-ce";
|
||||||
|
|
||||||
if(bond10 === "false") {
|
if(bond10 === "false") {
|
||||||
|
|
|
@ -7,7 +7,7 @@ export interface Props {
|
||||||
|
|
||||||
const { image, link, title } = Astro.props;
|
const { image, link, title } = Astro.props;
|
||||||
|
|
||||||
const icon: string = `background: url('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>
|
||||||
|
|
Loading…
Reference in a new issue