From 6207154ce70ac9992c3f654d85c8e3a98591cb6e Mon Sep 17 00:00:00 2001 From: Miki Lombardi Date: Thu, 14 Nov 2024 17:08:02 +0000 Subject: [PATCH] chore(ticket): update to 2025 --- components/TicketImage.tsx | 6 +++--- pages/api/ticket.ts | 4 ---- pages/ticket/[tid].tsx | 8 ++++---- public/locales/en.json | 6 +++--- public/locales/es.json | 2 +- public/locales/fr.json | 2 +- public/locales/it.json | 2 +- public/ticket.svg | 2 +- 8 files changed, 14 insertions(+), 18 deletions(-) diff --git a/components/TicketImage.tsx b/components/TicketImage.tsx index 836cc45..0385104 100644 --- a/components/TicketImage.tsx +++ b/components/TicketImage.tsx @@ -4,7 +4,7 @@ import { TicketImage } from "../constants"; const TicketImage = ({ name = "", year = "2025", - dates = "07 - 08 March 2025", + dates = "21 March 2025", }: TicketImage) => { return ( - {"#OSDAY24"} + {"#OSDAY25"} {dates} diff --git a/pages/api/ticket.ts b/pages/api/ticket.ts index 572f42c..6134c26 100644 --- a/pages/api/ticket.ts +++ b/pages/api/ticket.ts @@ -3,10 +3,6 @@ import svg2img from 'svg2img'; import fs from 'fs'; import path from 'path' - - - - export default async function handler( req: NextApiRequest, res: NextApiResponse diff --git a/pages/ticket/[tid].tsx b/pages/ticket/[tid].tsx index 144bd0a..f1efe8e 100644 --- a/pages/ticket/[tid].tsx +++ b/pages/ticket/[tid].tsx @@ -14,7 +14,7 @@ export async function getServerSideProps({ params, locale }: { params: any, loca metas: { title: 'Get the ticket - OSDay2025', description: - '07-08 March 2025 Florence', + '21 March 2025 Florence', image: `https://2025.osday.dev/api/ticket?tid=${tid}`, url: `https://2025.osday.dev/ticket/${tid}`, }, @@ -85,7 +85,7 @@ export default function Ticket() { type='button' target='_blank' rel='noreferrer' - href={'https://twitter.com/intent/tweet?text=' + encodeURIComponent('Just got my free ticket for @schrodinger_hat #OSDay24 Conf — claim yours!\n\n' + sharerURL)} + href={'https://twitter.com/intent/tweet?text=' + encodeURIComponent('Just got my free ticket for @schrodinger_hat #OSDay25 Conf — claim yours!\n\n' + sharerURL)} className='ticket-share social-button' > @@ -94,7 +94,7 @@ export default function Ticket() { type='button' target='_blank' rel='noreferrer' - href={`https://www.linkedin.com/sharing/share-offsite/?url=${sharerURL}?utm_source=linkedin&utm_medium=sharer&utm_campaign=osday24_ticket`} + href={`https://www.linkedin.com/sharing/share-offsite/?url=${sharerURL}?utm_source=linkedin&utm_medium=sharer&utm_campaign=osday25_ticket`} className='ticket-share social-button' > @@ -108,7 +108,7 @@ export default function Ticket() { className='ticket-image' href={imageURL} > - + diff --git a/public/locales/en.json b/public/locales/en.json index 915ffd5..6e55924 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -73,17 +73,17 @@ "thanks": "Thanks for signing up, see you soon!" }, "Ticket": { - "title": "See you soon at the #OSDay2024", + "title": "See you soon at the #OSDay25", "subtitle": "You love the open source and the open source loves you!", "where": "Ovunque", "when": "Una volta al mese", - "length": "07/08 Marzo 2024", + "length": "21 Marzo 2025", "type": "Ticket", "description": "Thank you for signing up to our flaghship event, hope to meet you there!", "share_now": "Share now", "copy_share": "Copy & Share", "copied": "Copied!", - "copy": "Copy the link and share it on the social media with #OSDay24!" + "copy": "Copy the link and share it on the social media with #OSDay25!" }, "Schroddy": { "title": "Schroddy - The OSDay Trophy", diff --git a/public/locales/es.json b/public/locales/es.json index 85aa88d..8181c49 100644 --- a/public/locales/es.json +++ b/public/locales/es.json @@ -77,7 +77,7 @@ "subtitle": "Tu amas el open source y el open source ama ti!", "where": "everywhere", "when": "Una vez al mes", - "length": "07/08 marzo 2024", + "length": "21 marzo 2025", "type": "Ticket", "description": "Gracias por registrarte en el evento #OSDay25, ¡hasta pronto!", "share_now": "Compartir", diff --git a/public/locales/fr.json b/public/locales/fr.json index 21651dc..4c9e6c5 100644 --- a/public/locales/fr.json +++ b/public/locales/fr.json @@ -77,7 +77,7 @@ "subtitle": "Vous aimez l'open source et l'open source vous aime !", "where": "everywhere", "when": "une fois par mois", - "duration": "07/08 mars 2024", + "duration": "21 mars 2025", "type": "ticket", "description": "Merci de vous être inscrite à l'événement #OSDay25, à bientôt !", "share_now": "share", diff --git a/public/locales/it.json b/public/locales/it.json index 91527e4..35394ac 100644 --- a/public/locales/it.json +++ b/public/locales/it.json @@ -77,7 +77,7 @@ "subtitle": "Tu ami l'open source e l'open source ama te!", "where": "Ovunque", "when": "Una volta al mese", - "length": "07/08 Marzo 2024", + "length": "21 Marzo 2025", "type": "Ticket", "description": "Grazie per esserti registratə all'evento #OSDay25, ci vedremo presto!", "share_now": "Condividi", diff --git a/public/ticket.svg b/public/ticket.svg index 998c7d4..2d91b38 100644 --- a/public/ticket.svg +++ b/public/ticket.svg @@ -1 +1 @@ -#OSDAY24making knowledge open sourcefree for everyone, free from everywhereATTENDEE_NAME@schrodinger_hat2024.osday.devOpen Source Daywe are waiting for you07 - 08 March 2024SUPPORTED BY \ No newline at end of file +#OSDAY25making knowledge open sourcefree for everyone, free from everywhereATTENDEE_NAME@schrodinger_hat2025.osday.devOpen Source Daywe are waiting for you21 March 2025SUPPORTED BY \ No newline at end of file