fix: update HTML structure and paths for favicon and assets
This commit is contained in:
10
index.html
10
index.html
@@ -1,10 +1,10 @@
|
|||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/public/favicon.ico" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Vite App</title>
|
<title>snusxd :D</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -12,7 +12,7 @@ const lastfmusername = 'snsxd'
|
|||||||
const header = ref('silence...')
|
const header = ref('silence...')
|
||||||
const artist = ref('artist')
|
const artist = ref('artist')
|
||||||
const track = ref('track')
|
const track = ref('track')
|
||||||
const labelurl = ref('public/default-cover.png')
|
const labelurl = ref('/public/default-cover.png')
|
||||||
|
|
||||||
// colors
|
// colors
|
||||||
const border_color = ref('#656565')
|
const border_color = ref('#656565')
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ body {
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Iosevka';
|
font-family: 'Iosevka';
|
||||||
src: url('public/fonts/sgr_iosevka_regular.woff2') format('woff2');
|
src: url('/public/fonts/sgr_iosevka_regular.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
@@ -15,5 +15,4 @@ export async function ChangeTitle(refvar: Ref, old_string: string, new_string: s
|
|||||||
refvar.value = new_array.slice(0, i + 1).join(' ')
|
refvar.value = new_array.slice(0, i + 1).join(' ')
|
||||||
await sleep(100)
|
await sleep(100)
|
||||||
}
|
}
|
||||||
// refvar.value = new_string
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user