Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added back/tests/data/communities/communities.parquet
Binary file not shown.
10 changes: 3 additions & 7 deletions front/app/(visualiser)/interpeller/[siren]/step2/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ export default async function InterpellateStep2({ params }: InterpellateStep2Pro
{!emailContactsLen && formContactLen > 0 && (
<>
<p className='rounded-t-3xl bg-secondary p-4 text-lg font-bold'>
<Image
src='/eclaireur/error_icon.png'
alt='Interpeller'
<CircleAlert
width={24}
height={24}
className='mr-2 inline-block'
Expand Down Expand Up @@ -134,12 +132,10 @@ export default async function InterpellateStep2({ params }: InterpellateStep2Pro
{emailContactsLen < 1 && formContactLen < 1 && (
<>
<p className='rounded-t-3xl bg-secondary p-4 text-lg font-bold'>
<Image
src='/eclaireur/error_icon.png'
alt='Interpeller'
<CircleAlert
width={24}
height={24}
className='mr-2 inline-block'
className='mr-2 mb-1 inline-block'
/>
Nous n’avons pas de contact direct avec les élus pour {communityName}
</p>
Expand Down
2 changes: 1 addition & 1 deletion front/app/(visualiser)/interpeller/[siren]/step4/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function InterpellateStep4() {
</div>

<Image
src='/eclaireur/mascotte_reward.png'
src='/eclaireur/mascotte_reward.svg'
alt='Interpeller'
width={150}
height={129}
Expand Down
8 changes: 4 additions & 4 deletions front/app/(visualiser)/interpeller/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ export default function InterpellateLayout({ children }: PropsWithChildren) {
</GoToPreviousPage>
<h1 className='md:global-margin flex flex-row-reverse items-center md:flex-row'>
<Image
src='/eclaireur/call_icon.png'
width={48}
height={39}
src='/icons/speaker.svg'
width={40}
height={40}
alt=''
className='ml-4 mr-4 md:ml-0 md:mt-[-10]'
className='me-4'
/>
Interpeller
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function FicheHeader({ community, similarCommunityList }: FicheHeaderProp
<div className='relative w-full p-6 lg:px-40 lg:pb-12 lg:pt-4'>
{/* Background image with high priority */}
<Image
src='/collectivite-header.jpg'
src='/collectivite-header.webp'
alt='En-tête collectivité'
fill
className='-z-10 object-cover'
Expand Down
10 changes: 5 additions & 5 deletions front/app/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import Link from 'next/link';

const FOOTER_DATA = {
social: [
{ href: 'https://www.instagram.com/anticorofficiel/', label: 'Instagram', src: '/logos/rs/Instagram.png', alt: 'Instagram' },
{ href: 'https://www.linkedin.com/company/anticor/', label: 'LinkedIn', src: '/logos/rs/Linkedin.png', alt: 'LinkedIn' },
{ href: 'https://www.facebook.com/Anticor.officiel/', label: 'Facebook', src: '/logos/rs/Facebook.png', alt: 'Facebook' },
{ href: 'https://www.instagram.com/anticorofficiel/', label: 'Instagram', src: '/logos/rs/Instagram.svg', alt: 'Instagram' },
{ href: 'https://www.linkedin.com/company/anticor/', label: 'LinkedIn', src: '/logos/rs/Linkedin.svg', alt: 'LinkedIn' },
{ href: 'https://www.facebook.com/Anticor.officiel/', label: 'Facebook', src: '/logos/rs/Facebook.svg', alt: 'Facebook' },
],
partners: [
{
Expand Down Expand Up @@ -104,7 +104,7 @@ const Footer: FC = () => (
</div>

<Image
src='/eclaireur/Mascotte-appel.png'
src='/eclaireur/Mascotte-appel.svg'
alt='Mascotte Éclaireur Public'
width={160}
height={140}
Expand Down Expand Up @@ -178,7 +178,7 @@ const Footer: FC = () => (

<div className='mt-4 flex justify-center md:hidden'>
<Image
src='/eclaireur/Mascotte-appel.png'
src='/eclaireur/Mascotte-appel.svg'
alt='Mascotte Éclaireur Public'
width={114}
height={94}
Expand Down
2 changes: 1 addition & 1 deletion front/app/components/Navbar/MobileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function MobileMenu({ visualiserMenus, comprendreMenus, aProposMenus }: M
onClick={handleMenuClick}
>
<Link href='/interpeller' className='flex items-center gap-2'>
<Image src='/eclaireur/interpeller.png' alt='Interpeller' width={20} height={20} />
<Image src='/icons/speaker-white.svg' alt='Interpeller' width={20} height={20} />
Interpeller
</Link>
</Button>
Expand Down
129 changes: 0 additions & 129 deletions front/app/components/OurMethodology.tsx

This file was deleted.

6 changes: 3 additions & 3 deletions front/app/components/OurMethodologyExtended.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ export default function OurMethodologyExtended() {
</div>
<div className='mt-6 flex flex-col gap-4'>
<MethodologyCard
picto='/eclaireur/one.png'
picto='/icons/one.svg'
title='Publication de données sur les marchés inférieurs à 40 000 €'
colorClassName='bg-brand-1'
/>
<MethodologyCard
picto='/eclaireur/two.png'
picto='/icons/two.svg'
title='Publication de données sur les marchés supérieurs à 40 000 €'
colorClassName='bg-brand-2'
/>
<MethodologyCard
picto='/eclaireur/three.png'
picto='/icons/three.svg'
title='Publication de données sur les 10 critères suivants :'
colorClassName='bg-brand-3'
criteria={CRITERIA}
Expand Down
6 changes: 3 additions & 3 deletions front/app/components/cta/CtaGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function CtaGroup() {
title: 'Cartographie',
caption: 'Explorer la carte pour voir quelles sont les collectivités les plus transparentes.',
buttonText: 'Naviguer sur la carte',
picto: '/eclaireur/map_icon.png',
picto: '/icons/map.svg',
href: '/map',
colorClassName: 'bg-brand-1',
},
Expand All @@ -15,7 +15,7 @@ export default function CtaGroup() {
title: 'Recherche avancée',
caption: 'Affinez votre recherche de collectivités avec la recherche avancée.',
buttonText: 'Filtrer par collectivité',
picto: '/eclaireur/search_icon.png',
picto: '/icons/search.svg',
href: '/advanced-search',
colorClassName: 'bg-brand-2',
},
Expand All @@ -24,7 +24,7 @@ export default function CtaGroup() {
title: 'Interpeller',
caption: 'Interpeller les élus pour améliorer la transparence dans votre collectivité.',
buttonText: 'Interpeller les élus',
picto: '/eclaireur/call_icon.png',
picto: '/icons/speaker.svg',
href: '/interpeller',
colorClassName: 'bg-brand-3',
},
Expand Down
8 changes: 3 additions & 5 deletions front/components/EmptyState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Image from 'next/image';
import Link from 'next/link';

import { ActionButton } from '#components/ui/action-button';
import { Megaphone } from 'lucide-react';
import { CircleAlert, Megaphone } from 'lucide-react';

export interface EmptyStateProps {
title?: string;
Expand Down Expand Up @@ -34,9 +34,7 @@ const EmptyState: FC<EmptyStateProps> = ({
>
{/* Bandeau d'alerte */}
<div className='flex w-full flex-shrink-0 items-center gap-3 rounded-t-2xl bg-secondary p-3 text-primary md:p-4'>
<Image
src='/eclaireur/error_icon.png'
alt='Erreur'
<CircleAlert
width={28}
height={28}
className='h-6 w-6 flex-shrink-0 md:h-7 md:w-7'
Expand All @@ -63,7 +61,7 @@ const EmptyState: FC<EmptyStateProps> = ({
{/* Mascotte par-dessus */}
<div className='relative z-10'>
<Image
src='/eclaireur/Mascotte-appel.png'
src='/eclaireur/mascotte_call.svg'
alt='Mascotte Éclaireur Public'
width={150}
height={130}
Expand Down
2 changes: 1 addition & 1 deletion front/components/ErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function ErrorPage({ title, description, errorType }: ErrorPagePr
<h1 className='text-center text-3xl text-white md:text-5xl'>{title}</h1>
</div>
<Image
src={`${errorType === '404' ? '/eclaireur/404.png' : '/eclaireur/500.png'}`}
src={`${errorType === '404' ? '/eclaireur/404.svg' : '/eclaireur/500.svg'}`}
width={430}
height={100}
alt="Image d'erreur"
Expand Down
6 changes: 2 additions & 4 deletions front/components/Interpellate/InterpellateForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
} from '#utils/emails/emailRendering';
import { postInterpellate } from '#utils/fetchers/interpellate/postInterpellate';
import { zodResolver } from '@hookform/resolvers/zod';
import { ChevronRight } from 'lucide-react';
import { ChevronRight, CircleAlert } from 'lucide-react';

import { type FormSchema, InterpellateFormSchema } from './types';

Expand Down Expand Up @@ -207,9 +207,7 @@ export default function InterpellateForm({

<div className='flex flex-row justify-between rounded-tl-3xl border border-secondary-dark font-bold'>
<div className='flex w-36 flex-col justify-center rounded-tl-3xl bg-secondary-dark py-2 md:w-14'>
<Image
src='/eclaireur/error_icon.png'
alt='Interpeller'
<CircleAlert
width={24}
height={24}
className='self-center'
Expand Down
Binary file removed front/public/collectivite-header.jpg
Binary file not shown.
Binary file removed front/public/collectivite-header.png
Binary file not shown.
Binary file removed front/public/dataforgood.jpg
Binary file not shown.
Binary file removed front/public/dataforgoodLogo.png
Binary file not shown.
Binary file removed front/public/eclaireur/404.png
Binary file not shown.
Loading