diff --git a/config/defaults/lottery.js b/config/defaults/lottery.js index 3cc602f..b2ea380 100644 --- a/config/defaults/lottery.js +++ b/config/defaults/lottery.js @@ -10,6 +10,7 @@ try { price: 10, message: "INSERT MESSAGE", date: 5, - hours: 15 + hours: 15, + apiUrl: "https://lottis.vin" }; } diff --git a/src/components/AdminPage.vue b/src/components/AdminPage.vue index 6f7df9e..db9d31b 100644 --- a/src/components/AdminPage.vue +++ b/src/components/AdminPage.vue @@ -1,47 +1,28 @@ @@ -50,37 +31,4 @@ export default { h1 { text-align: center; } -.hide { - display: none; -} - -.tab-container { - display: flex; - flex-direction: row; - justify-content: center; - margin-top: 25px; - border-bottom: 1px solid #333333; -} - -.tab { - cursor: pointer; - /* height: 60px; */ - font-size: 1.2rem; - display: flex; - justify-content: center; - align-items: center; - padding: 20px; - margin: 0 15px; - border: 1px solid #333333; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - background: #00000008; - border-bottom: 1px solid #333333; - margin-bottom: -1px; - - &.active { - border-bottom: 1px solid white; - background: white; - } -} diff --git a/src/components/LotteryPage.vue b/src/components/LotteryPage.vue new file mode 100644 index 0000000..b0d6454 --- /dev/null +++ b/src/components/LotteryPage.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/src/components/RegisterPage.vue b/src/components/RegisterPage.vue index cbea1ac..97d7108 100644 --- a/src/components/RegisterPage.vue +++ b/src/components/RegisterPage.vue @@ -1,11 +1,6 @@