Skip to content

Loginlogout #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
//
// The variables you want to modify
// $font-size-root: 20px;
$font-family: -apple-system, BlinkMacSystemFont, sans-serif;
Binary file added assets/worktogether.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 21 additions & 4 deletions components/SignIn.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
<template>
<v-container class="ma-6">
<v-card class="pa-6">
<v-card class="pa-6" outlined>
<v-card-title class="justify-center">
<h5>Login</h5>
<h3>Login</h3>
</v-card-title>
<v-form>

<v-text-field
:rules="[rules.required, rules.email]"
v-model="email"
label="Email"
prepend-inner-icon="mdi-email"
outlined
/>
<v-divider></v-divider>
<v-text-field
outlined
:rules="[rules.required, rules.counter]"
counter
minlength="6"
Expand All @@ -19,8 +24,10 @@
:append-icon="show ? 'mdi-eye' : 'mdi-eye-off'"
:type="show ? 'text' : 'password'"
@click:append="show = !show"
prepend-inner-icon="mdi-lock-outline"
/>
<v-btn primary large block class="px-4" @click="loginUser()">

<v-btn primary large block rounded color="lightblue" class="blue--text" outlined @click="loginUser()">
Login
</v-btn>
</v-form>
Expand Down Expand Up @@ -63,4 +70,14 @@ export default {
};
</script>

<style></style>
<style>
.v-btn,
.v-card {
border-radius: 4px;
}


</style>



1 change: 1 addition & 0 deletions components/landingpage/base/AvatarCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export default {
dark: Boolean,
horizontal: Boolean,
icon: String,
desc: String,
outlined: {
type: Boolean,
default: true,
Expand Down
14 changes: 5 additions & 9 deletions components/landingpage/sections/AppFeatures.vue
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
<template>
<base-section id="app-features">
<base-section-heading title="FEATURES">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Libero, in!
Asperiores, impedit libero. Veniam rerum saepe unde nihil possimus
quibusdam esse accusamus mollitia magni fuga.
<base-section-heading title="Features:">
</base-section-heading>

<v-container>
<v-row>
<v-col v-for="(feature, i) in features" :key="i" cols="12" md="6">
<base-avatar-card v-bind="feature" align="left" horizontal>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Veritatis
illum veniam cum dolores ratione commodi beatae quas maxime,
laboriosam excepturi solut!
</base-avatar-card>
</v-col>

</v-row>
</v-container>
</base-section>
Expand All @@ -35,8 +30,9 @@ export default {
data: () => ({
features: [
{
title: "Pixel Perfect Design",
icon: "mdi-fountain-pen-tip",
title: "Indivually Catered ",
icon:"fas-fa-people-arrows",
desc: "text"
},
{
title: "Retina Ready",
Expand Down
31 changes: 17 additions & 14 deletions components/landingpage/sections/Hero.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<section id="hero">
<v-img

<base-heading class="black--text" title="mntr.tech" />
<v-img
:min-height="minHeight"
:src="require('@/assets/hero-2.jpg')"
class="white--text"
gradient="to right, rgba(5, 11, 31, .8), rgba(5, 11, 31, .8)"
src='https://i.pinimg.com/originals/37/b8/11/37b8112791f2529ffe4882412b541c94.gif'
>
<v-container class="fill-height px-4 py-12">
<v-responsive
Expand All @@ -13,13 +13,12 @@
max-width="700"
width="100%"
>
<base-heading title="CALL TO ACTION" />




<base-body>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Nisi
tempora odio neque. Magni suscipit nam, maiores incidunt cumque ad.
Similique quia eligendi consectetur fugiat labore veritatis nobis
quisquam! Nulla, velit.
Ever wanted to take your skills to the next level? mntr empowers young professionals
through collaborative peer mentorship
</base-body>

<div
Expand All @@ -30,13 +29,14 @@
"
class="d-flex flex-wrap"
>
<v-btn to="/SignIn" large color="blue" icon="mdi-login">Login</v-btn>

<br><br>
<v-btn to="/SignIn" large color="blue" icon="mdi-login" elevation="3">Sign In</v-btn>
<v-divider></v-divider>


<span class="font-weight-bold ml-6 mr-4 my-4">or</span>


<v-btn to="/signup" large color="green" icon="mdi-logout" class="pa-1" height="auto">Logout</v-btn>
<v-btn to="/signup" large color="green" icon="mdi-logout" class="pa-1" height="auto">Sign Up Today!</v-btn>
<!--<:ripple="false" class="pa-1" height="auto" text>
Get Started Now
</base-btn>
Expand Down Expand Up @@ -73,3 +73,6 @@ export default {
},
};
</script>
<style>

</style>
22 changes: 18 additions & 4 deletions components/signup.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<template>
<v-container class="ma-6">
<v-card class="pa-6">
<v-card class="pa-6" outlined>
<v-card-title class="justify-center">
<h5>Sign Up</h5>
<h3>Sign Up</h3>
</v-card-title>
<v-form>
<v-text-field
v-model="email"
label="Email"
placeholder="example@example.com"
:rules="[rules.required, rules.email]"
prepend-inner-icon="mdi-email"
outlined
/>
<v-text-field
v-model="password"
Expand All @@ -19,6 +21,8 @@
:append-icon="show ? 'mdi-eye' : 'mdi-eye-off'"
:type="show ? 'text' : 'password'"
@click:append="show = !show"
prepend-inner-icon="mdi-lock-outline"
outlined
/>
<v-text-field
v-model="passwordConfirm"
Expand All @@ -28,8 +32,10 @@
:append-icon="show ? 'mdi-eye' : 'mdi-eye-off'"
:type="show ? 'text' : 'password'"
@click:append="show = !show"
prepend-inner-icon="mdi-lock-outline"
outlined
/>
<v-btn :disabled="!validInfo()" @click="signUpUser()" large block>
<v-btn :disabled="!validInfo()" rounded color="lightblue" class="blue--text" outlined @click="signUpUser()" large block>
Sign Up
</v-btn>
</v-form>
Expand Down Expand Up @@ -82,4 +88,12 @@ export default {
};
</script>

<style></style>
<style>
.v-btn,
.pa-6{
border-color: #3a86ff;
}
.v-card {
border-radius: 4px;
}
</style>
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default {
vuetify: {
customVariables: ["~/assets/variables.scss"],
theme: {
dark: true,
dark: false, // set dark to false
themes: {
light: {
primary: "#42a5f6",
Expand Down
35 changes: 35 additions & 0 deletions pages/schedule.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<template>
<v-container class="ma-6">
<v-card class="pa-6" outlined>
<v-card-title class="justify-center">
<h3>What Days Are You Available</h3>
</v-card-title>
<v-form>
<v-text-field
v-model="text"
label="Date"
placeholder="Monday, etc.."
prepend-inner-icon="mdi-calendar"
outlined
/>
</v-form>
</v-card>
</v-container>
</template>

<script>

export default {
data () {

return {
picker: new Date().toISOString().substr(0, 10),

}
},
}
</script>

<style>

</style>
5 changes: 1 addition & 4 deletions store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,11 @@ const mutations = {
};


const setters = {
//set posts
}


export {
state,
actions,
mutations,
getters,
setters,
}