Skip to content

Commit

Permalink
fix(frontend): remove heading on footer
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelB committed Mar 17, 2021
1 parent d31a831 commit d2598bd
Show file tree
Hide file tree
Showing 26 changed files with 52 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ exports[`<About /> should render 1`] = `
.c31 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -415,6 +416,7 @@ exports[`<About /> should render 1`] = `
.c38 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ exports[`<CodeDuTravail /> should render 1`] = `
.c48 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ exports[`<FicheContribution /> should render with external content 1`] = `
.c59 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -741,6 +742,7 @@ exports[`<FicheContribution /> should render with external content 1`] = `
.c65 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -753,6 +755,7 @@ exports[`<FicheContribution /> should render with external content 1`] = `
.c88 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down Expand Up @@ -3899,6 +3902,7 @@ exports[`<FicheContribution /> should render without external content 1`] = `
.c59 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -3911,6 +3915,7 @@ exports[`<FicheContribution /> should render without external content 1`] = `
.c65 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -3923,6 +3928,7 @@ exports[`<FicheContribution /> should render without external content 1`] = `
.c88 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,7 @@ exports[`<DroitDuTravail /> should render 1`] = `
.c33 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -1162,6 +1163,7 @@ exports[`<DroitDuTravail /> should render 1`] = `
.c45 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -1174,6 +1176,7 @@ exports[`<DroitDuTravail /> should render 1`] = `
.c95 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ exports[`<FicheMT /> should render 1`] = `
.c78 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ exports[`<FicheSP /> should render 1`] = `
.c48 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ exports[`<Term /> should render 1`] = `
.c36 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ exports[`<Glossaire /> should render 1`] = `
.c32 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -405,6 +406,7 @@ exports[`<Glossaire /> should render 1`] = `
.c40 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ exports[`<Home /> should render 1`] = `
.c63 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ exports[`<MentionLegales /> should render 1`] = `
.c31 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -425,6 +426,7 @@ exports[`<MentionLegales /> should render 1`] = `
.c40 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@ exports[`<ModelesDeCourrier /> should render 1`] = `
.c79 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ exports[`<ModelesDeCourriers /> should render 1`] = `
.c49 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ exports[`<Outils /> should render 1`] = `
.c51 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ exports[`<CookiePolicy /> should render 1`] = `
.c30 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -399,6 +400,7 @@ exports[`<CookiePolicy /> should render 1`] = `
.c37 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ exports[`<Recherche /> should render 1`] = `
.c38 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ exports[`<Stats /> should render 1`] = `
.c41 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ exports[`<Theme /> should render 1`] = `
.c43 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ function Feedback({
<StyledSection>
<Container>
<StyledWrapper variant="light">
<StyledHeading
<StyledStrong
as={Heading}
variant="primary"
stripe="left"
shift={theme.spacings.xmedium}
>
Avez-vous trouvé la réponse à votre question&nbsp;?
</StyledHeading>
</StyledStrong>
{isSatisfied === null && (
<YesNo>
<StyledButton
Expand Down Expand Up @@ -102,7 +103,7 @@ const StyledWrapper = styled(Wrapper)`
}
`;

const StyledHeading = styled(Heading)`
const StyledStrong = styled.strong`
flex: 0 1 auto;
margin-bottom: 0;
padding-top: ${spacings.small};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ exports[`<AccessibilityModal /> renders a popup when click on button 1`] = `
.c4 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ exports[`<Contribution /> should NOT render invalid preselected convention 1`] =
.c9 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -303,6 +304,7 @@ exports[`<Contribution /> should NOT render invalid preselected convention 1`] =
.c15 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down Expand Up @@ -911,6 +913,7 @@ exports[`<Contribution /> should render answer references 1`] = `
.c9 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -923,6 +926,7 @@ exports[`<Contribution /> should render answer references 1`] = `
.c15 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down Expand Up @@ -1531,6 +1535,7 @@ exports[`<Contribution /> should render preselected convention 1`] = `
.c9 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -1543,6 +1548,7 @@ exports[`<Contribution /> should render preselected convention 1`] = `
.c15 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down Expand Up @@ -2151,6 +2157,7 @@ exports[`<Contribution /> should render with both answers 1`] = `
.c9 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand All @@ -2163,6 +2170,7 @@ exports[`<Contribution /> should render with both answers 1`] = `
.c15 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down Expand Up @@ -2751,6 +2759,7 @@ exports[`<Contribution /> should render with conventions answer 1`] = `
.c12 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down Expand Up @@ -3051,6 +3060,7 @@ exports[`<Contribution /> should render with generic answer 1`] = `
.c1 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down Expand Up @@ -3191,6 +3201,7 @@ exports[`<Contribution /> should render with generic answer and content 1`] = `
.c1 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ exports[`<Convention /> renders 1`] = `
.c1 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ exports[`<Footer /> should render 1`] = `
.c6 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ exports[`<Layout /> should render 1`] = `
.c28 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ exports[`<SansIndemniteLicenciement /> should render 1`] = `
.c2 {
position: relative;
margin: 0;
display: block;
color: #2f3b6c;
font-weight: normal;
font-size: 2.8rem;
Expand Down
Loading

0 comments on commit d2598bd

Please sign in to comment.