Skip to content

Commit

Permalink
feat: update PyConTW 2023 to 2024
Browse files Browse the repository at this point in the history
feat:
- update PyConTW 2023 to 2024 including few names, links, containers and docker setting.
- hide items that are unready yet.
  • Loading branch information
SivanYeh committed Jan 22, 2024
1 parent cfddd47 commit 276de53
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 28 deletions.
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 /2023/
ENV BASE_URL http://pycontw-2023:8000
ENV ROUTER_BASE /2024/
ENV BASE_URL http://pycontw-2024:8000
ENV BUILD_TARGET server
ENV HOST 0.0.0.0
ENV API_URL_BROWSER https://tw.pycon.org/prs
Expand Down
6 changes: 5 additions & 1 deletion configs/pageLanding.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const landingBulletinsConfig = [
{
titleI18nKey: 'hackmd.title',
descriptionI18nKey: 'hackmd.description',
link: 'https://hackmd.io/@pycontw/2022',
link: 'https://hackmd.io/@pycontw/2023',
isExternalLink: true,
icon: 'HackMD.svg',
showBulletin: false,
Expand Down Expand Up @@ -126,6 +126,10 @@ export const landingFooterHistoryConfig = [
text: '2022',
link: 'https://tw.pycon.org/2022/',
},
{
text: '2023',
link: 'https://tw.pycon.org/2023/',
},
]

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-2023:
container_name: pycontw-2023-frontend-dev
pycontw-2024:
container_name: pycontw-2024-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=/2023/
- ROUTER_BASE=/2024/
- 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-2023-frontend:
container_name: pycontw-2023-frontend
pycontw-2024-frontend:
container_name: pycontw-2024-frontend
restart: always
build:
context: .
Expand All @@ -12,4 +12,4 @@ services:
networks:
network:
external: true
name: network-2023
name: network-2024
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 2023',
pyconWelcome: 'Welcome to PyCon TW 2024',
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 2023',
pyconWelcome: '歡迎來到 PyCon TW 2024',
pyconIntro: 'PyCon Taiwan',
achieveFirstStatLine: '持續舉辦',
achieveFirstEndLine: '年',
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 = '/2023/'
const DEFAULT_ROUTER_BASE = '/2024/'
const DEFAULT_BUILD_TARGET = 'static'
const DEFAULT_VUE_DEVTOOL = false

Expand Down
12 changes: 6 additions & 6 deletions pages/events/overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
imgUrl: require('~/static/img/events/overview/sprint.png'),
imgAlt: 'Sprint',
to: '/events/sprints',
openToView: true,
openToView: false,
},
{
tag: 'pycast',
Expand All @@ -68,7 +68,7 @@ export default {
imgUrl: require('~/static/img/events/overview/pycast.png'),
imgAlt: 'PyCast',
href: 'https://podcasts.apple.com/podcast/id1559843325',
openToView: true,
openToView: false,
},
{
tag: 'keynote',
Expand All @@ -77,7 +77,7 @@ export default {
imgUrl: require('~/static/img/events/overview/keynote.png'),
imgAlt: 'Keynote',
to: '/conference/keynotes',
openToView: true,
openToView: false,
},
{
tag: 'talk',
Expand All @@ -86,7 +86,7 @@ export default {
imgUrl: require('~/static/img/events/overview/talk.png'),
imgAlt: 'Talk',
to: '/conference/talks',
openToView: true,
openToView: false,
},
{
tag: 'tutorial',
Expand All @@ -95,7 +95,7 @@ export default {
imgUrl: require('~/static/img/events/overview/tutorial.png'),
imgAlt: 'Tutorial',
to: '/conference/tutorials',
openToView: true,
openToView: false,
},
{
tag: 'openSpace',
Expand All @@ -104,7 +104,7 @@ export default {
imgUrl: require('~/static/img/events/overview/open-space.png'),
imgAlt: 'Open Space',
to: '/events/open-spaces',
openToView: true,
openToView: false,
},
{
tag: 'lightningTalk',
Expand Down
20 changes: 10 additions & 10 deletions store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ export const state = () => ({
relatedData: [],
configs: {
conferenceName: 'PyCon TW',
conferenceYear: '2023',
conferenceDate: '2023-09-02',
showSpeakingPage: false,
showAboutStaffPage: true,
showSchedulePage: true,
conferenceYear: '2024',
conferenceDate: 'Coming Soon',
showSpeakingPage: true,
showAboutStaffPage: false,
showSchedulePage: false,
showSponsorPage: false,
showRegistrationPage: true,
showRegistrationPage: false,
showEventOverviewPage: true,
showEventsPage: true,
showConferencePage: true,
showVenuePage: true,
showIndexSponsorSection: true,
showEventsPage: false,
showConferencePage: false,
showVenuePage: false,
showIndexSponsorSection: false,
showIndexSecondaryBtn: false,
aboutHideItems: ['apacCommunity'], // ['pycontw', 'apacCommunity', 'history', 'community', 'codeOfConduct']
eventsHideItems: [], // ['sprints', 'openSpaces', 'jobs']
Expand Down

0 comments on commit 276de53

Please sign in to comment.