-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #493 from lwnoble/main
preview
- Loading branch information
Showing
51 changed files
with
2,247 additions
and
180 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright (c) 2023 Discover Financial Services | ||
* Licensed under MIT License. See License.txt in the project root for license information | ||
*/ | ||
import React, { useState, useEffect } from 'react'; | ||
import { Breadcrumbs, Button, Link, Typography, Grid} from '@mui/material'; | ||
|
||
interface Props { | ||
style?: any; | ||
children?: React.ReactNode; | ||
className?: string; | ||
} | ||
|
||
export const DecorativeText: React.FC<Props> = ({className=""}) => { | ||
return ( | ||
<section className={className}> | ||
<Grid justifyContent="center" className="v-center" container spacing={2} columns={12} margin={2}> | ||
<Grid item className="v-center" lg={8} md={6} sm={12}> | ||
<h2>Title</h2> | ||
<div className="body"> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip. | ||
</p> | ||
</div> | ||
</Grid> | ||
|
||
</Grid> | ||
</section> | ||
) | ||
} |
48 changes: 48 additions & 0 deletions
48
code/src/ui/src/mui-a11y-tb/templates/FeatureHighlightsLeft.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* Copyright (c) 2023 Discover Financial Services | ||
* Licensed under MIT License. See License.txt in the project root for license information | ||
*/ | ||
import React, { useState, useEffect } from 'react'; | ||
import { Breadcrumbs, Button, Link, Typography, Grid, Divider } from '@mui/material'; | ||
import { Avatar, Stack } from '@mui/material'; | ||
import { ListComponent } from '../../pages/components/ListComponent'; | ||
interface Props { | ||
style?: any; | ||
children?: React.ReactNode; | ||
className?: string; | ||
} | ||
|
||
export const FeatureHighlightsLeft: React.FC<Props> = ({className=""}) => { | ||
return ( | ||
<section className={className}> | ||
<Grid justifyContent="center" className="v-center" container spacing={2} columns={12} margin={2}> | ||
<Grid item spacing={2} className="centered" lg={6} sm={12} order={{ lg: 1, sm: 2 }}> | ||
<div className="card feature-card white glow-9"> | ||
<h3 className="gradient-title">Title</h3> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip. | ||
</p> | ||
<div className="body"> | ||
<ListComponent hasIcon isLarge type={3} title={'Episode 1'} overline={'Season 1'} body={'testing'} ></ListComponent> | ||
<Divider /> | ||
<ListComponent hasIcon isLarge type={3} title={'Episode 2'} overline={'Season 1'} body={'testing'} ></ListComponent> | ||
<Divider /> | ||
<ListComponent hasIcon isLarge type={3} title={'Episode 3'} overline={'Season 1'} body={'testing'} ></ListComponent> | ||
<Divider /> | ||
<ListComponent hasIcon isLarge type={3} title={'Episode 4'} overline={'Season 1'} body={'testing'} ></ListComponent> | ||
</div> | ||
</div> | ||
</Grid> | ||
<Grid item spacing={2} lg={6} sm={12} order={{ lg: 2, sm: 1 }}> | ||
<div className="overline-large">Features</div> | ||
<h2>Title</h2> | ||
<div className="body"> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip. | ||
</p> | ||
</div> | ||
</Grid> | ||
</Grid> | ||
</section> | ||
) | ||
} |
49 changes: 49 additions & 0 deletions
49
code/src/ui/src/mui-a11y-tb/templates/FeatureHighlightsRight.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Copyright (c) 2023 Discover Financial Services | ||
* Licensed under MIT License. See License.txt in the project root for license information | ||
*/ | ||
import React, { useState, useEffect } from 'react'; | ||
import { Breadcrumbs, Button, Link, Typography, Grid, Divider } from '@mui/material'; | ||
import { Avatar, Stack } from '@mui/material'; | ||
import { ListComponent } from '../../pages/components/ListComponent'; | ||
interface Props { | ||
style?: any; | ||
children?: React.ReactNode; | ||
className?: string; | ||
} | ||
|
||
export const FeatureHighlightsRight: React.FC<Props> = ({className=""}) => { | ||
return ( | ||
<section className={className}> | ||
<Grid justifyContent="center" className="v-center" container spacing={2} columns={12} margin={2}> | ||
<Grid item spacing={2} lg={6} sm={12}> | ||
<div className="overline-large">Features</div> | ||
<h2>Title</h2> | ||
<div className="body"> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip. | ||
</p> | ||
</div> | ||
</Grid> | ||
<Grid item spacing={2} className="centered" lg={6} sm={12}> | ||
<div className="card feature-card white glow-9"> | ||
<h3 className="gradient-title">Title</h3> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip. | ||
</p> | ||
<div className="body"> | ||
<ListComponent hasIcon isLarge type={3} title={'Episode 1'} overline={'Season 1'} body={'testing'} ></ListComponent> | ||
<Divider /> | ||
<ListComponent hasIcon isLarge type={3} title={'Episode 2'} overline={'Season 1'} body={'testing'} ></ListComponent> | ||
<Divider /> | ||
<ListComponent hasIcon isLarge type={3} title={'Episode 3'} overline={'Season 1'} body={'testing'} ></ListComponent> | ||
<Divider /> | ||
<ListComponent hasIcon isLarge type={3} title={'Episode 4'} overline={'Season 1'} body={'testing'} ></ListComponent> | ||
</div> | ||
</div> | ||
</Grid> | ||
|
||
</Grid> | ||
</section> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
code/src/ui/src/mui-a11y-tb/templates/IconCardsCenteredClickable.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Copyright (c) 2023 Discover Financial Services | ||
* Licensed under MIT License. See License.txt in the project root for license information | ||
*/ | ||
import React, { useState, useEffect } from 'react'; | ||
import { Breadcrumbs, Button, Link, Typography, Grid } from '@mui/material'; | ||
import { ListComponent } from '../../pages/components/ListComponent'; | ||
import { CardSample } from '../../pages/components/cards/CardSample'; | ||
|
||
interface Props { | ||
style?: any; | ||
children?: React.ReactNode; | ||
className?: string; | ||
} | ||
|
||
export const IconCardsCenteredClickable: React.FC<Props> = ({className=""}) => { | ||
return ( | ||
<section className={"centered " + className}> | ||
<Grid justifyContent="center" container spacing={2} columns={12} margin={2}> | ||
<Grid justifyContent="center" item spacing={2} xl={10} sm={12}> | ||
<h2>Title</h2> | ||
<div className="body1">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
</div> | ||
</Grid> | ||
<Grid justifyContent="center" item spacing={2} xl={10} sm={12} className="cardSection"> | ||
<CardSample icon={true} className="fixed" title="Title" clickable={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample icon={true} className="fixed" title="Title" clickable={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample icon={true} className="fixed" title="Title" clickable={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample icon={true} className="fixed" title="Title" clickable={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
</Grid> | ||
</Grid> | ||
</section> | ||
) | ||
} |
50 changes: 50 additions & 0 deletions
50
code/src/ui/src/mui-a11y-tb/templates/IconCardsCenteredHotlink.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Copyright (c) 2023 Discover Financial Services | ||
* Licensed under MIT License. See License.txt in the project root for license information | ||
*/ | ||
import React, { useState, useEffect } from 'react'; | ||
import { Breadcrumbs, Button, Link, Typography, Grid } from '@mui/material'; | ||
import { ListComponent } from '../../pages/components/ListComponent'; | ||
import { CardSample } from '../../pages/components/cards/CardSample'; | ||
|
||
interface Props { | ||
style?: any; | ||
children?: React.ReactNode; | ||
className?: string; | ||
} | ||
|
||
export const IconCardsCenteredHotlink: React.FC<Props> = ({className=""}) => { | ||
return ( | ||
<section className={"centered " + className}> | ||
<Grid justifyContent="center" container spacing={2} columns={12} margin={2}> | ||
<Grid justifyContent="center" item spacing={2} xl={10} sm={12}> | ||
<h2>Title</h2> | ||
<div className="body1">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
</div> | ||
</Grid> | ||
<Grid justifyContent="center" item spacing={2} xl={10} sm={12} className="cardSection"> | ||
<CardSample icon={true} className="fixed" title="Title" hotlink={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample icon={true} className="fixed" title="Title" hotlink={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample icon={true} className="fixed" title="Title" hotlink={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample icon={true} className="fixed" title="Title" hotlink={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
</Grid> | ||
</Grid> | ||
</section> | ||
) | ||
} |
50 changes: 50 additions & 0 deletions
50
code/src/ui/src/mui-a11y-tb/templates/IconCardsCenteredOneButton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Copyright (c) 2023 Discover Financial Services | ||
* Licensed under MIT License. See License.txt in the project root for license information | ||
*/ | ||
import React, { useState, useEffect } from 'react'; | ||
import { Breadcrumbs, Button, Link, Typography, Grid } from '@mui/material'; | ||
import { ListComponent } from '../../pages/components/ListComponent'; | ||
import { CardSample } from '../../pages/components/cards/CardSample'; | ||
|
||
interface Props { | ||
style?: any; | ||
children?: React.ReactNode; | ||
className?: string; | ||
} | ||
|
||
export const IconCardsCenteredOneButton: React.FC<Props> = ({className=""}) => { | ||
return ( | ||
<section className={"centered " + className}> | ||
<Grid justifyContent="center" container spacing={2} columns={12} margin={2}> | ||
<Grid justifyContent="center" item spacing={2} xl={10} sm={12}> | ||
<h2>Cards Centered on Page, Left Aligned, Fixed Width, One Buttons</h2> | ||
<div className="body1">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
</div> | ||
</Grid> | ||
<Grid justifyContent="center" item spacing={2} xl={10} sm={12} className="cardSection"> | ||
<CardSample icon={true} className="fixed" title="Title" clickable={false} hideSecondary={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample icon={true} className="fixed" title="Title" hideSecondary={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample icon={true} className="fixed" title="Title" hideSecondary={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
<CardSample className="fixed" title="Title" hideSecondary={true}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
</Grid> | ||
</Grid> | ||
</section> | ||
) | ||
} |
53 changes: 53 additions & 0 deletions
53
code/src/ui/src/mui-a11y-tb/templates/IconCardsCenteredTwoButtons.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* Copyright (c) 2023 Discover Financial Services | ||
* Licensed under MIT License. See License.txt in the project root for license information | ||
*/ | ||
import React, { useState, useEffect } from 'react'; | ||
import { Breadcrumbs, Button, Link, Typography, Grid } from '@mui/material'; | ||
import { ListComponent } from '../../pages/components/ListComponent'; | ||
import { CardSample } from '../../pages/components/cards/CardSample'; | ||
|
||
interface Props { | ||
style?: any; | ||
children?: React.ReactNode; | ||
className?: string; | ||
} | ||
|
||
export const IconCardsCenteredTwoButtons: React.FC<Props> = ({className=""}) => { | ||
return ( | ||
<section className={"centered " + className}> | ||
<Grid justifyContent="center" container spacing={2} columns={12} margin={2}> | ||
<Grid justifyContent="center" item spacing={2} xl={10} sm={12}> | ||
<h2>Cards Centered on Page, Left Aligned, Fixed Width, Two Buttons</h2> | ||
<div className="body1">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
</div> | ||
</Grid> | ||
<Grid justifyContent="center" item spacing={2} xl={10} sm={12} className="cardSection"> | ||
<CardSample icon={true} className="fixed" title="Title" clickable={false}> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
|
||
<CardSample icon={true} className="fixed" title="Title" > | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
|
||
<CardSample icon={true} className="fixed" title="Title" > | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
|
||
<CardSample icon={true} className="fixed" title="Title" > | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, | ||
sed do eiusmod tempor incididunt ut labore et dolore | ||
magna aliqua | ||
</CardSample> | ||
</Grid> | ||
</Grid> | ||
</section> | ||
) | ||
} |
Oops, something went wrong.