Skip to content

Commit

Permalink
feat(campagne): remplace l'image de présentation de la page apprenti
Browse files Browse the repository at this point in the history
  • Loading branch information
sokl-octo committed Oct 14, 2024
1 parent 1b84c71 commit f1ffed0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.hero {
& img {
object-position: top right;
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import classNames from 'classnames';
import React from 'react';

import EnSavoirPlusApprentissage
Expand All @@ -16,6 +17,7 @@ import { TYPE_SIMULATEUR } from '~/pages/apprentissage/simulation/index.page';
import { VideoCampagneApprentissage } from '~/server/campagne-apprentissage/domain/videoCampagneApprentissage';

import styles from '../CampagneApprentissage.module.scss';
import stylesApprenti from './CampagneApprentissageJeunes.module.scss';

interface CampagneApprentissageJeunesProps {
videos: Array<VideoCampagneApprentissage>
Expand Down Expand Up @@ -49,7 +51,7 @@ export function CampagneApprentissageJeunes({ videos }: CampagneApprentissageJeu
return (
<>
<header className={styles.titrePage}>
<HeroWithIllustration image={'/images/campagne-apprentissage-jeune-avec-texte.webp'} className={styles.hero}>
<HeroWithIllustration image={'/images/campagne-apprentissage-jeune-oct-2024.webp'} className={classNames(styles.hero, stylesApprenti.hero)}>
<h1>Avec l’apprentissage, vous apprenez directement <span className={styles.avoidLineBreakInside}>sur le terrain</span> <span className={styles.avoidLineBreakInside}>et vous êtes payés !</span></h1>
<Link href={`/apprentissage/simulation?simulateur=${TYPE_SIMULATEUR.ALTERNANT}`} appearance={'asPrimaryButton'} className={styles.cta}>
<span>
Expand Down

0 comments on commit f1ffed0

Please sign in to comment.