Skip to content

Commit

Permalink
Simple Login, Terrible Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
VulpoTheDev committed Feb 13, 2023
1 parent 628d971 commit a16a4b5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
12 changes: 0 additions & 12 deletions website/components/Landing/Login/Form.vue

This file was deleted.

21 changes: 21 additions & 0 deletions website/components/Login/LoginForm.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

<template>
<form class="w-3/6 p-48 m-auto">
<div class="flex flex-col relative my-3">
<label for="username" class="hidden absolute top-[-33px] text-white ">Username</label>
<input name="username" id="username" type="username" class="text-black px-3 py-2 outline-none border-none"
v-model="username" placeholder="Username" />
</div>
<div class="flex flex-col bg-transparent border border-solid border-[#1834c9]">
<label for="password" class="peer-placeholder-shown:block ">Password</label>
<input name="password" id="password" class="peer text-black" type="password" placeholder="Password"
v-model="password" />
</div>
</form>
</template>
<script lang="tsx" setup>
import { ref } from 'vue'
const username = ref("")
const password = ref("")
</script>
2 changes: 1 addition & 1 deletion website/pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Form from '~~/components/Landing/Login/Form.vue';

<template>
<Container title="MyFursona | Login" class="login-wrapper">
<Form />
<LoginForm />
</Container>
</template>

Expand Down

0 comments on commit a16a4b5

Please sign in to comment.