Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EN-6846] feat(contact): change phone number and add 35 department #221

Merged
merged 1 commit into from
Feb 27, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
31 changes: 9 additions & 22 deletions src/pages/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down
Loading