Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit a8dae6b

Browse files
feat: review icons and windows text
1 parent 6a39e2c commit a8dae6b

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed

src/components/hero/hero.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Component, ComponentInterface, h, Host } from '@stencil/core';
2-
import {IconFingerPrint} from '../../icons/fingerprint';
1+
import {Component, ComponentInterface, h, Host} from '@stencil/core';
32
import {IconLock} from '../../icons/lock';
3+
import {IconPerson} from '../../icons/person';
44
import i18n from '../../stores/i18n.store';
55

66
@Component({
@@ -16,11 +16,11 @@ export class Hero implements ComponentInterface {
1616
<h2>{i18n.state.hero.title}</h2>
1717

1818
<div>
19-
<IconLock />
19+
<IconPerson />
2020
<p innerHTML={i18n.state.hero.authentication}></p>
2121
</div>
2222
<div>
23-
<IconFingerPrint />
23+
<IconLock />
2424
<p innerHTML={i18n.state.hero.password_less}></p>
2525
</div>
2626
</Host>

src/components/requirements/requirements.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {Component, h, Host} from '@stencil/core';
22
import {IconDevices} from '../../icons/devices';
3-
import {IconSmartphone} from '../../icons/smartphone';
43
import i18n from '../../stores/i18n.store';
4+
import {IconFingerPrint} from '../../icons/fingerprint';
55

66
@Component({
77
tag: 'what-is-ii-requirements',
@@ -16,13 +16,14 @@ export class Requirements {
1616
<h2>{i18n.state.requirements.title}</h2>
1717

1818
<div>
19-
<IconDevices />
19+
<IconFingerPrint />
2020
<p>{i18n.state.requirements.biometrics}</p>
2121
</div>
2222
<div>
23-
<IconSmartphone />
23+
<IconDevices />
2424
<p innerHTML={i18n.state.requirements.android}></p>
2525
<p innerHTML={i18n.state.requirements.ios}></p>
26+
<p innerHTML={i18n.state.requirements.windows}></p>
2627
</div>
2728
</Host>
2829
);

src/i18n/en.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export const en: I18n = {
1313
title: 'Devices and Requirements',
1414
biometrics: 'If your device does not support biometric identification (Face ID, Windows Hello, etc) you can use a security key (YubiKey) or a Ledger to authenticate.',
1515
android: '<strong>Android</strong> - Works on Chrome with biometrics or other authentication hardware.',
16-
ios: '<strong>iOS</strong> - Works on any up-to-date device with Face/Touch ID.'
16+
ios: '<strong>Apple</strong> - Works on any up-to-date device with Face/Touch ID.',
17+
windows: '<strong>Windows</strong> - Works on any up-to-date device supporting Windows Hello.'
1718
},
1819
anchor: {
1920
title: "Creating an Identity Anchor",

src/icons/person.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import {FunctionalComponent, h} from '@stencil/core';
2+
3+
// Source: https://fonts.google.com/icons?selected=Material%20Icons%3Aperson%3A
4+
export const IconPerson: FunctionalComponent = () => (
5+
<svg
6+
xmlns="http://www.w3.org/2000/svg"
7+
height="24px"
8+
viewBox="0 0 24 24"
9+
width="24px"
10+
fill="#000000">
11+
<path d="M0 0h24v24H0z" fill="none" />
12+
<path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" />
13+
</svg>
14+
);

src/types/i18n.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export interface I18nRequirements {
1111
biometrics: string;
1212
android: string;
1313
ios: string;
14+
windows: string;
1415
}
1516

1617
export interface I18nAnchor {

0 commit comments

Comments
 (0)