diff --git a/public/assets/Button_1.png b/public/assets/Button_1.png new file mode 100644 index 0000000..6efcac4 Binary files /dev/null and b/public/assets/Button_1.png differ diff --git a/public/assets/Button_2.png b/public/assets/Button_2.png new file mode 100644 index 0000000..9fd2e00 Binary files /dev/null and b/public/assets/Button_2.png differ diff --git a/public/assets/Button_3.png b/public/assets/Button_3.png new file mode 100644 index 0000000..819739a Binary files /dev/null and b/public/assets/Button_3.png differ diff --git a/public/assets/Button_4.png b/public/assets/Button_4.png new file mode 100644 index 0000000..6366e7b Binary files /dev/null and b/public/assets/Button_4.png differ diff --git a/src/App.vue b/src/App.vue index 974f8ec..0dfe2f8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@ <template> - <Game /> + <Login /> </template> <script setup lang="ts"> diff --git a/src/assets/main.scss b/src/assets/main.scss index bb533ab..5d3d8f7 100644 --- a/src/assets/main.scss +++ b/src/assets/main.scss @@ -1,3 +1,8 @@ +@font-face { + font-family: GentiumPlus; + src: url('@/assets/fonts/Gentium_plus.ttf'); +} + body { -ms-overflow-style: none; scrollbar-width: none; @@ -5,6 +10,19 @@ body { background: black; } +p, a, li { + font-family: Arial, sans-serif; + color: #FFF; +} + +a { + text-decoration: none; +} + +h1, h2, h3, h4, h5, h6 { + font-family: GentiumPlus, serif; +} + ::-webkit-scrollbar { display: none; } \ No newline at end of file diff --git a/src/components/screens/Login.vue b/src/components/screens/Login.vue index dd568f8..e6f3bdc 100644 --- a/src/components/screens/Login.vue +++ b/src/components/screens/Login.vue @@ -3,6 +3,24 @@ <img src="/assets/Leaf_BG_standalone.png" id="bg-img" alt="New Quest login background" /> <div class="content-wrapper"> <h1 class="main-title">NEW QUEST</h1> + + <div class="row-buttons"> + <a class="button button-1" href="/"> + LOGIN + </a> + + <a class="button button-2" href="/"> + REGISTER + </a> + + <a class="button button-3" href="/"> + CREDITS + </a> + + <a class="button button-4" href="/"> + EXIT + </a> + </div> </div> </template> @@ -22,7 +40,7 @@ onMounted(() => { }) </script> -<style scoped> +<style scoped lang="scss"> #bg-img { height: 100vh; position: absolute; @@ -38,21 +56,51 @@ onMounted(() => { display: flex; align-items: center; justify-content: center; + flex-direction: column; + position: relative; + + .row-buttons { + display: flex; + gap: 0.5rem; + position: absolute; + bottom: 2.5rem; + + .button { + padding: 1.2rem 0; + min-width: 8.2rem; + text-align: center; + position: relative; + + &.button-1 { + background-image: url('/assets/Button_1.png'); + } + &.button-2 { + background-image: url('/assets/Button_2.png'); + } + &.button-3 { + background-image: url('/assets/Button_3.png'); + } + &.button-4 { + background-image: url('/assets/Button_4.png'); + } + background-position: center; + background-size: 100%; + background-repeat: no-repeat; + + &:hover { + filter: brightness(60%); + } + } + } } .main-title { + position: absolute; text-align: center; - margin: auto 0; + top: 40%; font-size: 3rem; color: #FFF; text-shadow: -1px -1px 0 gray, 1px -1px 0 gray, -1px 1px 0 gray, 1px 1px 0 gray; } -@font-face { - font-family: GentiumPlus; - src: url('@/assets/fonts/Gentium_plus.ttf'); -} -h1, h2, h3, h4, h5, h6 { - font-family: GentiumPlus, serif; -} </style> \ No newline at end of file