Skip to content
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

Add UI Design prototype to README #111

Open
wants to merge 6 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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

## UI Prototype
UI Design for Website
https://www.figma.com/file/fuEeoAOVbLNAmbs4FZdpG6/hospital?node-id=0%3A1

```
## Plugins

Expand Down
Binary file added prototype/Resouce Page UI Design.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 12 additions & 4 deletions src/app/Hospitals/login/login.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<app-navbar></app-navbar>
<script src="https://kit.fontawesome.com/4428f99891.js" crossorigin="anonymous"></script>

<app-navbar>

</app-navbar>

<div class="hospital-login {{light}}">
<div class="container">
Expand All @@ -8,9 +12,10 @@
<div class="col-md-12 col-12 text-center">
<h1 id="hlogin_heading" class="mobile_view">Hospital Login</h1>
</div>
<div class="card" [@flyInOut]>
<div class="card m-0 mar-top" [@flyInOut]>
<form [formGroup]="HLoginForm" class="card_container">
<mat-form-field>
<!-- <i class="fa-solid fa-user"></i> -->
<input class="ip_field" matInput placeholder="Email" type="email" formControlName="emailId">
<mat-error *ngIf="email?.invalid && email?.touched">
Please, enter valid email address
Expand All @@ -32,15 +37,18 @@ <h1 id="hlogin_heading" class="mobile_view">Hospital Login</h1>
</mat-form-field>

<br>
<div class="confirm-div ml-2 mb-3">
<mat-checkbox formControlName="agree" color="primary">Remember me?</mat-checkbox>
</div>

<button mat-raised-button type="submit" style="margin-left: 2%;" (click)="submit()" [disabled]="HLoginForm.invalid" color="primary">Login</button>
<button mat-raised-button type="submit" style="width:100px;margin-left: 2%;" (click)="submit()" [disabled]="HLoginForm.invalid" color="primary">Login</button>

<a class="forgot_pass" routerLink="/h-forget-pas">Forgot Password</a>
</form>
</div>
<div class="col-md-12 col-12 ">

<h3 class="text-center">Don't have an account? <a routerLink="/hospital-signup">Signup</a></h3>
<h3 class="signup text-center">Don't have an account? <a routerLink="/hospital-signup">Signup</a></h3>

</div>
</div>
Expand Down
8 changes: 8 additions & 0 deletions src/app/Hospitals/login/login.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ $pink:#F3797E;
padding: 10px;
}

.mar-top{
margin-top:100px !important;
margin-bottom:20px!important;
}
.signup a {
text-decoration: none;
}

.hide {
display: none;
}
Expand Down
1 change: 1 addition & 0 deletions src/app/Hospitals/signup/signup.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $pink:#F3797E;
padding: 10px;
}


.hospital-signup {
background-color: #f8f8f8;
position: relative;
Expand Down