Updated references to new assets location.
All references are now also absolute to escape relative references.
This commit is contained in:
@@ -82,16 +82,16 @@ export default {
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "knowit";
|
font-family: "knowit";
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
src: url("/../public/assets/fonts/bold.woff"),
|
src: url("/assets/fonts/bold.woff"),
|
||||||
url("/../public/assets/fonts/bold.woff") format("woff"), local("Arial");
|
url("/assets/fonts/bold.woff") format("woff"), local("Arial");
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "knowit";
|
font-family: "knowit";
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
src: url("/../public/assets/fonts/regular.eot"),
|
src: url("/assets/fonts/regular.eot"),
|
||||||
url("/../public/assets/fonts/regular.woff") format("woff"), local("Arial");
|
url("/assets/fonts/regular.woff") format("woff"), local("Arial");
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -654,9 +654,9 @@ hr {
|
|||||||
width: 150px;
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
-webkit-mask-image: url(/../../public/assets/images/lodd.svg);
|
-webkit-mask-image: url(/assets/images/lodd.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
mask-image: url(/../../public/assets/images/lodd.svg);
|
mask-image: url(/assets/images/lodd.svg);
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<section class="header-and-notification">
|
<section class="header-and-notification">
|
||||||
<h1 @click="startCountdown">Vinlotteri</h1>
|
<h1 @click="startCountdown">Vinlotteri</h1>
|
||||||
<img
|
<img
|
||||||
src="/public/assets/images/notification.svg"
|
src="/assets/images/notification.svg"
|
||||||
alt="Notification-bell"
|
alt="Notification-bell"
|
||||||
@click="requestNotificationAccess"
|
@click="requestNotificationAccess"
|
||||||
class="notification-request-button"
|
class="notification-request-button"
|
||||||
|
|||||||
@@ -323,9 +323,9 @@ export default {
|
|||||||
width: 150px;
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
-webkit-mask-image: url(/../../public/assets/images/lodd.svg);
|
-webkit-mask-image: url(/assets/images/lodd.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
mask-image: url(/../../public/assets/images/lodd.svg);
|
mask-image: url(/assets/images/lodd.svg);
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
|
||||||
|
|||||||
@@ -359,9 +359,9 @@ hr {
|
|||||||
width: 140px;
|
width: 140px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
-webkit-mask-image: url(/../../public/assets/images/lodd.svg);
|
-webkit-mask-image: url(/assets/images/lodd.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
mask-image: url(/../../public/assets/images/lodd.svg);
|
mask-image: url(/assets/images/lodd.svg);
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
|
|||||||
@@ -129,8 +129,8 @@ self.addEventListener("fetch", event => {
|
|||||||
function showLocalNotification(title, body, link, swRegistration) {
|
function showLocalNotification(title, body, link, swRegistration) {
|
||||||
const options = {
|
const options = {
|
||||||
body,
|
body,
|
||||||
icon: "https://lottis.vin/public/assets/images/favicon.png",
|
icon: "https://lottis.vin/assets/images/favicon.png",
|
||||||
image: "https://lottis.vin/public/assets/images/favicon.png",
|
image: "https://lottis.vin/assets/images/favicon.png",
|
||||||
vibrate: [300],
|
vibrate: [300],
|
||||||
data: { link: link }
|
data: { link: link }
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -275,9 +275,9 @@ textarea {
|
|||||||
|
|
||||||
.raffle-element {
|
.raffle-element {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
-webkit-mask-image: url(/../../public/assets/images/lodd.svg);
|
-webkit-mask-image: url(/assets/images/lodd.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
mask-image: url(/../../public/assets/images/lodd.svg);
|
mask-image: url(/assets/images/lodd.svg);
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<meta name="author" content="Kasper Rynning-Tønnesen & Kevin Midbøe" />
|
<meta name="author" content="Kasper Rynning-Tønnesen & Kevin Midbøe" />
|
||||||
<link
|
<link
|
||||||
rel="preload"
|
rel="preload"
|
||||||
href="/public/assets/fonts/bold.woff"
|
href="/assets/fonts/bold.woff"
|
||||||
as="font"
|
as="font"
|
||||||
crossorigin
|
crossorigin
|
||||||
/>
|
/>
|
||||||
@@ -23,24 +23,24 @@
|
|||||||
<link
|
<link
|
||||||
rel="apple-touch-icon"
|
rel="apple-touch-icon"
|
||||||
sizes="152x152"
|
sizes="152x152"
|
||||||
href="/public/assets/images/apple-touch-icon.png"
|
href="/assets/images/apple-touch-icon.png"
|
||||||
/>
|
/>
|
||||||
<link
|
<link
|
||||||
rel="icon"
|
rel="icon"
|
||||||
type="image/png"
|
type="image/png"
|
||||||
sizes="32x32"
|
sizes="32x32"
|
||||||
href="/public/assets/images/favicon-32x32.png"
|
href="/assets/images/favicon-32x32.png"
|
||||||
/>
|
/>
|
||||||
<link
|
<link
|
||||||
rel="icon"
|
rel="icon"
|
||||||
type="image/png"
|
type="image/png"
|
||||||
sizes="16x16"
|
sizes="16x16"
|
||||||
href="/public/assets/images/favicon-16x16.png"
|
href="/assets/images/favicon-16x16.png"
|
||||||
/>
|
/>
|
||||||
<link rel="manifest" href="/public/assets/manifest.json" />
|
<link rel="manifest" href="/assets/manifest.json" />
|
||||||
<link
|
<link
|
||||||
rel="mask-icon"
|
rel="mask-icon"
|
||||||
href="/public/assets/images/safari-pinned-tab.svg"
|
href="/assets/images/safari-pinned-tab.svg"
|
||||||
color="#23101f"
|
color="#23101f"
|
||||||
/>
|
/>
|
||||||
<meta name="msapplication-TileColor" content="#da532c" />
|
<meta name="msapplication-TileColor" content="#da532c" />
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="top-banner">
|
<div class="top-banner">
|
||||||
<!-- Mobile -->
|
<!-- Mobile -->
|
||||||
<router-link to="/" class="company-logo">
|
<router-link to="/" class="company-logo">
|
||||||
<img src="/public/assets/images/knowit.svg" alt="knowit logo" />
|
<img src="/assets/images/knowit.svg" alt="knowit logo" />
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<a class="menu-toggle-container" aria-label="show-menu" @click="toggleMenu" :class="isOpen ? 'open' : 'collapsed'" >
|
<a class="menu-toggle-container" aria-label="show-menu" @click="toggleMenu" :class="isOpen ? 'open' : 'collapsed'" >
|
||||||
|
|||||||
@@ -287,9 +287,9 @@ label .text {
|
|||||||
width: 150px;
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
-webkit-mask-image: url(/../../public/assets/images/lodd.svg);
|
-webkit-mask-image: url(/assets/images/lodd.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
mask-image: url(/../../public/assets/images/lodd.svg);
|
mask-image: url(/assets/images/lodd.svg);
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
@click="openVipps"
|
@click="openVipps"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src="/public/assets/images/vipps-logo.svg"
|
src="/assets/images/vipps-logo.svg"
|
||||||
class="vipps-logo"
|
class="vipps-logo"
|
||||||
alt="vipps logo"
|
alt="vipps logo"
|
||||||
/>
|
/>
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
pr. lodd
|
pr. lodd
|
||||||
</span>
|
</span>
|
||||||
<ing
|
<ing
|
||||||
src="/public/assets/images/vipps-qr.png"
|
src="/assets/images/vipps-qr.png"
|
||||||
class="qr-logo"
|
class="qr-logo"
|
||||||
v-if="qrFailed"
|
v-if="qrFailed"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user