fix: eslint
All checks were successful
/ deploy (push) Successful in 1s

This commit is contained in:
Dariusz Niemczyk 2025-08-28 18:34:00 +02:00
parent 7bceaab551
commit cd3e323464
No known key found for this signature in database

View file

@ -1,35 +1,35 @@
import { Lang } from '@/i18n/locales'
import { Lang } from "@/i18n/locales";
export const EXTERNAL_URLS = {
email: 'orga@cebula.camp',
} as const
email: "orga@cebula.camp",
} as const;
export function getWikiUrl(locale: Lang): string {
return `https://wiki.cebula.camp/${locale}/home`
return `https://wiki.cebula.camp/${locale}/home`;
}
export function getCfpScheduleUrl(locale: Lang): string {
return `https://cfp.cebula.camp/camp-2025/locale/set?locale=${locale}&next=/camp-2025/schedule/`
return `https://cfp.cebula.camp/camp-2025/locale/set?locale=${locale}&next=/camp-2025/schedule/`;
}
export function getCfpUrl(locale: Lang): string {
return `https://cfp.cebula.camp/camp-2025/cfp`
export function getCfpUrl(): string {
return `https://cfp.cebula.camp/camp-2025/cfp`;
}
export function getCfpArtUrl(locale: Lang): string {
return `https://cfp.cebula.camp/camp-2025-art/cfp`
export function getCfpArtUrl(): string {
return `https://cfp.cebula.camp/camp-2025-art/cfp`;
}
export function getEmailUrl(): string {
return `mailto:${EXTERNAL_URLS.email}`
return `mailto:${EXTERNAL_URLS.email}`;
}
export function getExternalLinks(locale: Lang) {
return {
wiki: getWikiUrl(locale),
cfpSchedule: getCfpScheduleUrl(locale),
cfp: getCfpUrl(locale),
cfpArt: getCfpArtUrl(locale),
cfp: getCfpUrl(),
cfpArt: getCfpArtUrl(),
email: getEmailUrl(),
}
}
};
}