-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(UI): utilisation du nouveau composant link (#2705)
- Loading branch information
1 parent
9c2356a
commit b76d0ff
Showing
103 changed files
with
530 additions
and
988 deletions.
There are no files selected for viewing
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 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 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 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 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
12 changes: 7 additions & 5 deletions
12
...Entreprises/EnSavoirPlusApprentissageEntreprises/EnSavoirPlusApprentissageEntreprises.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 |
---|---|---|
@@ -1,25 +1,27 @@ | ||
import React from 'react'; | ||
import { Container } from 'src/client/components/layouts/Container/Container'; | ||
|
||
import { LinkStyledAsButtonWithIcon } from '~/client/components/ui/LinkStyledAsButton/LinkStyledAsButton'; | ||
import { Link } from '~/client/components/ui/Link/Link'; | ||
|
||
import styles from './EnSavoirPlusApprentissageEntreprises.module.scss'; | ||
|
||
export default function EnSavoirPlusApprentissageEntreprises() { | ||
return <Container className={styles.enSavoirPlus}> | ||
<div className={styles.enSavoirPlusFaq}> | ||
<h2 className={styles.heading}>On répond à toutes vos questions <span>sur l’apprentissage</span></h2> | ||
<LinkStyledAsButtonWithIcon className={styles.link} href="/faq/apprentissage-employeurs-apprentis" appearance="asPrimaryButton"> | ||
<Link className={styles.link} href="/faq/apprentissage-employeurs-apprentis" appearance="asPrimaryButton"> | ||
Consulter la FAQ | ||
</LinkStyledAsButtonWithIcon> | ||
<Link.Icon/> | ||
</Link> | ||
</div> | ||
<div className={styles.enSavoirPlusDepotOffre}> | ||
<h2 className={styles.heading}> | ||
Vous êtes à la recherche d’un apprenti ? | ||
</h2> | ||
<LinkStyledAsButtonWithIcon className={styles.link} href="/apprentissage/deposer-offre" appearance="asPrimaryButton"> | ||
<Link className={styles.link} href="/apprentissage/deposer-offre" appearance="asPrimaryButton"> | ||
Déposer une offre | ||
</LinkStyledAsButtonWithIcon> | ||
<Link.Icon/> | ||
</Link> | ||
</div> | ||
</Container>; | ||
} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ | |
|
||
.link { | ||
max-width: 60ch; | ||
justify-content: center; | ||
width: 100%; | ||
align-self: center; | ||
|
||
|
12 changes: 7 additions & 5 deletions
12
...neApprentissageJeunes/EnSavoirPlusApprentissageJeunes/EnSavoirPlusApprentissageJeunes.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 |
---|---|---|
@@ -1,24 +1,26 @@ | ||
import React from 'react'; | ||
import { Container } from 'src/client/components/layouts/Container/Container'; | ||
|
||
import { LinkStyledAsButtonWithIcon } from '~/client/components/ui/LinkStyledAsButton/LinkStyledAsButton'; | ||
import { Link } from '~/client/components/ui/Link/Link'; | ||
|
||
import styles from './EnSavoirPlusApprentissageJeunes.module.scss'; | ||
|
||
export default function EnSavoirPlusApprentissageJeunes() { | ||
return <Container className={styles.enSavoirPlus}> | ||
<div className={styles.enSavoirPlusParents}> | ||
<h2 className={styles.heading}>L’apprentissage vous intéresse ? <span className={styles.headingSecondary}>On répond à toutes vos questions</span></h2> | ||
<LinkStyledAsButtonWithIcon className={styles.link} href="/faq/apprentissage-parents-enfants" appearance="asPrimaryButton"> | ||
<Link className={styles.link} href="/faq/apprentissage-parents-enfants" appearance="asPrimaryButton"> | ||
Consulter la FAQ | ||
</LinkStyledAsButtonWithIcon> | ||
<Link.Icon/> | ||
</Link> | ||
</div> | ||
<div className={styles.enSavoirPlusEmployeurs}> | ||
<h2 className={styles.heading}>Employeurs : tout ce qu’il y a à savoir <span className={styles.headingSecondary}>sur l’apprentissage pour votre entreprise</span> | ||
</h2> | ||
<LinkStyledAsButtonWithIcon className={styles.link} href="/apprentissage-entreprises" appearance="asPrimaryButton"> | ||
<Link className={styles.link} href="/apprentissage-entreprises" appearance="asPrimaryButton"> | ||
Découvrir l’apprentissage | ||
</LinkStyledAsButtonWithIcon> | ||
<Link.Icon/> | ||
</Link> | ||
</div> | ||
</Container>; | ||
} |
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ | |
} | ||
|
||
& .link { | ||
justify-content: center; | ||
max-width: 60ch; | ||
width: 100%; | ||
margin: 1.25rem auto 0 auto; | ||
|
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
Oops, something went wrong.