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

Specify that Trondheim does not accept open applications #430

Merged
merged 1 commit into from
Dec 4, 2023
Merged
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
7 changes: 4 additions & 3 deletions src/jobs/open-application-listing-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@ import { ButtonNextLink } from 'src/components/button';
import { and } from 'src/utils/css';
import style from './index.module.css';

const emailSubject = "Åpen søknad - Oslo/Trondheim/Bergen";
const emailSubject = "Åpen søknad - Oslo/Bergen";
const emailBody =
`
Så hyggelig at du ønsker å jobbe hos oss!

Tips: Husk å oppdatere emnefeltet med hvilken by du ønsker å skrive til, så vet vi hvem som skal svare deg.
PS: Kontoret i Trondheim tar for tiden ikke i mot åpne søknader.
`;
const mailtoLink = `mailto:soknad@variant.no?subject=${encodeURIComponent(emailSubject)}&body=${encodeURIComponent(emailBody)}`;

export default function OpenApplicationListingItem() {
return (
<section className={style.job__listing__container}>
<div>
<h3 className={and(style.job__title, 'fancy')}>Åpen Søknad</h3>
<h3 className={and(style.job__title, 'fancy')}>Åpen Søknad - Oslo, Bergen</h3>
<span>Finner du ikke en stilling som passer deg?</span>
</div>
<ButtonNextLink href={mailtoLink} aria-label="Send en åpen søknad">
Send en åpen søknad
</ButtonNextLink>
</section>
);
}
}
Loading