Fix get-started button in mobile and add hasStickyHeaderInMobile for home and about pages.
This commit is contained in:
parent
0cc7d8ba10
commit
c04c32fa00
|
@ -20,11 +20,12 @@ const routes: Routes = [
|
|||
/** Other Pages */
|
||||
{
|
||||
path: '',
|
||||
loadChildren: () => import('./communitywrapper/communityWrapper.module').then(m => m.CommunityWrapperModule)
|
||||
loadChildren: () => import('./communitywrapper/communityWrapper.module').then(m => m.CommunityWrapperModule),
|
||||
data: {hasStickyHeaderOnMobile: true}
|
||||
},
|
||||
{path: 'about', redirectTo: 'about/learn-how', pathMatch: 'full'},
|
||||
{path: 'about/learn-how', loadChildren: () => import('./learn-how/learn-how.module').then(m => m.LearnHowModule)},
|
||||
{path: 'about/faq', loadChildren: () => import('./learn-how/faqs/faqs.module').then(m => m.FaqsModule)},
|
||||
{path: 'about/learn-how', loadChildren: () => import('./learn-how/learn-how.module').then(m => m.LearnHowModule), data: {hasStickyHeaderOnMobile: true}},
|
||||
{path: 'about/faq', loadChildren: () => import('./learn-how/faqs/faqs.module').then(m => m.FaqsModule), data: {hasStickyHeaderOnMobile: true}},
|
||||
{path: 'get-started', loadChildren: () => import('./get-started/get-started.module').then(m => m.GetStartedModule)},
|
||||
{
|
||||
path: 'contact-us',
|
||||
|
|
|
@ -49,14 +49,12 @@ import {Meta} from "@angular/platform-browser";
|
|||
template: `
|
||||
<div [class]="(community)?(community.communityId +'App communityApp'):'connectApp'">
|
||||
<div id="modal-container"></div>
|
||||
<navbar *ngIf="properties && showMenu && !community && header" [portal]="properties.dashboard" [onlyTop]=false
|
||||
<navbar #navbar *ngIf="properties && showMenu && !community && header" [portal]="properties.dashboard" [onlyTop]=false
|
||||
[userMenuItems]=userMenuItems [menuItems]=menuItems [user]="user" [header]="header"
|
||||
[showMenu]=showMenu [properties]="properties" [showHomeMenuItem]="false" communityId="connect">
|
||||
<ul *ngIf="showGetStarted" extra-s class="uk-nav uk-nav-default uk-margin-small-top">
|
||||
<li routerLinkActive="uk-active">
|
||||
<a routerLink="/get-started">Get Started</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div *ngIf="showGetStarted" extra-s class="uk-margin-large-top uk-margin-left">
|
||||
<a class="uk-button uk-button-primary uk-text-uppercase" routerLink="/get-started" (click)="navbar.closeCanvas()">Get Started</a>
|
||||
</div>
|
||||
<a *ngIf="showGetStarted" extra-m
|
||||
class="uk-button uk-button-small uk-button-primary uk-text-uppercase uk-margin-left"
|
||||
routerLink="/get-started">Get Started</a>
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit befbfd071b96dec562ac39b0d4b65e869fd094ce
|
||||
Subproject commit f2a2c52d435629bad2c9af68240d76dfefe4dfd9
|
|
@ -1 +1 @@
|
|||
Subproject commit ae7e623418e7362e80cf9f65db7a004c0857d239
|
||||
Subproject commit a7e2f9882fc3cbb9f14ced3e0600d15bf2ffb887
|
|
@ -1 +1 @@
|
|||
Subproject commit d52e92929799a1626aff66ad413c6db2be521555
|
||||
Subproject commit 5feca2d8457324999557feb662b4355d8cf0df4b
|
Loading…
Reference in New Issue