update adsInternal

This commit is contained in:
Andrea Vos 2025-09-16 19:16:48 +02:00
parent 6086abeb8e
commit caf1c1a138

View File

@ -13,10 +13,8 @@ const SHOP_LINK = 'https://shop.pronouns.page';
const SHOP_DESC = 'Pronouns Page merch is here! Get yours at shop.pronouns.page or Etsy!';
// const WORKSHOPS_PL_LINK = 'https://zaimki.pl/szkolenia';
// const WORKSHOPS_PL_DESC = 'Oferujemy szkolenia i warsztaty dla firm i organizacji';
const WORKSHOPS_EN_LINK = 'https://en.pronouns.page/workshops';
const WORKSHOPS_EN_DESC = 'We offer training and workshops for companies and organisations.';
const PHS_LINK = 'https://polishheritage.shop/?utm_source=pp&utm_medium=banner&utm_campaign=launch';
const PHS_DESC = 'Polish Heritage Shop: Taste of Polish culture, humor and tradition.';
// const WORKSHOPS_EN_LINK = 'https://en.pronouns.page/workshops';
// const WORKSHOPS_EN_DESC = 'We offer training and workshops for companies and organisations.';
export const adsInternal: Ad[] = [
{
@ -55,51 +53,24 @@ export const adsInternal: Ad[] = [
// display: 'd-block d-md-none',
// alt: WORKSHOPS_PL_DESC,
// },
{
enabled: false,
locale: 'en',
image: 'workshops-en.png',
placeholders: ['content-0'],
link: WORKSHOPS_EN_LINK,
display: 'd-none d-md-block',
alt: WORKSHOPS_EN_DESC,
},
{
enabled: false,
locale: 'en',
image: 'workshops-en-mobile.png',
placeholders: ['content-mobile-0'],
link: WORKSHOPS_EN_LINK,
display: 'd-block d-md-none',
alt: WORKSHOPS_EN_DESC,
},
{
enabled: true,
locale: 'en',
image: 'phs-1.png',
placeholders: ['content-0'],
link: PHS_LINK,
display: 'd-none d-md-block',
alt: PHS_DESC,
},
{
enabled: true,
locale: 'en',
image: 'phs-2.png',
placeholders: ['content-0'],
link: PHS_LINK,
display: 'd-none d-md-block',
alt: PHS_DESC,
},
{
enabled: true,
locale: 'en',
image: 'phs-mobile.png',
placeholders: ['content-mobile-0'],
link: PHS_LINK,
display: 'd-block d-md-none',
alt: PHS_DESC,
},
// {
// enabled: false,
// locale: 'en',
// image: 'workshops-en.png',
// placeholders: ['content-0'],
// link: WORKSHOPS_EN_LINK,
// display: 'd-none d-md-block',
// alt: WORKSHOPS_EN_DESC,
// },
// {
// enabled: false,
// locale: 'en',
// image: 'workshops-en-mobile.png',
// placeholders: ['content-mobile-0'],
// link: WORKSHOPS_EN_LINK,
// display: 'd-block d-md-none',
// alt: WORKSHOPS_EN_DESC,
// },
];
export default (locale: string): Record<string, (Ad & { chance: number })[]> => {