Skip to content

Commit

Permalink
fix: sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
desoindx committed Oct 7, 2024
1 parent 8194e95 commit 3f861d0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion src/components/outils/quiz/infos/FriendsVoiture.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { useTranslations } from 'next-intl'
import React from 'react'
import React, { useRef } from 'react'
import useParamContext from 'src/providers/ParamProvider'
import Etiquette from 'components/comparateur/Etiquette'
import Icon from './Icon'
Expand All @@ -10,6 +10,7 @@ import styles from './Infos.module.css'
const FriendsVoiture = () => {
const t = useTranslations('quiz.friends-voiture')
const { language } = useParamContext()
const ref = useRef(null)
return (
<>
<div className={styles.container}>
Expand All @@ -25,6 +26,7 @@ const FriendsVoiture = () => {
</div>
<br />
<Etiquette
ref={ref}
baseValue={4990}
comparisons={['streamingvideo', 'voiturethermique']}
language={language}
Expand Down
9 changes: 5 additions & 4 deletions src/components/outils/quiz/infos/ManteauBouilloire.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ const ManteauBouilloire = () => {
<div className={styles.container}>
<div className={styles.withIcon}>
<Icon />
<div>{t.rich('line-1')}</div>
<br />
<br />
<div>{t.rich('line-2')}</div>
<div>
<div>{t.rich('line-1')}</div>
<br />
<div>{t.rich('line-2')}</div>
</div>
</div>
</div>
<br />
Expand Down
5 changes: 4 additions & 1 deletion src/components/outils/quiz/infos/TelevisionPNY.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { useTranslations } from 'next-intl'
import React from 'react'
import React, { useRef } from 'react'
import useParamContext from 'src/providers/ParamProvider'
import Etiquette from 'components/comparateur/Etiquette'
import Icon from './Icon'
Expand All @@ -10,6 +10,8 @@ import styles from './Infos.module.css'
const TelevisionPNY = () => {
const t = useTranslations('quiz.television-pny')
const { language } = useParamContext()
const ref = useRef(null)

return (
<>
<div className={styles.container}>
Expand All @@ -25,6 +27,7 @@ const TelevisionPNY = () => {
</div>
<br />
<Etiquette
ref={ref}
baseValue={1770000}
comparisons={['avion-pny', 'francais']}
language={language}
Expand Down

0 comments on commit 3f861d0

Please sign in to comment.