diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index c7eb174..d467bf0 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,6 +1,7 @@ import { Routes } from '@angular/router'; import { Startpage } from './sites/startpage/startpage'; import {TestIt} from './sites/test-it/test-it'; +import {GeneratorPassword} from './sites/generator/password/generator-password.component'; export const routes: Routes = [ { @@ -11,6 +12,10 @@ export const routes: Routes = [ path: '', component: Startpage, }, + { + path: 'generator/password', + component: GeneratorPassword, + }, { path: '**', redirectTo: '', diff --git a/src/app/components/custom-description/custom-description.css b/src/app/components/custom-description/custom-description.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/custom-description/custom-description.html b/src/app/components/custom-description/custom-description.html new file mode 100644 index 0000000..fc5dbf4 --- /dev/null +++ b/src/app/components/custom-description/custom-description.html @@ -0,0 +1,12 @@ +
{{descriptionText()}}
+ @if (additionalListEnabled()) { ++ @if (getStrengthDescription(passwordGenerator.value.length)) { + {{getStrengthDescription(passwordGenerator.value.length).text}}* + } +
+*Based on the length of the password
+