mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-09-01 02:20:56 -07:00
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:
parent
b1a4d26be8
commit
53c2d98eaa
41 changed files with 3992 additions and 1050 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue