Commit 36e197ec by Muhammad Usman

go-premium mobile view completed

parent 012e9b24
......@@ -125,7 +125,7 @@
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.header-actions {
display: flex;
......
......@@ -126,7 +126,7 @@
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.header-actions {
display: flex;
......
......@@ -161,7 +161,7 @@
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.header-actions {
display: flex;
......
......@@ -119,7 +119,7 @@
}
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.login-wrapper {
.mc-login-logo {
......
......@@ -139,7 +139,7 @@
}
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.bck-link {
display: flex;
......
......@@ -147,7 +147,7 @@
}
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.signup-wrapper {
.mc-signup-logo {
......
......@@ -139,7 +139,7 @@
}
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.login-wrapper {
.mc-login-logo {
......
......@@ -161,7 +161,7 @@
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.header-actions {
display: flex;
......
......@@ -3,6 +3,7 @@ import { RouterModule, Routes } from '@angular/router';
import { DashboardComponent } from './dashboard/dashboard.component';
import { HomeComponent } from './home/home.component';
import { PersonalDetailsComponent } from './personal-details/personal-details.component';
import { GoPremiumComponent } from './go-premium/go-premium.component';
const routes: Routes = [
{
......@@ -18,6 +19,10 @@ const routes: Routes = [
component: PersonalDetailsComponent
},
{
path: 'go-premium',
component: GoPremiumComponent
},
{
path: '',
redirectTo: 'home',
pathMatch: 'full'
......
......@@ -47,7 +47,7 @@
<div class="mobile-nav-link"><i class="fa fa-gear"></i> My Account</div>
<div class="go-premium">
<div class="go-premium" (click)="goToPage('/my-career-web/dashboard/go-premium')">
<img src="assets/my-career-web/images/go-premium-temp.png" alt="">
</div>
......
......@@ -12,6 +12,7 @@ import { takeUntil } from 'rxjs/operators';
export class DashboardComponent extends BaseComponent implements OnInit {
showMobileNav;
constructor(
private as: AuthService,
private r: Router
......
......@@ -2,7 +2,8 @@
<div class="premium-header">
<h4>Go Premium</h4>
<i class="fa fa-times closeable" (click)="close()"></i>
<i class="fa fa-times closeable" (click)="close()" *ngIf="!isMobileView"></i>
<i class="fa fa-times closeable" routerLink="/my-career-web/dashboard/home" *ngIf="isMobileView"></i>
<p style="margin-bottom: 30px;">Our goal is to give you a highly functional app to support your career grow for FREE.</p>
<p>But, we offer a Premium service to help you get a bit more out of <strong>Matchd Career</strong>.</p>
......
......@@ -96,3 +96,28 @@
}
}
@media only screen and (max-width: 768px) {
.content-wrapper {
padding: 40px 10px;
margin-top: -70px;
background: #fff;
h4 {
margin-top: 20px !important;
}
.label-col {
min-width: 165px !important;
}
.free-col, .premium-col {
margin-left: 20px !important;
}
.premium-factor {
font-size: 12px;
}
}
}
......@@ -52,7 +52,7 @@
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.personal-details {
padding: 5%;
}
......
......@@ -86,7 +86,7 @@
left: 0;
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.login-wrapper {
.mc-login-logo {
......
......@@ -29,7 +29,7 @@
}
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.mc-card {
padding: 2px;
......
......@@ -91,7 +91,7 @@
@media only screen and (max-width: 600px) {
@media only screen and (max-width: 768px) {
.ui-toast {
width: 90%;
top: 10px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment