-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
replace Test page by RegistrationPage.vue
- Loading branch information
1 parent
a3b6b80
commit 58d9211
Showing
9 changed files
with
47 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
frontend/src/feature/registration/pages/RegistrationPage.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<v-container> | ||
<v-card class="pa-2 ma-2 mx-auto d-flex flex-column justify-space-between" | ||
fill-height | ||
color="containerBackground"> | ||
<v-card-title class="text-center text-h4"> | ||
User Registration | ||
</v-card-title> | ||
<v-container> | ||
<v-row> | ||
<v-col cols="12" sm="6" md="4"/> | ||
<v-col cols="12" sm="6" md="4" class="align-content-center"> | ||
<v-text-field v-model="email" label="Email"/> | ||
<v-text-field v-model="password" label="Password" type="password"/> | ||
<v-btn color="black" border @click="postNewUser" variant="text"> | ||
Register new user | ||
</v-btn> | ||
</v-col> | ||
</v-row> | ||
</v-container> | ||
</v-card> | ||
</v-container> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import useCardsService from "@/feature/cards/composables/useCardsService"; | ||
import {ref} from "vue"; | ||
const email = ref(''); | ||
const password = ref(''); | ||
const postNewUser = () => { | ||
useCardsService().postNewUser(email.value, password.value); | ||
} | ||
</script> | ||
|
||
<style scoped lang="scss"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters