fixed static assets
parent
8656302a54
commit
2aadb5b6dd
|
@ -4,17 +4,17 @@
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Jeko-SemiBold';
|
font-family: 'Jeko-SemiBold';
|
||||||
src: url('fonts/Jeko Semi Bold.ttf')
|
src: url('@fonts/Jeko Semi Bold.ttf')
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Jeko-MediumItalic';
|
font-family: 'Jeko-MediumItalic';
|
||||||
src: url('fonts/Jeko Medium Italic.ttf')
|
src: url('@fonts/Jeko Medium Italic.ttf')
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Jeko-Regular';
|
font-family: 'Jeko-Regular';
|
||||||
src: url('fonts/Jeko Regular.ttf')
|
src: url('@fonts/Jeko Regular.ttf')
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
@ -53,11 +53,11 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
#button1 {
|
#button1 {
|
||||||
background-image: url('projects.jpg');
|
background-image: url('@projects.jpg');
|
||||||
}
|
}
|
||||||
|
|
||||||
#button2 {
|
#button2 {
|
||||||
background-image: url('hosted.jpg');
|
background-image: url('@hosted.jpg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.error {
|
.error {
|
||||||
|
@ -87,7 +87,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
background-image: url('link.svg');
|
background-image: url('@link.svg');
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 50%;
|
background-size: 50%;
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
import { sveltekit } from '@sveltejs/kit/vite';
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
/** @type {import('vite').UserConfig} */
|
/** @type {import('vite').UserConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'@': path.resolve(__dirname, 'assets')
|
||||||
|
}
|
||||||
|
},
|
||||||
plugins: [sveltekit()]
|
plugins: [sveltekit()]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue