mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 12:57:49 +00:00
push fixes
This commit is contained in:
@@ -127,7 +127,7 @@ We will also show buttons to toggle between the two different types of forms.
|
||||
|
||||
# Authentication forms {% #auth-forms %}
|
||||
|
||||
In the previous step, we defined a `AuthForm` to handle signup and login.
|
||||
In the previous step, we defined a `AuthForm` to handle signup and login.
|
||||
Let's build this form now.
|
||||
|
||||
Create a new file `components/authForm.vue` and add the following code.
|
||||
|
||||
@@ -27,7 +27,7 @@ const user = useUserSession();
|
||||
<!-- Email and logout button if logged in user -->
|
||||
<div
|
||||
class="main-header-end u-margin-inline-end-16"
|
||||
v-if="user.current.value"
|
||||
v-if="user.current.value"
|
||||
>
|
||||
<p>{{ user.current.providerUid }}</p>
|
||||
<button class="button" type="button" @click="user.logout()">
|
||||
|
||||
@@ -103,7 +103,7 @@ const user = useUserSession();
|
||||
<IdeasList />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<style>
|
||||
article.box {
|
||||
background-color: hsl(var(--color-neutral-0));
|
||||
|
||||
Reference in New Issue
Block a user