Skip to content

Commit

Permalink
add accessibility statement
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Lombardi <[email protected]>
  • Loading branch information
lombardi-gux committed Mar 4, 2022
1 parent fb76fb8 commit 10f05bf
Show file tree
Hide file tree
Showing 9 changed files with 1,360 additions and 2,658 deletions.
3,043 changes: 1,056 additions & 1,987 deletions client/package-lock.json

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,42 @@
},
"private": true,
"dependencies": {
"@angular/animations": "13.1.2",
"@angular/cdk": "13.1.2",
"@angular/common": "13.1.2",
"@angular/compiler": "13.1.2",
"@angular/core": "13.1.2",
"@angular/forms": "13.1.2",
"@angular/localize": "13.1.2",
"@angular/material": "13.1.2",
"@angular/platform-browser": "13.1.2",
"@angular/platform-browser-dynamic": "13.1.2",
"@angular/platform-server": "13.1.2",
"@angular/router": "13.1.2",
"@angular/animations": "13.2.5",
"@angular/cdk": "13.2.5",
"@angular/common": "13.2.5",
"@angular/compiler": "13.2.5",
"@angular/core": "13.2.5",
"@angular/forms": "13.2.5",
"@angular/localize": "13.2.5",
"@angular/material": "13.2.5",
"@angular/platform-browser": "13.2.5",
"@angular/platform-browser-dynamic": "13.2.5",
"@angular/platform-server": "13.2.5",
"@angular/router": "13.2.5",
"@ng-bootstrap/ng-bootstrap": "11.0.0",
"@ngx-loading-bar/core": "5.1.2",
"@ngx-loading-bar/http-client": "5.1.2",
"@ngx-loading-bar/router": "5.1.2",
"@ngx-loading-bar/core": "6.0.2",
"@ngx-loading-bar/http-client": "6.0.2",
"@ngx-loading-bar/router": "6.0.2",
"bootstrap": "4.6.0",
"core-js": "3.19.1",
"core-js": "3.21.1",
"d3": "7.3.0",
"jquery": "3.6.0",
"pb-design-system": "6.8.4",
"pb-design-system": "6.10.0",
"popper.js": "1.16.1",
"rxjs": "6.6.7",
"topojson-client": "3.1.0",
"tslib": "2.3.1",
"zone.js": "~0.11.4"
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "13.1.3",
"@angular/cli": "13.1.3",
"@angular/compiler-cli": "13.1.2",
"@angular/language-service": "13.1.2",
"@angular-devkit/build-angular": "13.2.5",
"@angular/cli": "13.2.5",
"@angular/compiler-cli": "13.2.5",
"@angular/language-service": "13.2.5",
"@types/d3": "7.1.0",
"@types/node": "15.0.1",
"codelyzer": "6.0.2",
"ts-node": "10.2.0",
"ts-node": "10.6.0",
"tslint": "6.1.3",
"typescript": "4.5.4"
}
Expand Down
33 changes: 33 additions & 0 deletions client/src/app/accessibility/accessibility-routing.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { FooterComponent } from '@app/shared/footer/footer.component';
import { HeaderComponent } from '@app/shared/header/header.component';
import { AccessibilityStatementComponent } from './accessibility-statement.component';

const routes: Routes = [
{
path: '',
children: [
{
path: '',
outlet: 'header',
component: HeaderComponent,
},
{
path: '',
component: AccessibilityStatementComponent,
},
{
path: '',
outlet: 'footer',
component: FooterComponent,
},
],
},
];

@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class AccessibilityRoutingModule {}
26 changes: 26 additions & 0 deletions client/src/app/accessibility/accessibility-statement.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-accessibility-statement',
template: `
<pbds-page-title ttl="Accessibility Statement"></pbds-page-title>
<div class="container mt-7">
<div class="row">
<div class="col-md-7">
<p>
Pitney Bowes cares about every user&rsquo;s experience. By applying accessibility standards, we are
continually improving that experience for people with disabilities.
</p>
<p>
We strive to make our products as accessible as possible for people of all levels of ability using the World
Wide Web Consortium&rsquo;s Web Content Accessibility Guidelines (WCAG). Our goal is to meet Level AA
standards for our products.
</p>
</div>
</div>
</div>
`,
styles: [],
})
export class AccessibilityStatementComponent {}
11 changes: 11 additions & 0 deletions client/src/app/accessibility/accessibility.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { SharedModule } from '@app/shared/shared.module';
import { AccessibilityRoutingModule } from './accessibility-routing.module';
import { AccessibilityStatementComponent } from './accessibility-statement.component';

@NgModule({
declarations: [AccessibilityStatementComponent],
imports: [CommonModule, AccessibilityRoutingModule, SharedModule],
})
export class AccessibilityModule {}
4 changes: 4 additions & 0 deletions client/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ const routes: Routes = [
path: 'item1',
loadChildren: () => import('./item1/item1.module').then((m) => m.Item1Module),
},
{
path: 'accessibility',
loadChildren: () => import('./accessibility/accessibility.module').then((m) => m.AccessibilityModule),
},
{
path: '',
redirectTo: '/home',
Expand Down
19 changes: 13 additions & 6 deletions client/src/app/shared/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,28 @@
<div class="container-fluid">
<div class="row align-items-center">
<div class="col-xs-12 col-md-8 col-lg-6">
<div class="d-flex flex-column flex-sm-row justify-content-center justify-content-sm-start align-items-sm-center">
<a class="footer-logo d-block d-sm-inline-block text-center text-sm-left mr-sm-2" href="http://www.pb.com"
aria-label="Pitney Bowes"></a>
<span class="d-block d-sm-inline-block text-center text-sm-left pt-1 pb-3 p-sm-0">&copy;{{date}} Pitney Bowes
Inc.</span>
<div
class="d-flex flex-column flex-sm-row justify-content-center justify-content-sm-start align-items-sm-center"
>
<a
class="footer-logo d-block d-sm-inline-block text-center text-sm-left mr-sm-2"
href="http://www.pb.com"
aria-label="Pitney Bowes"
></a>
<span class="d-block d-sm-inline-block text-center text-sm-left pt-1 pb-3 p-sm-0"
>&copy;{{ date }} Pitney Bowes Inc.</span
>
</div>
</div>

<!-- standard footer links -->
<div class="col-xs-12 col-md-4 col-lg-6">
<div class="d-flex justify-content-center justify-content-sm-end align-items-sm-center">
<a class="d-block" href="">Legal</a>
<a class="d-block ml-3" routerLink="/accessibility">Accessibility</a>
<a class="d-block ml-3" href="">Contact us</a>
</div>
</div>
</div>
</div>
</footer>
</footer>
Loading

0 comments on commit 10f05bf

Please sign in to comment.