mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-03 13:44:18 -07:00
Move survey button to footer (#897)
* Move survey button to header - remove SurveyFab component as it's no longer a FAB - place button in heading - add tests - add pageStyles module * Add retry and timeout to failing test * Move survey button to bottom of page * Fix surveyButton failing a11y - udpate snapshots * Align survey button to Contact nav link
This commit is contained in:
parent
474d010bf4
commit
fff9b86d7a
23 changed files with 177 additions and 116 deletions
|
@ -1,10 +1,10 @@
|
|||
import React, {ReactNode} from 'react';
|
||||
import {Helmet} from 'react-helmet';
|
||||
|
||||
import {URLFlagProvider} from '../contexts/FlagContext';
|
||||
|
||||
import J40Header from './J40Header';
|
||||
import J40Footer from './J40Footer';
|
||||
import {URLFlagProvider} from '../contexts/FlagContext';
|
||||
import {Helmet} from 'react-helmet';
|
||||
import SurveyFab from './SurveyFab';
|
||||
|
||||
interface ILayoutProps {
|
||||
children: ReactNode,
|
||||
location: Location,
|
||||
|
@ -31,7 +31,6 @@ const Layout = ({children, location, title}: ILayoutProps) => {
|
|||
<J40Header />
|
||||
<main id={'main-content'}>
|
||||
{children}
|
||||
<SurveyFab />
|
||||
</main>
|
||||
<J40Footer/>
|
||||
</URLFlagProvider>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue