Skip to content

Commit

Permalink
[EN-6846] feat(contact): change phone number and add 35 department (#221
Browse files Browse the repository at this point in the history
)
  • Loading branch information
emile-bex authored Feb 27, 2024
1 parent d513b48 commit d5dba25
Showing 2 changed files with 10 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ export const CandidateContactModal = () => {
Avant de remplir ce formulaire, vérifiez que le candidat :
<ul className="uk-text-left">
<li>
Réside sur les territoires suivants : 75, 93, 92, 56, 59 ou 69
Réside sur les territoires suivants : 75, 93, 92, 56, 35, 69 ou 59
</li>
<li>A entre 18 et 30 ans (inclus).</li>
<li>
31 changes: 9 additions & 22 deletions src/pages/contact.tsx
Original file line number Diff line number Diff line change
@@ -11,11 +11,7 @@ import { useResetForm } from 'src/hooks/utils';
const Contact = () => {
const [form, resetForm] = useResetForm();

const contactPerCity = {
Paris: '07 82 44 97 39',
Lille: '07 83 85 48 95',
Lyon: '07 67 35 05 86',
};
const CONTACT_NUMBER = '07 49 69 31 12';

return (
<Layout title="Contact - LinkedOut">
@@ -61,25 +57,16 @@ const Contact = () => {
{process.env.MAILJET_CONTACT_EMAIL}
</SimpleLink>
<br />
<div className="uk-margin-small-top uk-text-italic uk-text-muted">
<div className="uk-margin-small-top uk-margin-small-bottom uk-text-italic uk-text-muted">
ou
</div>
<ul className="uk-list">
{Object.keys(contactPerCity).map((contact) => {
return (
<li key={contact}>
<span className="uk-text-bold">{contact}&nbsp;:&nbsp;</span>
<SimpleLink
className="uk-link"
href={`tel:${contactPerCity[contact]}`}
isExternal
>
{contactPerCity[contact]}
</SimpleLink>
</li>
);
})}
</ul>
<SimpleLink
className="uk-link"
href={`tel:${CONTACT_NUMBER}`}
isExternal
>
{CONTACT_NUMBER}
</SimpleLink>
</h4>
</Section>
</Layout>

0 comments on commit d5dba25

Please sign in to comment.