Skip to content

Commit

Permalink
Merge pull request #544 from pycontw/feat/ticket-btn
Browse files Browse the repository at this point in the history
feat(reg/tickets): toggle tickets btn on landing page
  • Loading branch information
SivanYeh authored Jun 15, 2024
2 parents 059c31f + d5c8c1b commit e7f3c72
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions configs/pageLanding.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ export const landingButtonConfig = {
textKey: 'joinUs',
isPrimary: false,
isBordered: true,
isLarge: true,
isLarge: false,
},
CFP: {
isExternalLink: false,
path: '/speaking/cfp',
textKey: 'callForProposals',
isPrimary: true,
isBordered: true,
isLarge: true,
isLarge: false,
},
CHECK_EVENTS: {
isExternalLink: false,
Expand Down
2 changes: 0 additions & 2 deletions configs/pageTickets.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ export const ticketInfoConfig = [
'support',
'thankYouList',
'tShirt',
'exclusiveSwag',
'invitationOfSpeakerNight',
'lunchBoxAndDesserts',
'conferencePass',
],
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default {
data() {
return {
isOpened: false,
primaryButton: landingButtonConfig.PRIMARY_JOIN_US,
primaryButton: landingButtonConfig.BUY_TICKETS,
secondaryButton: landingButtonConfig.SECONDARY_JOIN_US,
selectedSponsor: {},
}
Expand Down
2 changes: 1 addition & 1 deletion store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const state = () => ({
showVenuePage: false,
showProposalSystemPage: true,
showIndexSponsorSection: true,
showIndexSecondaryBtn: false,
showIndexSecondaryBtn: true,
aboutHideItems: ['apacCommunity'], // ['pycontw', 'apacCommunity', 'history', 'community', 'codeOfConduct']
eventsHideItems: [], // ['sprints', 'openSpaces', 'jobs']
conferenceHideItems: ['talks', 'tutorials', 'panelDiscussion'], // ['keynotes', 'talks', 'tutorials', 'panelDiscussion']
Expand Down

0 comments on commit e7f3c72

Please sign in to comment.