forked from VladiRR/svvs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add router-outlet app.component.html * add authRoutes => auth.module.ts * add userProfileRoutes => user-profile.common.ts * add routes auth & user-profile VladiRR#38
- Loading branch information
Showing
13 changed files
with
54 additions
and
12 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
apps/frontend/client/src/app/core/components/app/app.component.html
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,3 +1,2 @@ | ||
<p>Client app works</p> | ||
<router-outlet></router-outlet> | ||
<!--<svvs-home-page-ui></svvs-home-page-ui>--> | ||
|
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,7 +1,12 @@ | ||
import {Routes} from '@angular/router' | ||
import {AuthUiComponent} from '@svvs/frontend/client/feature/auth' | ||
import {AuthUiComponent} from './auth-ui/auth-ui.component' | ||
|
||
|
||
export const authRoutes: Routes = [] | ||
export const authRoutes: Routes = [ | ||
{ | ||
path: '', | ||
component: AuthUiComponent | ||
} | ||
] | ||
|
||
export const authContainers: any[] = [AuthUiComponent] |
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
1 change: 0 additions & 1 deletion
1
libs/frontend/ui/components/src/lib/base-layout/base-layout-ui/base-layout-ui.component.html
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,3 +1,2 @@ | ||
<p>base-layout-ui works!</p> | ||
<svvs-header-ui></svvs-header-ui> | ||
<router-outlet></router-outlet> |
2 changes: 0 additions & 2 deletions
2
libs/frontend/ui/components/src/lib/header/header-ui/header-ui.component.html
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,3 +1 @@ | ||
<p>header-ui works!</p> | ||
|
||
<svvs-navbar-ui></svvs-navbar-ui> |
12 changes: 11 additions & 1 deletion
12
libs/frontend/ui/components/src/lib/navbar/navbar-ui/navbar-ui.component.html
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 +1,11 @@ | ||
<p>navbar-ui works!</p> | ||
<ul class="nav justify-content-end"> | ||
<li class="nav-item"> | ||
<a class="nav-link" routerLink="/">Главная</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" routerLink="/user-profile">Профиль</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" routerLink="/auth">Войти</a> | ||
</li> | ||
</ul> |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "ws-style/style"; |
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,11 +1,14 @@ | ||
import {NgModule} from '@angular/core' | ||
import {navbarContainers} from './navbar.common' | ||
import {RouterModule} from '@angular/router' | ||
|
||
|
||
@NgModule({ | ||
declarations: [...navbarContainers], | ||
exports: [...navbarContainers], | ||
imports: [], | ||
imports: [ | ||
RouterModule, | ||
], | ||
}) | ||
export class NavbarModule { | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
@import "~bootstrap/scss/nav"; | ||
|
||
|
||
.justify-content-end { | ||
display: flex; | ||
justify-content: flex-end; | ||
} |
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 |
---|---|---|
|
@@ -14,3 +14,5 @@ | |
* Normalize default browser style | ||
*/ | ||
@import "base"; | ||
|
||
@import "shame"; |