Skip to content

Commit c5c85b6

Browse files
committed
Updated dependencies. Updated landing. Added headers to the demo.
1 parent 7924781 commit c5c85b6

10 files changed

+3031
-10594
lines changed

package-lock.json

+2,931-10,522
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "^16.0.3",
15-
"@angular/common": "^16.0.3",
16-
"@angular/compiler": "^16.0.3",
17-
"@angular/core": "^16.0.3",
18-
"@angular/forms": "^16.0.3",
19-
"@angular/platform-browser": "^16.0.3",
20-
"@angular/platform-browser-dynamic": "^16.0.3",
21-
"@angular/router": "^16.0.3",
22-
"@ngrx/effects": "^16.0.0",
23-
"@ngrx/store": "^16.0.0",
24-
"bootstrap": "^5.2.3",
25-
"bootstrap-icons": "^1.10.5",
14+
"@angular/animations": "^16.2.12",
15+
"@angular/common": "^16.2.12",
16+
"@angular/compiler": "^16.2.12",
17+
"@angular/core": "^16.2.12",
18+
"@angular/forms": "^16.2.12",
19+
"@angular/platform-browser": "^16.2.12",
20+
"@angular/platform-browser-dynamic": "^16.2.12",
21+
"@angular/router": "^16.2.12",
22+
"@ngrx/effects": "^16.3.0",
23+
"@ngrx/store": "^16.3.0",
24+
"bootstrap": "^5.3.2",
25+
"bootstrap-icons": "^1.11.3",
2626
"rxjs": "^7.8.0",
27-
"tslib": "^2.5.2",
28-
"zone.js": "^0.13.0"
27+
"tslib": "^2.6.2",
28+
"zone.js": "^0.13.3"
2929
},
3030
"devDependencies": {
31-
"@angular-devkit/build-angular": "^16.0.2",
32-
"@angular/cli": "^16.0.2",
33-
"@angular/compiler-cli": "^16.0.3",
31+
"@angular-devkit/build-angular": "^16.2.12",
32+
"@angular/cli": "^16.2.12",
33+
"@angular/compiler-cli": "^16.2.12",
3434
"@types/jasmine": "~4.3.0",
35-
"jasmine-core": "^5.0.0",
35+
"jasmine-core": "^5.1.1",
3636
"karma": "~6.4.0",
3737
"karma-chrome-launcher": "3.2",
3838
"karma-coverage": "~2.2.0",
3939
"karma-jasmine": "~5.1.0",
4040
"karma-jasmine-html-reporter": "~2.0.0",
41-
"typescript": "^5.0.4"
41+
"typescript": "<5.2.0"
4242
}
4343
}

src/app/app.component.html

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1+
<nav class="navbar sticky-top bg-light mb-4">
2+
<div class="container">
3+
<a class="navbar-brand" [routerLink]="ROUTE_PATHS.LANDING">
4+
<i class="bi bi-universal-access-circle fs-4"></i>
5+
<span class="navbar-brand h1">
6+
Access composer
7+
</span>
8+
</a>
9+
10+
<a class="btn btn-primary" *ngIf="isDemoLinkShown$ | async" [routerLink]="ROUTE_PATHS.DEMO" role="button">Try demo</a>
11+
</div>
12+
</nav>
13+
114
<app-notifications></app-notifications>
215

3-
<router-outlet></router-outlet>
16+
<div class="container">
17+
<router-outlet></router-outlet>
18+
</div>
419

src/app/app.component.ts

+23-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
1-
import { Component } from '@angular/core';
1+
import { Component, OnInit } from '@angular/core';
2+
import { NavigationEnd, Router } from "@angular/router";
3+
import { filter, map, Observable } from "rxjs";
4+
5+
import { RoutePaths } from "./route-paths.enum";
26

37
@Component({
48
selector: 'app-root',
59
templateUrl: './app.component.html',
610
styleUrls: ['./app.component.scss']
711
})
8-
export class AppComponent { }
12+
export class AppComponent implements OnInit {
13+
protected readonly ROUTE_PATHS = RoutePaths;
14+
15+
public isDemoLinkShown$!: Observable<boolean>;
16+
17+
constructor(
18+
private router: Router,
19+
) { }
20+
21+
ngOnInit() {
22+
this.isDemoLinkShown$ = this.router.events.pipe(
23+
filter((routerEvent: any) => routerEvent instanceof NavigationEnd),
24+
map((routerEvent: NavigationEnd) => {
25+
return !routerEvent.urlAfterRedirects.includes(RoutePaths.DEMO);
26+
}),
27+
);
28+
}
29+
}

src/app/components/demo/access-list/access-list.component.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<h1>Manage access</h1>
2+
13
<table
24
class="table table-hover table-bordered table-responsive"
35
*ngIf="clientAccess$ | async as clientAccess">

src/app/components/demo/client-access-form/client-access-form.component.html

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<h1>Set up services you are using</h1>
2+
13
<form
24
class="row g-3" novalidate
35
[formGroup]="accessForm" (ngSubmit)="submit()">
+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
<div class="container">
2-
<router-outlet></router-outlet>
3-
</div>
1+
<router-outlet></router-outlet>

src/app/components/demo/init-client-form/init-client-form.component.html

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
<h1>Init company</h1>
2+
13
<form
24
class="row g-3" novalidate
35
[formGroup]="initClientForm" (ngSubmit)="submit()">
46

7+
58
<div class="col-auto">
69
<label for="inputDomain" class="visually-hidden">Domain</label>
710
<input type="text" class="form-control" id="inputDomain" formControlName="domain" placeholder="ex. google.com">
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,37 @@
1-
<nav class="navbar sticky-top bg-light">
2-
<div class="container">
3-
<a class="navbar-brand" [routerLink]="ROUTE_PATHS.LANDING">
4-
<i class="bi bi-universal-access-circle fs-4"></i>
5-
<span class="navbar-brand h1">
6-
Access composer
7-
</span>
8-
</a>
9-
10-
<a class="btn btn-primary" [routerLink]="ROUTE_PATHS.DEMO" role="button">Try demo</a>
11-
</div>
12-
</nav>
13-
14-
<div class="container">
15-
<div>
16-
<h1>Giving access takes a long time.</h1>
17-
<h3>This product will make it easy for you with one click.</h3>
18-
</div>
19-
20-
<hr>
21-
22-
<div>
23-
<h2>
24-
This product is intended for companies that use third party services.
25-
</h2>
26-
</div>
27-
28-
<hr>
29-
30-
<div>
31-
<h2>Competitors</h2>
32-
33-
<a class="btn btn-danger" target="_blank" href="https://gusto.com/" role="button">
34-
Gusto
35-
<i class="bi bi-box-arrow-up-right"></i>
36-
</a>
37-
</div>
38-
39-
<a class="btn btn-primary" [routerLink]="ROUTE_PATHS.DEMO" role="button">Try demo</a>
1+
<div>
2+
<h1>Managing access takes a long time and looks complicated.</h1>
3+
<br/>
4+
<h4>You hired a new employee and you need to give him an access to, for example: email, messenger, VPN, task
5+
tracker, cloud, repository, etc.</h4>
6+
<br/>
7+
<h4>When an employee leaves your company, you need to disable all of his accesses.</h4>
8+
<br/>
9+
<h3>Using this product you will do it just with one click.</h3>
4010
</div>
4111

42-
<nav class="navbar fixed-bottom bg-light">
43-
<div class="container">
44-
<a class="navbar-brand" href="#">Fixed bottom</a>
45-
</div>
46-
</nav>
12+
<br/>
4713

14+
<hr>
15+
16+
<br/>
17+
18+
<div>
19+
<h2>
20+
This product could be interesting for companies that use third-party services.
21+
</h2>
22+
</div>
23+
24+
<br/>
25+
26+
<hr>
27+
28+
<br/>
29+
30+
<div>
31+
<h2>Competitors</h2>
32+
33+
<a class="btn btn-danger" target="_blank" href="https://gusto.com/" role="button">
34+
Gusto
35+
<i class="bi bi-box-arrow-up-right"></i>
36+
</a>
37+
</div>
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import { Component } from '@angular/core';
22

3-
import { RoutePaths } from "../../route-paths.enum";
4-
53
@Component({
64
selector: 'app-landing',
75
templateUrl: './landing.component.html',
86
styleUrls: ['./landing.component.scss']
97
})
108
export class LandingComponent {
11-
public readonly ROUTE_PATHS = RoutePaths;
129
}

0 commit comments

Comments
 (0)