Skip to content

Commit 5bd6acd

Browse files
authored
Merge pull request #353 from dataforgoodfr/fixed/some-stuff
feat: update front
2 parents a105f24 + da7f6ce commit 5bd6acd

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

frontend/src/app/[locale]/_partials/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const Header = () => {
228228
onClick={() => toggleNav(false)}
229229
role="menuitem"
230230
className={clsx(
231-
'inline-flex items-center gap-2 px-4 py-2 lg:py-0.5',
231+
'flex items-center gap-2 px-4 py-2 lg:py-0.5',
232232
link === 'financier' ? 'bg-resistance' : 'bg-alive',
233233
'font-primary font-black tracking-widest uppercase text-black text-[12px] shadow-base',
234234
)}

frontend/src/app/[locale]/climate-and-biodiversity/climate.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default function SocialPage({ data , thematicsData }: ThematicsProps) {
4545
imagePosition="left"
4646
imageTextRotation={-6}
4747
className="my-lg container"
48+
contentClassName="lead"
4849
>
4950
{data.thematic?.description || ''}
5051
</EditoCard>
@@ -53,6 +54,7 @@ export default function SocialPage({ data , thematicsData }: ThematicsProps) {
5354
imageText={data.thematic?.quote2 || ''}
5455
image={data.thematic?.image_2?.url || ''}
5556
className="my-lg container"
57+
contentClassName="lead"
5658
>
5759
{data.thematic?.description_2}
5860
</EditoCard>

frontend/src/app/[locale]/democracy/democracy.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default function SocialPage({ data, thematicsData }: ThematicsProps) {
4545
imagePosition="left"
4646
imageTextRotation={-6}
4747
className="my-lg container"
48+
contentClassName="lead"
4849
>
4950
{data.thematic?.description || ''}
5051
</EditoCard>
@@ -53,6 +54,7 @@ export default function SocialPage({ data, thematicsData }: ThematicsProps) {
5354
imageText={data.thematic?.quote2 || ''}
5455
image={data.thematic?.image_2?.url || ''}
5556
className="my-lg container"
57+
contentClassName="lead"
5658
>
5759
{data.thematic?.description_2}
5860
</EditoCard>

frontend/src/app/[locale]/social-justice/social.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default function SocialPage({ data, thematicsData }: ThematicsProps) {
4545
imagePosition="left"
4646
imageTextRotation={-6}
4747
className="my-lg container"
48+
contentClassName="lead"
4849
>
4950
{data.thematic?.description || ''}
5051
</EditoCard>
@@ -53,6 +54,7 @@ export default function SocialPage({ data, thematicsData }: ThematicsProps) {
5354
imageText={data.thematic?.quote2 || ''}
5455
image={data.thematic?.image_2?.url || ''}
5556
className="my-lg container"
57+
contentClassName="lead"
5658
>
5759
{data.thematic?.description_2}
5860
</EditoCard>

frontend/src/components/molecules/EditoCard/EditoCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const EditoCard: React.FC<EditoCardProps> = ({
8585
'absolute z-1 before:absolute before:content-[""] before:-z-1 before:bg-black before:w-full before:h-full before:top-1 before:left-1',
8686
imageTextClassName,
8787
)} style={{ transform: `rotate(${imageTextRotation}deg)` }}>
88-
<p className="relative z-2 h2-like p-2 text-black bg-white">{imageText}</p>
88+
<p className="relative z-2 h3-like p-2 text-black bg-white">{imageText}</p>
8989
</div>
9090
)}
9191
</div>

0 commit comments

Comments
 (0)