From 3c18e3103281e8e9b4e848c233bc5a19b8c0e07f Mon Sep 17 00:00:00 2001 From: svyeh Date: Fri, 14 Jun 2024 23:40:23 +0800 Subject: [PATCH 1/2] feat(reg/tickets): toggle tickets btn on landing page - Toggle ticket button on landing page - Adjust the size of buttons --- configs/pageLanding.js | 4 ++-- pages/index.vue | 2 +- store/index.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/pageLanding.js b/configs/pageLanding.js index bafc4dd8f9..35e1f156cb 100644 --- a/configs/pageLanding.js +++ b/configs/pageLanding.js @@ -12,7 +12,7 @@ export const landingButtonConfig = { textKey: 'joinUs', isPrimary: false, isBordered: true, - isLarge: true, + isLarge: false, }, CFP: { isExternalLink: false, @@ -20,7 +20,7 @@ export const landingButtonConfig = { textKey: 'callForProposals', isPrimary: true, isBordered: true, - isLarge: true, + isLarge: false, }, CHECK_EVENTS: { isExternalLink: false, diff --git a/pages/index.vue b/pages/index.vue index c36a138395..0aaacca790 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -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: {}, } diff --git a/store/index.js b/store/index.js index 02ad92cfeb..9e034c96f7 100644 --- a/store/index.js +++ b/store/index.js @@ -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'] From d5c8c1b733bbbd1b0e1ed1e4609a107442256699 Mon Sep 17 00:00:00 2001 From: svyeh Date: Sat, 15 Jun 2024 14:48:38 +0800 Subject: [PATCH 2/2] feat(reg/ticket): remove individual sponsor items --- configs/pageTickets.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/pageTickets.js b/configs/pageTickets.js index e544b1d7bf..aa77522bcb 100644 --- a/configs/pageTickets.js +++ b/configs/pageTickets.js @@ -33,8 +33,6 @@ export const ticketInfoConfig = [ 'support', 'thankYouList', 'tShirt', - 'exclusiveSwag', - 'invitationOfSpeakerNight', 'lunchBoxAndDesserts', 'conferencePass', ],