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

feat: 2025 migration #588

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ COPY store ./store
COPY utils ./utils
COPY nuxt.config.js tailwind.config.js .babelrc .env ./

ENV ROUTER_BASE /2024/
ENV BASE_URL http://pycontw-2024:8000
ENV ROUTER_BASE /2025/
ENV BASE_URL http://pycontw-2025:8000
ENV BUILD_TARGET server
ENV HOST 0.0.0.0
ENV API_URL_BROWSER https://tw.pycon.org/prs
Expand Down
2 changes: 1 addition & 1 deletion components/core/footer/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="flex justify-center">
<div class="flex flex-col items-center">
<ext-link
href="https://forms.gle/seaori7xF4vLSSUb7"
href="https://forms.gle/qurWMpgtuvX4WQjd9"
class="highlight my-2"
>
{{ $t('joinUs') }}
Expand Down
14 changes: 4 additions & 10 deletions components/intro/Intro.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default genI18nMessages({
milestone: [
{
achievement: 'Hold',
achievementNumber: '12',
achievementNumber: '13',
achievementUnit: 'years',
},
{
Expand All @@ -26,11 +26,7 @@ export default genI18nMessages({
' of the Python programming language. It is held by enthusiasts and focuses on' +
' Python technology and its versatile applications. We welcome people who are' +
' interested in Python to join PyCon Taiwan to share knowledge, exchange ideas,' +
' make connections and to help us grow our network.' +
' Last year, PyCon Taiwan guided attendees back to physical conferences from the virtual world.' +
' In PyCon Taiwan 2024, we are taking attendees to Kaohsiung!' +
' With the theme of "Connection", we aim to foster an environment where attendees from diverse regions' +
' can share and collaborate, bringing fresh and innovative ideas to the Python community.',
' make connections and to help us grow our network.',
whatIsPyCon: 'What is PyCon',
whatIsPyConContent:
'PyCon, also known as the Python Annual Conference, is the annual event of the global Python community.' +
Expand All @@ -41,7 +37,7 @@ export default genI18nMessages({
milestone: [
{
achievement: '持續舉辦',
achievementNumber: '12',
achievementNumber: '13',
achievementUnit: '年',
},
{
Expand All @@ -60,9 +56,7 @@ export default genI18nMessages({
whatIsPyConTWContent:
'PyCon Taiwan 為一年一度由愛好者舉辦、討論並提倡使用 Python 程式語言的會議,' +
'聚焦在 Python 技術與其多樣的可能應用的交流。我們歡迎所有對 Python ' +
'有興趣的朋友一同加入 PyCon Taiwan 來分享所學、交換想法、並且認識更多同好。' +
'去年 PyCon Taiwan 帶會眾們從虛擬重返實體,今年 PyCon Taiwan 2024 將帶著會眾們前進高雄!' +
'今年在這個熱情的城市以「連結」為核心,希望來自各地的會眾分享交流為 Python 社群帶來更多創新想法。',
'有興趣的朋友一同加入 PyCon Taiwan 來分享所學、交換想法、並且認識更多同好。',
whatIsPyCon: '何謂 PyCon',
whatIsPyConContent:
'PyCon,亦即 Python 年會,是全球 Python 社群的年度盛會。' +
Expand Down
10 changes: 7 additions & 3 deletions configs/pageLanding.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
export const landingButtonConfig = {
PRIMARY_JOIN_US: {
isExternalLink: true,
path: 'https://forms.gle/seaori7xF4vLSSUb7',
path: 'https://forms.gle/qurWMpgtuvX4WQjd9',
textKey: 'joinUs',
isPrimary: true,
isLarge: true,
},
SECONDARY_JOIN_US: {
isExternalLink: true,
path: 'https://forms.gle/seaori7xF4vLSSUb7',
path: 'https://forms.gle/qurWMpgtuvX4WQjd9',
textKey: 'joinUs',
isPrimary: false,
isBordered: true,
Expand All @@ -20,7 +20,7 @@ export const landingButtonConfig = {
textKey: 'callForProposals',
isPrimary: true,
isBordered: true,
isLarge: false,
isLarge: true,
},
CHECK_EVENTS: {
isExternalLink: false,
Expand Down Expand Up @@ -130,6 +130,10 @@ export const landingFooterHistoryConfig = [
text: '2023',
link: 'https://tw.pycon.org/2023/',
},
{
text: '2024',
link: 'https://tw.pycon.org/2024/',
},
]

export const landingFooterSocialConfig = [
Expand Down
6 changes: 3 additions & 3 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
context: .
dockerfile: mock-server.Dockerfile

pycontw-2024:
container_name: pycontw-2024-frontend-dev
pycontw-2025:
container_name: pycontw-2025-frontend-dev
build:
context: .
dockerfile: dev.Dockerfile
Expand All @@ -19,7 +19,7 @@ services:
- ./node_modules:/app/node_modules:delegated
environment:
- BUILD_TARGET=server
- ROUTER_BASE=/2024/
- ROUTER_BASE=/2025/
- HOST=0.0.0.0
- BASE_URL=http://mock-server:9876
- API_URL_BROWSER=http://0.0.0.0:9876
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3.5'

services:
pycontw-2024-frontend:
container_name: pycontw-2024-frontend
pycontw-2025-frontend:
container_name: pycontw-2025-frontend
restart: always
build:
context: .
Expand All @@ -12,4 +12,4 @@ services:
networks:
network:
external: true
name: network-2024
name: network-2025
4 changes: 2 additions & 2 deletions i18n/about/sponsor.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ export default genI18nMessages({
title: 'Sponsor',
og: {
title: 'Sponsor',
description: 'Sponsor of PyCon Taiwan 2024',
description: 'Sponsor of PyCon Taiwan 2025',
},
},
'zh-hant': {
title: '贊助夥伴',
og: {
title: '贊助夥伴',
description: 'PyCon Taiwan 2024 贊助夥伴',
description: 'PyCon Taiwan 2025 贊助夥伴',
},
},
})
18 changes: 9 additions & 9 deletions i18n/ext/discord.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { genI18nMessages } from '~/utils/i18n.utils'

export default genI18nMessages({
'en-us': {
title: 'PyCon TW 2024 Discord Guideline',
title: 'PyCon TW 2025 Discord Guideline',
invalidAttendee:
'The token within the link is invalid. Please contact staff for further help.',
registration: {
Expand All @@ -12,7 +12,7 @@ export default genI18nMessages({
'follow {setup} and setup your Discord first.{br}' +
'{br}' +
'After registration, a few new channels should show up in the left navigation bar, ' +
'the category name is PYCON TW 2024 .{br}' +
'the category name is PYCON TW 2025 .{br}' +
'You may also raise an issue by clicking any {manager} member ' +
'in member list on the right side and directly message one of them, ' +
'or please send a message to {general} channel and mention {mentionManager}.',
Expand All @@ -35,7 +35,7 @@ export default genI18nMessages({
'Any discussion about Talk can be done here.',
],
},
channelListHeader: 'PyCon TW 2024 Channels list',
channelListHeader: 'PyCon TW 2025 Channels list',
channelGroups: [
{
type: 'Code of Conduct',
Expand All @@ -47,7 +47,7 @@ export default genI18nMessages({
'The conference organizers have the power to take appropriate actions to redirect the behavior ' +
'of those who violate the Code of Conduct. Violators may be forced to leave the conference ' +
'without a refund at the sole discretion of the organizers.{br}{br}' +
'This Code of Conduct is approved by the organizers of PyCon TW 2024 and the administrators of this server.',
'This Code of Conduct is approved by the organizers of PyCon TW 2025 and the administrators of this server.',
},
],
},
Expand Down Expand Up @@ -103,7 +103,7 @@ export default genI18nMessages({
},
],
og: {
title: 'PyCon TW 2024 Discord 指南',
title: 'PyCon TW 2025 Discord 指南',
description:
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 設定 Discord 與加入 Python Taiwan 伺服器',
},
Expand All @@ -115,7 +115,7 @@ export default genI18nMessages({
registration: {
title: '1. 註冊',
descriptions: [
'註冊成功後,您應該可以看到大會相關頻道出現於左側頻道列表,類別名稱為 PYCON TW 2024{br}。' +
'註冊成功後,您應該可以看到大會相關頻道出現於左側頻道列表,類別名稱為 PYCON TW 2025{br}。' +
'如果您持續無法看到大會相關頻道,請點選右方成員清單中身份組為 {manager} 的成員並直接傳訊息給他們,' +
'或是將您的問題在 {general} 頻道中提出並 mention {mentionManager}。',
],
Expand Down Expand Up @@ -144,9 +144,9 @@ export default genI18nMessages({
tag: 'rules',
description:
'伺服器成員皆應遵守的行為準則,在您開始使用前請詳加閱讀。' +
'PyCon TW 2024 籌備團隊和伺服器管理者有權調整任何違反此準則的行為。' +
'PyCon TW 2025 籌備團隊和伺服器管理者有權調整任何違反此準則的行為。' +
'僅需根據籌備團隊的裁決,違反準則者可能必須離開會場,並不得要求退費。' +
'本行為準則由 PyCon TW 2024 籌備團隊和伺服器管理者認可執行。',
'本行為準則由 PyCon TW 2025 籌備團隊和伺服器管理者認可執行。',
},
],
},
Expand Down Expand Up @@ -200,7 +200,7 @@ export default genI18nMessages({
},
],
og: {
title: 'PyCon TW 2024 Discord 指南',
title: 'PyCon TW 2025 Discord 指南',
description:
'如果尚未安裝 Discord 並加入 Python Taiwan 的伺服器,請先閱讀 設定 Discord 與加入 Python Taiwan 伺服器',
},
Expand Down
4 changes: 2 additions & 2 deletions i18n/index.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { genI18nMessages } from '@/utils/i18n.utils'

export default genI18nMessages({
'en-us': {
pyconWelcome: 'Welcome to PyCon TW 2024',
pyconWelcome: 'Welcome to PyCon TW 2025',
pyconIntro: 'PyCon Taiwan',
achieveFirstStatLine: 'Hold',
achieveFirstEndLine: 'years',
Expand All @@ -27,7 +27,7 @@ export default genI18nMessages({
'"PyCon TW 2023 will definitely be held successfully!"',
},
'zh-hant': {
pyconWelcome: '歡迎來到 PyCon TW 2024',
pyconWelcome: '歡迎來到 PyCon TW 2025',
pyconIntro: 'PyCon Taiwan',
achieveFirstStatLine: '持續舉辦',
achieveFirstEndLine: '年',
Expand Down
8 changes: 4 additions & 4 deletions i18n/speaking/talk.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default genI18nMessages({
title: 'How to Propose a Talk?',
intro: [
'For information on the overall CfP process, see {cfp}.',
'First of all, thank you for your interest in speaking at PyCon Taiwan 2024! ' +
'First of all, thank you for your interest in speaking at PyCon Taiwan 2025! ' +
'The following will help you submit a successful proposal. ' +
'In the following, we will provide tips to make your proposal strong ' +
'and informative to increase the chance of your proposal to be accepted. ',
Expand Down Expand Up @@ -106,7 +106,7 @@ export default genI18nMessages({
og: {
title: 'How to Propose a Talk?',
description:
'First of all, thank you for your interest in speaking at PyCon Taiwan 2024! ' +
'First of all, thank you for your interest in speaking at PyCon Taiwan 2025! ' +
'The following will help you submit a successful proposal. ' +
'In the following, we will provide tips to make your proposal strong ' +
'and informative to increase the chance of your proposal to be accepted. ',
Expand All @@ -116,7 +116,7 @@ export default genI18nMessages({
title: '如何投稿演講?',
intro: [
'有關投稿的整體流程說明,請參考{cfp}一頁。',
'首先,感謝您投稿 PyCon Taiwan 2024!下面的內容將會幫助您成功地送出一份投稿。' +
'首先,感謝您投稿 PyCon Taiwan 2025!下面的內容將會幫助您成功地送出一份投稿。' +
'我們將會提供一些訣竅使得您的投稿資訊更加完整豐富且具吸引力,並有更高的機率通過審稿。' +
'從大方向來說,在投稿之前將從下面幾個方面與問題展開您的思路:',
],
Expand Down Expand Up @@ -201,7 +201,7 @@ export default genI18nMessages({
og: {
title: '如何投稿演講?',
description:
'首先,感謝您投稿 PyCon Taiwan 2024!下面的內容將會幫助您成功地送出一份投稿。' +
'首先,感謝您投稿 PyCon Taiwan 2025!下面的內容將會幫助您成功地送出一份投稿。' +
'我們將會提供一些訣竅使得您的投稿資訊更加完整豐富且具吸引力,並有更高的機率通過審稿。' +
'從大方向來說,在投稿之前將從下面幾個方面與問題展開您的思路',
},
Expand Down
8 changes: 4 additions & 4 deletions i18n/speaking/tutorial.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default genI18nMessages({
title: 'How to Propose a Tutorial?',
intro: [
'For information on the overall CfP process, see {cfp}.',
'First of all, thank you for your interest in conducting a tutorial at PyCon Taiwan 2024.',
'First of all, thank you for your interest in conducting a tutorial at PyCon Taiwan 2025.',
'Generally speaking, good tutorials possess most of the traits that good talks have. ' +
'The biggest differences between a tutorial and a talk are the hands-on nature of a tutorial, ' +
'and the duration of the tutorial. As tutorials last longer than talks, well-prepared content is required ' +
Expand Down Expand Up @@ -65,7 +65,7 @@ export default genI18nMessages({
og: {
title: 'How to Propose a Tutorial?',
description:
'First of all, thank you for your interest in conducting a tutorial at PyCon Taiwan 2024. ' +
'First of all, thank you for your interest in conducting a tutorial at PyCon Taiwan 2025. ' +
'Generally speaking, good tutorials possess most of the traits that good talks have. ' +
'The biggest differences between a tutorial and a talk are the hands-on nature of a tutorial, ' +
'and the duration of the tutorial. As tutorials last longer than talks, well-prepared content is required ' +
Expand All @@ -81,7 +81,7 @@ export default genI18nMessages({
title: '如何投稿專業課程(Tutorial)?',
intro: [
'有關投稿的整體流程說明,請參考{cfp}一頁。',
'首先,謝謝您考慮投稿專業課程至 PyCon Taiwan 2024。',
'首先,謝謝您考慮投稿專業課程至 PyCon Taiwan 2025。',
'一般來說,好的課程滿足一場好演講的諸多特性。不過專業課程較演講最大的差異在課程有手把手的指導,以及較長的時間。' +
'因為有更長的時間,專業課程需要準備更多的內容,並且讓聽眾即便在數個小時的講課與操作之後還能覺得有趣且清醒;' +
'由於有手把手的指導,一個 20 名學員的課程通常要有兩位(以上)的助教來協助,過程中必須能與助教保持良好的溝通。',
Expand Down Expand Up @@ -128,7 +128,7 @@ export default genI18nMessages({
og: {
title: '如何投稿專業課程(Tutorial)?',
description:
'首先,謝謝您考慮投稿專業課程至 PyCon Taiwan 2024。' +
'首先,謝謝您考慮投稿專業課程至 PyCon Taiwan 2025。' +
'一般來說,好的課程滿足一場好演講的諸多特性。不過專業課程較演講最大的差異在課程有手把手的指導,以及較長的時間。' +
'因為有更長的時間,專業課程需要準備更多的內容,並且讓聽眾即便在數個小時的講課與操作之後還能覺得有趣且清醒;' +
'由於有手把手的指導,一個 20 名學員的課程通常要有兩位(以上)的助教來協助,過程中必須能與助教保持良好的溝通。' +
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from 'axios'
const DEFAULT_BASE_URL = 'https://tw.pycon.org/prs'
const DEFAULT_ROUTER_BASE = '/2024/'
const DEFAULT_ROUTER_BASE = '/2025/'
const DEFAULT_BUILD_TARGET = 'static'
const DEFAULT_VUE_DEVTOOL = false

Expand Down
4 changes: 2 additions & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ export default {
data() {
return {
isOpened: false,
primaryButton: landingButtonConfig.BUY_TICKETS,
secondaryButton: landingButtonConfig.SECONDARY_JOIN_US,
primaryButton: landingButtonConfig.PRIMARY_JOIN_US,
secondaryButton: landingButtonConfig.CFP,
selectedSponsor: {},
}
},
Expand Down
Loading
Loading