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

chore(ticket): update to 2025 #541

Merged
merged 1 commit into from
Nov 19, 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
6 changes: 3 additions & 3 deletions components/TicketImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TicketImage } from "../constants";
const TicketImage = ({
name = "",
year = "2025",
dates = "07 - 08 March 2025",
dates = "21 March 2025",
}: TicketImage) => {
return (
<svg
Expand Down Expand Up @@ -126,7 +126,7 @@ const TicketImage = ({
y={0}
x="0 18.75 39.099998 55.474998 73.599998 89.150002 107.625 122.55"
>
{"#OSDAY24"}
{"#OSDAY25"}
</tspan>
</text>
<text
Expand Down Expand Up @@ -268,7 +268,7 @@ const TicketImage = ({
<tspan
id="tspan66"
y={0}
x="0 10.53 20.170799 23.524799 30.8568 34.2108 44.9748 54.927601 58.281601 72.555603 81.587997 88.249199 96.6576 106.2984 109.6524 118.9656 129.49561 138.80881"
x="0 10.53 20.170799 23.524799 37.8568 47.2108 53.9748 62.927601 67.281601 78.555603 87.587997 98.249199 107.6576"
>
{dates}
</tspan>
Expand Down
4 changes: 0 additions & 4 deletions pages/api/ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>
Expand Down
8 changes: 4 additions & 4 deletions pages/ticket/[tid].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
},
Expand Down Expand Up @@ -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'
>
<Image width={30} height={30} src="/icons/twitter.svg" alt="Twitter" />
Expand All @@ -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'
>
<Image width={28} height={28} src="/icons/linkedin.svg" alt="Linkedin" />
Expand All @@ -108,7 +108,7 @@ export default function Ticket() {
className='ticket-image'
href={imageURL}
>
<TicketImage name={attendeeName} year='2025' dates='07 - 08 March 2025' />
<TicketImage name={attendeeName} year='2025' dates='21 March 2025' />
</a>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion public/ticket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.