💄(frontend) change gouvernement logo
Change the gourvernement logo.
This commit is contained in:
20
src/frontend/apps/impress/src/assets/icons/icon-devise.svg
Normal file
20
src/frontend/apps/impress/src/assets/icons/icon-devise.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 13 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 14 KiB |
42
src/frontend/apps/impress/src/components/LogoGouv.tsx
Normal file
42
src/frontend/apps/impress/src/components/LogoGouv.tsx
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
import Image from 'next/image';
|
||||||
|
import React from 'react';
|
||||||
|
import { useTranslation } from 'react-i18next';
|
||||||
|
|
||||||
|
import { default as IconDevise } from '@/assets/icons/icon-devise.svg?url';
|
||||||
|
import { default as IconMarianne } from '@/assets/icons/icon-marianne.svg?url';
|
||||||
|
|
||||||
|
import { Box } from './Box';
|
||||||
|
import { Text, TextType } from './Text';
|
||||||
|
|
||||||
|
interface LogoGouvProps {
|
||||||
|
imagesWidth?: number;
|
||||||
|
textProps?: TextType;
|
||||||
|
}
|
||||||
|
|
||||||
|
const LogoGouv = ({ imagesWidth, textProps }: LogoGouvProps) => {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Box>
|
||||||
|
<Box>
|
||||||
|
<Image
|
||||||
|
priority
|
||||||
|
src={IconMarianne}
|
||||||
|
alt={t('Marianne Logo')}
|
||||||
|
width={imagesWidth}
|
||||||
|
/>
|
||||||
|
</Box>
|
||||||
|
<Text $weight="bold" $size="1.3rem" {...textProps}>
|
||||||
|
Gouvernement
|
||||||
|
</Text>
|
||||||
|
<Image
|
||||||
|
width={imagesWidth}
|
||||||
|
priority
|
||||||
|
src={IconDevise}
|
||||||
|
alt={t('Freedom Equality Fraternity Logo')}
|
||||||
|
/>
|
||||||
|
</Box>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default LogoGouv;
|
||||||
@@ -1,11 +1,9 @@
|
|||||||
import Image from 'next/image';
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
import { default as IconGouv } from '@/assets/icons/icon-gouv.svg?url';
|
|
||||||
import { default as IconMarianne } from '@/assets/icons/icon-marianne.svg?url';
|
|
||||||
import { Box, StyledLink, Text } from '@/components/';
|
import { Box, StyledLink, Text } from '@/components/';
|
||||||
|
import LogoGouv from '@/components/LogoGouv';
|
||||||
|
|
||||||
import IconLink from './assets/external-link.svg';
|
import IconLink from './assets/external-link.svg';
|
||||||
|
|
||||||
@@ -24,14 +22,6 @@ export const Footer = () => {
|
|||||||
<Box $position="relative" as="footer">
|
<Box $position="relative" as="footer">
|
||||||
<BlueStripe />
|
<BlueStripe />
|
||||||
<Box $padding={{ top: 'large', horizontal: 'big', bottom: 'small' }}>
|
<Box $padding={{ top: 'large', horizontal: 'big', bottom: 'small' }}>
|
||||||
<Box>
|
|
||||||
<Image
|
|
||||||
priority
|
|
||||||
src={IconMarianne}
|
|
||||||
alt={t('Marianne Logo')}
|
|
||||||
width={70}
|
|
||||||
/>
|
|
||||||
</Box>
|
|
||||||
<Box
|
<Box
|
||||||
$direction="row"
|
$direction="row"
|
||||||
$gap="1.5rem"
|
$gap="1.5rem"
|
||||||
@@ -41,11 +31,11 @@ export const Footer = () => {
|
|||||||
>
|
>
|
||||||
<Box>
|
<Box>
|
||||||
<Box $align="center" $gap="6rem" $direction="row">
|
<Box $align="center" $gap="6rem" $direction="row">
|
||||||
<Image
|
<LogoGouv
|
||||||
width={100}
|
textProps={{
|
||||||
priority
|
$size: '1.3rem',
|
||||||
src={IconGouv}
|
}}
|
||||||
alt={t('Freedom Equality Fraternity Logo')}
|
imagesWidth={70}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -3,9 +3,8 @@ import React from 'react';
|
|||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
import { default as IconGouv } from '@/assets/icons/icon-gouv.svg?url';
|
|
||||||
import { default as IconMarianne } from '@/assets/icons/icon-marianne.svg?url';
|
|
||||||
import { Box, StyledLink, Text } from '@/components/';
|
import { Box, StyledLink, Text } from '@/components/';
|
||||||
|
import LogoGouv from '@/components/LogoGouv';
|
||||||
|
|
||||||
import { LanguagePicker } from '../language/';
|
import { LanguagePicker } from '../language/';
|
||||||
|
|
||||||
@@ -36,20 +35,19 @@ export const Header = () => {
|
|||||||
$css="box-shadow: 0 1px 4px #00000040;"
|
$css="box-shadow: 0 1px 4px #00000040;"
|
||||||
>
|
>
|
||||||
<RedStripe />
|
<RedStripe />
|
||||||
<Box $margin={{ horizontal: 'xbig' }}>
|
|
||||||
<Image priority src={IconMarianne} alt={t('Marianne Logo')} />
|
|
||||||
</Box>
|
|
||||||
<Box
|
<Box
|
||||||
$margin={{ horizontal: 'xbig' }}
|
$margin={{ horizontal: 'xbig' }}
|
||||||
$align="center"
|
$align="center"
|
||||||
$justify="space-between"
|
$justify="space-between"
|
||||||
$direction="row"
|
$direction="row"
|
||||||
>
|
>
|
||||||
<Box $align="center" $gap="6rem" $direction="row">
|
<Box $gap="6rem" $direction="row">
|
||||||
<Image
|
<LogoGouv
|
||||||
priority
|
textProps={{
|
||||||
src={IconGouv}
|
$size: 't',
|
||||||
alt={t('Freedom Equality Fraternity Logo')}
|
$css: 'line-height:10px',
|
||||||
|
$margin: { vertical: '3px' },
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<StyledLink href="/">
|
<StyledLink href="/">
|
||||||
<Box $align="center" $gap="1rem" $direction="row">
|
<Box $align="center" $gap="1rem" $direction="row">
|
||||||
|
|||||||
Reference in New Issue
Block a user