mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-18 21:23:51 -07:00
About page sprint4 (#544)
* Card sections of the About page * Create index.test.tsx * Add test that verifies no console errors and no undefined variables. * Added unit test with snapshot * use global.console.error * Fix unit test for console.error() * Remove areasOfFocusList since it's no longer used * CSS adjustments from PR * Add back in AlertWrapper * github.com link opens in new tab * adds comment to globalize console.error check * Refactor AboutCard * Fixing the top grid so it resizes correctly on mobile. (e.g. using `<Grid desktop={{col: 9}}>` will expand to full width when going to mobile. * So AboutCard can now do 'large' cards (ones at the top) and 'small' cards (ones at the bottom that are 2x per row). * change `desktop` -> `tablet` * `<Grid col={1}>{' '}</Grid>` Co-authored-by: Vim <86254807+vim-usds@users.noreply.github.com>
This commit is contained in:
parent
f7bfc979ba
commit
a2eabda319
11 changed files with 448 additions and 266 deletions
1
client/src/images/about-j40.svg
Normal file
1
client/src/images/about-j40.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="2154.71" height="2297.42" viewBox="0 0 2154.71 2297.42"><defs><style>.a{fill:#c1c1c1;}.b{font-size:580.24px;fill:#1c507f;font-family:Arial-BoldMT, Arial;font-weight:700;}.c{fill:none;}.d{fill:#fff;}</style></defs><circle class="a" cx="1077.36" cy="1220.06" r="1077.36"/><text class="b" transform="translate(584.94 1817.13)">40%</text><rect class="c" x="315.3" width="1569.74" height="1569.74"/><path class="d" d="M1105.34,752.14c106.61,0,200.8,25.51,277.32,58.87,70.64,31.39,115.12,102,115.12,178.56v105.95H712.91V990.22C712.91,913,757.38,842.4,828,811.66,904.55,777.65,998.73,752.14,1105.34,752.14ZM582.09,768.5c71.95,0,130.82-58.87,130.82-130.82S654,506.87,582.09,506.87,451.28,565.74,451.28,637.68,510.15,768.5,582.09,768.5ZM656,840.44c-24.2-3.92-48.4-6.54-73.91-6.54a454.56,454.56,0,0,0-181.82,37.94,131.52,131.52,0,0,0-79.8,121v102.68H614.8V990.22C614.8,935.93,629.84,884.92,656,840.44Zm972.59-71.94c71.94,0,130.81-58.87,130.81-130.82s-58.87-130.81-130.81-130.81-130.81,58.87-130.81,130.81S1556.64,768.5,1628.59,768.5Zm261.62,224.34a131.51,131.51,0,0,0-79.8-121,454.56,454.56,0,0,0-181.82-37.94c-25.51,0-49.71,2.62-73.91,6.54,26.16,44.48,41.2,95.49,41.2,149.78v105.3h294.33ZM1105.34,310.65A196.22,196.22,0,1,1,909.12,506.87,196,196,0,0,1,1105.34,310.65Z" transform="translate(-27.98 124.54)"/></svg>
|
After Width: | Height: | Size: 1.3 KiB |
1
client/src/images/about-usmap.svg
Normal file
1
client/src/images/about-usmap.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 21 KiB |
Loading…
Add table
Add a link
Reference in a new issue