Update version number on frontend (#730)

* Update version number on frontend

- add verion to download packet
- add verison to side panel
- update snaphots
- add version to constant file

* Add minor UI changes from QA

- adjust copy in download package
- update tests

* Refactor all intl code and will add page tests

- remove all copy app wide and place into respective data/copy folder
- adds tests for each page
- allow product to make copy changes in one place
- prepare for spanish language effort
This commit is contained in:
Vim 2021-09-22 23:56:23 -07:00 committed by GitHub
commit 53c2d98eaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 3992 additions and 1050 deletions

View file

@ -6,12 +6,13 @@ import LinkTypeWrapper from '../LinkTypeWrapper';
interface AboutCardProps {
imgSrc: string;
header: string;
size?: 'small' | 'large';
size: 'small' | 'large';
linkText?: string;
url?: string;
openUrlNewTab?: boolean;
className?: string;
internal?:boolean;
// body:string | React.ReactNode;
}
const AboutCard = (props: React.PropsWithChildren<AboutCardProps>) => {
@ -30,7 +31,7 @@ const AboutCard = (props: React.PropsWithChildren<AboutCardProps>) => {
<Grid tablet={{col: 9}}>
<Grid row>
<h2 data-cy={'about-screen-tool-heading'}>{props.header} </h2>
<h2 data-cy={'about-screen-tool-heading'}>{props.header}</h2>
{props.children}
</Grid>
</Grid>
@ -54,7 +55,7 @@ const AboutCard = (props: React.PropsWithChildren<AboutCardProps>) => {
<Grid tablet={{col: 9}}>
<Grid row>
<h3>{props.header}</h3>
<p>{props.children}</p>
{props.children}
<div className={'j40-aboutcard-sm-link'}>
<LinkTypeWrapper
linkText={props.linkText}

View file

@ -31,9 +31,7 @@ exports[`rendering of the AboutCard checks if component renders 1`] = `
<h3>
Test Header
</h3>
<p>
Content body of the action card.
</p>
Content body of the action card.
<div
class="j40-aboutcard-sm-link"
>