-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EN-6251] feat: page orienter (#168)
- Loading branch information
1 parent
5513e24
commit 8ff3127
Showing
89 changed files
with
1,211 additions
and
596 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
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const StyledEnSavoirPlusButtonContainer = styled.div` | ||
display: block; | ||
max-width: 550px; | ||
margin: 40px auto 0; | ||
`; |
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 @@ | ||
import React from 'react'; | ||
import { MultipleCTA } from '../MultipleCTA'; | ||
import { openModal } from 'src/components/modals/Modal'; | ||
import { ModalInterestLinkedOut } from 'src/components/modals/Modal/ModalGeneric/StepperModal/ModalInterestLinkedOut'; | ||
import { Section } from 'src/components/utils'; | ||
import { H2 } from 'src/components/utils/Headings'; | ||
import { GA_TAGS } from 'src/constants/tags'; | ||
import { gaEvent } from 'src/lib/gtag'; | ||
import { StyledEnSavoirPlusButtonContainer } from './EnSavoirPlus.styles'; | ||
|
||
export const EnSavoirPlus = () => { | ||
return ( | ||
<Section container="large" style="muted"> | ||
<H2 | ||
title={ | ||
<> | ||
Vous souhaitez <span className="orange">en savoir plus</span> sur | ||
LinkedOut ? | ||
</> | ||
} | ||
color="black" | ||
center | ||
/> | ||
<StyledEnSavoirPlusButtonContainer> | ||
<MultipleCTA | ||
data={[ | ||
{ | ||
button: { | ||
label: 'Nous contacter', | ||
onClick: () => { | ||
gaEvent(GA_TAGS.PAGE_ORIENTER_CONTACT_CLIC); | ||
openModal(<ModalInterestLinkedOut />); | ||
}, | ||
dataTestId: 'button-contact', | ||
}, | ||
}, | ||
{ | ||
button: { | ||
label: 'Télécharger la brochure', | ||
href: process.env.ASSOCIATION_BROCHURE, | ||
external: true, | ||
onClick: () => { | ||
gaEvent(GA_TAGS.PAGE_ORIENTER_BROCHURE_CLIC); | ||
}, | ||
style: 'custom-primary-inverted', | ||
}, | ||
}, | ||
]} | ||
/> | ||
</StyledEnSavoirPlusButtonContainer> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './EnSavoirPlus'; |
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
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
This file was deleted.
Oops, something went wrong.
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,33 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const LogoListFlexContainer = styled.div` | ||
display: flex; | ||
flex-wrap: wrap; | ||
margin: 0; | ||
padding: 0; | ||
list-style: none; | ||
margin-left: -15px; | ||
justify-content: center; | ||
align-items: center; | ||
&.background { | ||
background-color: #fff; | ||
} | ||
&.border-rounded { | ||
border-radius: 5px; | ||
} | ||
&.padding { | ||
} | ||
padding: 15px; | ||
`; | ||
|
||
export const LogoListFlexItem = styled.div` | ||
box-sizing: border-box; | ||
padding-left: 15px; | ||
width: ${({ width }) => { | ||
return width; | ||
}}; | ||
`; | ||
|
||
export const StyledCarouselItem = styled.div` | ||
margin: 0 40px !important; | ||
`; |
Oops, something went wrong.