Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
HYP-126: copy change (bugfix) (#86)
Browse files Browse the repository at this point in the history
* HYP-126: copy change (bugfix)

* Update ui-component-library to latest

* HYP-126: most recent changes (persona.title).

---------

Co-authored-by: Matthew Dean <[email protected]>
  • Loading branch information
n3op2 and mattdean-digicatapult authored Mar 12, 2024
1 parent df9acf1 commit af705ef
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digicatapult/sqnc-hyproof-client",
"version": "0.3.9",
"version": "0.3.10",
"description": "User interface for HyProof",
"homepage": "https://github.com/digicatapult/sqnc-hyproof-client",
"main": "src/index.js",
Expand Down Expand Up @@ -72,7 +72,7 @@
"webpack-dev-server": "^5.0.2"
},
"dependencies": {
"@digicatapult/ui-component-library": "^0.19.4",
"@digicatapult/ui-component-library": "^0.19.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-id-generator": "^3.0.2",
Expand Down
19 changes: 9 additions & 10 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,36 @@ export const personas = [
{
id: 'heidi',
name: 'Heidi Heidi',
title: 'Heidi Heidi',
title: 'Heidi',
subtitle: 'The Hydrogen Producer',
company: "Heidi's Hydroelectric Hydrogen",
company: 'Heidi the Hydrogen Producer',
background: '#9EDCFA',
origin: 'http://localhost:8000',
},
{
id: 'emma',
name: 'Emma Emma',
title: 'Emma Emma',
title: 'Emma',
subtitle: 'The Energy Producer',
company: "Emma's Energy LTD",
company: 'Emma the Energy Producer',
background: '#AAED93',
origin: 'http://localhost:8010',
},
{
id: 'reginald',
name: 'Reginald Reginald',
title: 'Reginald Reginald',
title: 'Reginald',
subtitle: 'The Regulator',
company: "Reginald's Hydrogen Regulator",
company: 'Reginald the Regulator',
background: '#FCF281',
origin: 'http://localhost:8020',
},
{
id: 'connor',
name: 'Connor Connor',
title: 'Connor Connor',
title: 'Connor',
subtitle: 'The Hydrogen Consumer',
company: "Connor's Consuming LTD",
company: 'Connor the Consumer',
background: '#FDB6D4',
origin: 'http://localhost:8020',
},
Expand Down Expand Up @@ -127,8 +127,7 @@ export default function App() {
<SidePanel
width="400px"
variant="hyproof"
heading="Certificate View"
title={persona.name}
heading={persona.subtitle.replace('The ', '')}
isOpen={false}
callback={(e) => setShowSelector(e.isOpen)}
>
Expand Down

0 comments on commit af705ef

Please sign in to comment.