Skip to content
Merged
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
4 changes: 2 additions & 2 deletions src/app/components/authentication/login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1 class="text-xl md:text-3xl font-bold leading-tight mt-12">Log in to your acc
</div>

<button type="submit" class="w-full block bg-CoolGrey hover:bg-BrightCyan focus:bg-BrightCyan text-white font-medium rounded-lg
px-4 py-3 mt-6">Log In</button>
px-4 py-3 mt-6" (click)="login()">Log In</button>
</form>

<div class="flex items-center justify-center space-x-4 my-8">
Expand All @@ -65,4 +65,4 @@ <h1 class="text-xl md:text-3xl font-bold leading-tight mt-12">Log in to your acc
</div>
</div>

</section>
</section>
6 changes: 5 additions & 1 deletion src/app/components/authentication/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import { RouterLink } from '@angular/router';
})
export class LoginComponent {
imageLoginURL: string = "assets/auth/login.jpg";
vectorIconLogin: string = "assets/auth/login-vector.png"
vectorIconLogin: string = "assets/auth/login-vector.png";

login(){
alert("Hi! I am Login button");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1 class="text-xl md:text-3xl font-bold leading-tight mt-12">Recover Account Pa
</div>

<button type="submit" class="w-full block bg-CoolGrey hover:bg-BrightCyan focus:bg-BrightCyan text-white font-medium rounded-lg
px-4 py-3 mt-6">Recover Account</button>
px-4 py-3 mt-6" (click)="recover()">Recover Account</button>
</form>

<div class="flex items-center justify-center space-x-4 my-8">
Expand All @@ -52,4 +52,4 @@ <h1 class="text-xl md:text-3xl font-bold leading-tight mt-12">Recover Account Pa
</div>
</div>

</section>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ import { RouterLink } from '@angular/router';
})
export class RecoverAccountComponent {
imageRecoverURL: string = "assets/auth/recover.jpg";
vectorIconRecover: string = "assets/auth/login-vector.png"
vectorIconRecover: string = "assets/auth/login-vector.png";

recover(){
alert("Hi! I am a recover account button");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h1 class="text-xl md:text-3xl font-bold leading-tight mt-12">Create a free acco
</div>

<button type="submit" class="w-full block bg-CoolGrey hover:bg-BrightCyan focus:bg-BrightCyan text-white font-medium rounded-lg
px-4 py-3 mt-8">Create Account</button>
px-4 py-3 mt-8" (click)="register()">Create Account</button>
</form>

<div class="flex items-center justify-center space-x-4 my-8">
Expand All @@ -66,4 +66,4 @@ <h1 class="text-xl md:text-3xl font-bold leading-tight mt-12">Create a free acco
</div>
</div>

</section>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ import { RouterLink } from '@angular/router';
export class SignUpComponent {
imageSignUpURL: string = "assets/auth/register.jpg";
vectorIconSignUp: string = "assets/auth/login-vector.png";

register(){
alert("Hi! I am a sign up button");
}
}