Commit 36e197ec by Muhammad Usman

go-premium mobile view completed

parent 012e9b24
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.header-actions { .header-actions {
display: flex; display: flex;
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.header-actions { .header-actions {
display: flex; display: flex;
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.header-actions { .header-actions {
display: flex; display: flex;
......
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
} }
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.login-wrapper { .login-wrapper {
.mc-login-logo { .mc-login-logo {
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
} }
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.bck-link { .bck-link {
display: flex; display: flex;
......
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
} }
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.signup-wrapper { .signup-wrapper {
.mc-signup-logo { .mc-signup-logo {
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
} }
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.login-wrapper { .login-wrapper {
.mc-login-logo { .mc-login-logo {
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.header-actions { .header-actions {
display: flex; display: flex;
......
...@@ -3,6 +3,7 @@ import { RouterModule, Routes } from '@angular/router'; ...@@ -3,6 +3,7 @@ import { RouterModule, Routes } from '@angular/router';
import { DashboardComponent } from './dashboard/dashboard.component'; import { DashboardComponent } from './dashboard/dashboard.component';
import { HomeComponent } from './home/home.component'; import { HomeComponent } from './home/home.component';
import { PersonalDetailsComponent } from './personal-details/personal-details.component'; import { PersonalDetailsComponent } from './personal-details/personal-details.component';
import { GoPremiumComponent } from './go-premium/go-premium.component';
const routes: Routes = [ const routes: Routes = [
{ {
...@@ -18,6 +19,10 @@ const routes: Routes = [ ...@@ -18,6 +19,10 @@ const routes: Routes = [
component: PersonalDetailsComponent component: PersonalDetailsComponent
}, },
{ {
path: 'go-premium',
component: GoPremiumComponent
},
{
path: '', path: '',
redirectTo: 'home', redirectTo: 'home',
pathMatch: 'full' pathMatch: 'full'
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<div class="mobile-nav-link"><i class="fa fa-gear"></i> My Account</div> <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=""> <img src="assets/my-career-web/images/go-premium-temp.png" alt="">
</div> </div>
......
...@@ -12,6 +12,7 @@ import { takeUntil } from 'rxjs/operators'; ...@@ -12,6 +12,7 @@ import { takeUntil } from 'rxjs/operators';
export class DashboardComponent extends BaseComponent implements OnInit { export class DashboardComponent extends BaseComponent implements OnInit {
showMobileNav; showMobileNav;
constructor( constructor(
private as: AuthService, private as: AuthService,
private r: Router private r: Router
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<div class="premium-header"> <div class="premium-header">
<h4>Go Premium</h4> <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 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> <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 @@ ...@@ -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 @@ ...@@ -52,7 +52,7 @@
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.personal-details { .personal-details {
padding: 5%; padding: 5%;
} }
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
left: 0; left: 0;
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.login-wrapper { .login-wrapper {
.mc-login-logo { .mc-login-logo {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.mc-card { .mc-card {
padding: 2px; padding: 2px;
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
@media only screen and (max-width: 600px) { @media only screen and (max-width: 768px) {
.ui-toast { .ui-toast {
width: 90%; width: 90%;
top: 10px; 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