Merge branch 'master' of github.com:KevinMidboe/vinlottis

This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-27 10:05:16 +01:00
9 changed files with 1208 additions and 828 deletions

View File

@@ -39,7 +39,7 @@ div {
flex-direction: column;
}
ol {
padding-left: 1rem;
padding-left: 1.375rem !important;
margin-left: 0;
li {

View File

@@ -61,6 +61,23 @@ export default {
}
}
);
this.drawLogoOverCanvas(canvas)
},
drawLogoOverCanvas(canvas) {
const context = canvas.getContext("2d")
const centerX = canvas.width / 2
const centerY = canvas.height / 2
context.font = "30px Arial"
context.textAlign = "center"
context.textBaseline = "middle"
context.arc(centerX, centerY, 25, 0, 2 * Math.PI, false)
context.fillStyle = 'white'
context.fill()
context.lineWidth = 3
context.strokeStyle = '#fe5b23'
context.stroke()
context.fillText("🍾", centerX, centerY)
},
openVipps: function() {
window.location.assign(

View File

@@ -70,7 +70,7 @@ a {
}
ol {
padding-left: 1rem;
padding-left: 0;
margin-left: 0;
}