fix: bug from url escaping

This commit is contained in:
Dimitris-Toulis 2024-09-04 16:14:43 +03:00 committed by Max Wofford
parent 1df52cb0c5
commit 2cdd2784d9
8 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
import React, { useState, useEffect } from 'react'
/** @jsxImportSource theme-ui */
const styled = `
@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap);
.slackey {
font-family: "Slackey", sans-serif;

View file

@ -5,7 +5,7 @@ import Prizes from './prizes';
/** @jsxImportSource theme-ui */
const styled = `
@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap);
.slackey {
font-family: "Slackey", sans-serif;

View file

@ -10,7 +10,7 @@ import Flag from '../../../components/flag'
/** @jsxImportSource theme-ui */
const styled = `
@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap);
.slackey {
font-family: "Slackey", sans-serif;

View file

@ -22,7 +22,7 @@ import { shopParts } from '../api/arcade/shop'
/** @jsxImportSource theme-ui */
const styled = `
@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap);
body, html {
overflow-x: hidden;
}

View file

@ -10,7 +10,7 @@ import Flag from '../../components/flag'
/** @jsxImportSource theme-ui */
const styled = `
@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap);
.slackey {
font-family: "Slackey", sans-serif;

View file

@ -10,7 +10,7 @@ import { DateTime } from 'luxon'
/** @jsxImportSource theme-ui */
const styled = `
@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap);
body, html {
overflow-x: hidden;
}

View file

@ -4,7 +4,7 @@ import styles from '../../../../../components/arcade/showcase/project-view.modul
/** @jsxImportSource theme-ui */
const styled = `
@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap);
body, html {
overflow-x: hidden;
}

View file

@ -20,7 +20,7 @@ function getStyle(style, snapshot) {
}
const styled = `
@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap');
@import url(https://fonts.googleapis.com/css2?family=Slackey&family=Emblema+One&family=Gaegu&display=swap);
body, html {
overflow-x: hidden;
color: #35290F;