Skip to content

Commit fa2a2e1

Browse files
authored
Merge pull request #550 from pycontw/feat/2024-tutorial-talk
feat(speech): toggle talks and tutorials pages
2 parents 3dcb252 + e5b04a8 commit fa2a2e1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

i18n/conference/speeches.i18n.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ export default genI18nMessages({
66
title: 'Talks',
77
intro:
88
'The two conference days are packed with talks about Python by speakers' +
9-
' from Taiwan and around the world. The talks will be either 15-, 30-,' +
10-
' or 45-minute long. Three tracks of talks will be delivered simultaneously,' +
11-
' all with different topics and difficulties. We suggest you to make a schedule' +
12-
' beforehand, and choose what you want ot listen based on your interests.' +
13-
' Many people take notes on the program schedule before the meeting so they don’t ' +
14-
'run to wrong places.',
9+
' from Taiwan and around the world. The talks will be either 15, 30,' +
10+
' or 45 minutes long. Three tracks of talks will be delivered simultaneously,' +
11+
' all with different topics and difficulties. We suggest you make a schedule' +
12+
' beforehand, and choose what you want to listen based on your interests.' +
13+
' Many people take notes on the program schedule before the meeting so they don’t' +
14+
' run to the wrong places.',
1515
categoryFilter: 'Category',
1616
},
1717
tutorials: {

routes.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"/api/sponsors/jobs/": "/jobs",
44
"/api/events/keynotes/": "/keynotes",
55
"/api/events/speeches/\\?event_types=:event_type": "/speeches/?event_type=:event_type",
6+
"/api/events/speeches/category/:category": "/speeches/?category=:category",
67
"/api/events/speeches/:event_type/:id": "/speeches/?event_type=:event_type&id=:id&singular=1",
7-
"/api/events/schedule": "/schedules",
8-
"/api/events/speeches/category/:category": "/speeches/?category=:category"
8+
"/api/events/schedule": "/schedules"
99
}

store/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const state = () => ({
2727
showIndexSecondaryBtn: true,
2828
aboutHideItems: ['apacCommunity'], // ['pycontw', 'apacCommunity', 'history', 'community', 'codeOfConduct']
2929
eventsHideItems: ['sprints', 'openSpaces'], // ['sprints', 'openSpaces', 'jobs']
30-
conferenceHideItems: ['talks', 'tutorials', 'panelDiscussion'], // ['keynotes', 'talks', 'tutorials', 'panelDiscussion']
30+
conferenceHideItems: ['panelDiscussion'], // ['keynotes', 'talks', 'tutorials', 'panelDiscussion']
3131
registrationHideItems: [], // ['tickets', 'financialAid']
3232
venueHideItems: [], // ['venueInfo', 'accommodation']
3333
},

0 commit comments

Comments
 (0)