aboutsummaryrefslogtreecommitdiff
path: root/src/site/pages/register.vue
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-06-29 20:02:47 +0300
committerZephyrrus <[email protected]>2020-06-29 20:02:47 +0300
commitac037c773ef5f15372c6999445a2efe00034c0c0 (patch)
tree94ff8cfad575421add06834100a2343eba6a3f73 /src/site/pages/register.vue
parentmisc: remove patreon. sorry. (diff)
downloadhost.fuwn.me-ac037c773ef5f15372c6999445a2efe00034c0c0.tar.xz
host.fuwn.me-ac037c773ef5f15372c6999445a2efe00034c0c0.zip
fix: Remove hero and hero body and use sections and containers instead
Hero is meant to be used as a full-width banner to showcare or present somethign, not to contain the entire content of the webpage
Diffstat (limited to 'src/site/pages/register.vue')
-rw-r--r--src/site/pages/register.vue72
1 files changed, 35 insertions, 37 deletions
diff --git a/src/site/pages/register.vue b/src/site/pages/register.vue
index 2f155c0..c102abd 100644
--- a/src/site/pages/register.vue
+++ b/src/site/pages/register.vue
@@ -1,42 +1,40 @@
<template>
- <section class="hero is-fullheight is-register">
- <div class="hero-body">
- <div class="container">
- <h1 class="title">
- Dashboard Access
- </h1>
- <h2 class="subtitle mb5">
- Register for a new account
- </h2>
- <div class="columns">
- <div class="column is-4 is-offset-4">
- <b-field>
- <b-input v-model="username"
- type="text"
- placeholder="Username" />
- </b-field>
- <b-field>
- <b-input v-model="password"
- type="password"
- placeholder="Password"
- password-reveal />
- </b-field>
- <b-field>
- <b-input v-model="rePassword"
- type="password"
- placeholder="Re-type Password"
- password-reveal
- @keyup.enter.native="register" />
- </b-field>
+ <section class="section is-fullheight is-register">
+ <div class="container">
+ <h1 class="title">
+ Dashboard Access
+ </h1>
+ <h2 class="subtitle mb5">
+ Register for a new account
+ </h2>
+ <div class="columns">
+ <div class="column is-4 is-offset-4">
+ <b-field>
+ <b-input v-model="username"
+ type="text"
+ placeholder="Username" />
+ </b-field>
+ <b-field>
+ <b-input v-model="password"
+ type="password"
+ placeholder="Password"
+ password-reveal />
+ </b-field>
+ <b-field>
+ <b-input v-model="rePassword"
+ type="password"
+ placeholder="Re-type Password"
+ password-reveal
+ @keyup.enter.native="register" />
+ </b-field>
- <p class="control has-addons is-pulled-right">
- <router-link to="/login"
- class="is-text">Already have an account?</router-link>
- <button class="button is-primary big ml1"
- :disabled="isLoading"
- @click="register">Register</button>
- </p>
- </div>
+ <p class="control has-addons is-pulled-right">
+ <router-link to="/login"
+ class="is-text">Already have an account?</router-link>
+ <button class="button is-primary big ml1"
+ :disabled="isLoading"
+ @click="register">Register</button>
+ </p>
</div>
</div>
</div>