This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Modified contact us page to the current version of EvalAI #133
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
fdad8aa
modified contact us page
Sanji515 e81ae3e
Merge branch 'master' into contact-us-page
Sanji515 d9a777e
resolved conflicts
Sanji515 fc4e78c
Merge branch 'master' into contact-us-page
Sanji515 1346a65
merged
Sanji515 84c9cf6
merged with remote
Sanji515 be89790
minor change
Sanji515 482ce41
minor responsive change
Sanji515 e3fb904
minor change
Sanji515 dbfb4be
suggested changes
Sanji515 6266ec4
Merge branch 'master' into contact-us-page
Sanji515 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,34 @@ | ||
<app-header-static></app-header-static> | ||
<div class="container-top container contact-container white"> | ||
<div class="contact-form"> | ||
<div class="contact-form-inner"> | ||
<span class="contact-title">Get in touch</span> | ||
<br> | ||
<div class="contact-form-elements"> | ||
<app-input [label]="'name'" [placeholder]="'Name'" [isRequired]="true" #formgroup></app-input> | ||
<app-input [label]="'email'" [placeholder]="'Email'" [isRequired]="true" [type]="'email'" #formgroup></app-input> | ||
<app-input [label]="'message'" [placeholder]="'Message'" [isRequired]="true" #formgroup></app-input> | ||
<span class="btn btn-fire" (click)="formValidate('formgroup')">SEND</span> | ||
<div class="contact-links"> | ||
<table> | ||
<tr> | ||
<td><a target="_blank" href="https://www.facebook.com/mlcloudcv/"><img src="assets/images/fb.png" /></a></td> | ||
<td><a target="_blank" href="https://github.com/Cloud-CV"><img src="assets/images/git_black.png" /></a></td> | ||
<td><a target="_blank" href="https://twitter.com/project_cloudcv"><img src="assets/images/twitter_black.png" /></a></td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="contact-map"> | ||
</div> | ||
<div class="contact-container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 ev-mt-50"> | ||
<h4 class="contact-title ev-mt-17 ev-mb-13 fs-34 align-center fw-semibold">Contact Us</h4> | ||
<app-input [label]="'name'" [placeholder]="'Name*'" [isRequired]="true" [icon]="'fa fa-user'" #formgroup></app-input> | ||
<app-input [label]="'email'" [placeholder]="'Email*'" [isRequired]="true" [type]="'email'" [icon]="'fa fa-envelope'" #formgroup></app-input> | ||
<app-input [label]="'message'" [placeholder]="'Message*'" [isRequired]="true" [type]="'textarea'" [icon]="'fa fa-comment'" #formgroup></app-input><br> | ||
<button class="btn btn-waves-effect grad-btn grad-btn-dark ev-btn-dark" (click)="formValidate('formgroup')">Send</button> | ||
</div> | ||
<div class="rocket-container col-lg-4 col-md-4"> | ||
<div class="small-cloud cloud-1"> | ||
<img src="assets/images/cloud-1.png"> | ||
</div> | ||
<div class="small-cloud cloud-2"> | ||
<img src="assets/images/cloud-2.png"> | ||
</div> | ||
<div class="small-cloud cloud-3"> | ||
<img src="assets/images/cloud-1.png"> | ||
</div> | ||
<div class="small-cloud cloud-4"> | ||
<img src="assets/images/cloud-4.png"> | ||
</div> | ||
<div class="small-cloud cloud-2 bird-anim"> | ||
<img src="assets/images/bird.gif"> | ||
</div> | ||
<div class="rocket-anim"> | ||
<img src="assets/images/rocket.gif"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<app-footer></app-footer> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
<div class="input-group"> | ||
<div *ngIf="type!='file'"> | ||
<input class="input-field" (input)="validateInput($event.target.value)" [class.isValid]="isValid" [class.theme-dark]="theme=='dark'" type="{{type}}" [value]="value" [readonly]="isReadonly"> | ||
<span class="input-bar"></span> | ||
<label [class.is-not-empty]="!isEmpty" [class.theme-dark]="theme=='dark'">{{placeholder}}</label> | ||
<img class="input-icon" src="{{icon}}" *ngIf="isIconPresent" /> | ||
<div class="input-message" #textValue [class.hidden]="!(((isRequired && isEmpty)||(!isValid && !isEmpty)) && isDirty)">{{message}}</div> | ||
<div *ngIf="type!='file' && type!='textarea'"> | ||
<input class="input-field" (input)="validateInput($event.target.value)" [class.isValid]="isValid" [class.theme-dark]="theme=='dark'" type="{{type}}" [value]="value" [readonly]="isReadonly"> | ||
<span class="input-bar"></span> | ||
<label [class.is-not-empty]="!isEmpty" [class.theme-dark]="theme=='dark'">{{placeholder}}</label> | ||
<i class="input-icon {{icon}}" *ngIf="isIconPresent"></i> | ||
<div class="input-message" #textValue [class.hidden]="toggleErrorMessage()">{{message}}</div> | ||
</div> | ||
|
||
<div *ngIf="type=='textarea'"> | ||
<textarea autosize class="input-field" (input)="validateInput($event.target.value)" [class.isValid]="isValid" [class.theme-dark]="theme=='dark'" [value]="value" [readonly]="isReadonly"></textarea> | ||
<span class="input-bar"></span> | ||
<label [class.is-not-empty]="!isEmpty" [class.theme-dark]="theme=='dark'">{{placeholder}}</label> | ||
<i class="input-icon {{icon}}" *ngIf="isIconPresent"></i> | ||
<div class="input-message" #textValue [class.hidden]="toggleErrorMessage()">{{message}}</div> | ||
</div> | ||
|
||
<div class="file-upload" *ngIf="type=='file'"> | ||
<span class="btn btn-filter" (click)="transferClick('file-upload-custom')" [class.theme-dark]="theme=='dark'" [class.selected]="fileSelected"><i class="fas fa-upload"></i> {{placeholder}}</span> | ||
<input type="file" accept=".json, .zip, .txt" class="transparent" id="file-upload-custom" (change)="handleFileInput($event.target.files)" name="fileupload" [readonly]="isReadonly"/> | ||
<div class="input-message" #textValue [class.hidden]="!(((isRequired && isEmpty)||(!isValid && !isEmpty)) && isDirty)">{{message}}</div> | ||
<div class="input-message" #textValue [class.hidden]="toggleErrorMessage()">{{message}}</div> | ||
</div> | ||
</div> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please try to do this without adding new package. If it is required in multiple places or needed for other features which is not present in Angular then it is fine but for small improvement adding new package is not a good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Shekharrajak I used this package thinking that it would be good if we have 'text-area' in other places in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Using more packages can slow down the website. Can you check whether it is behaving properly in all the device size or not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Shekharrajak yeah it's working perfectly, please check if it's working on your side too