diff --git a/src/components/HomeEventBannerCountdown.vue b/src/components/HomeEventBannerCountdown.vue index a5909f62..b750fa62 100644 --- a/src/components/HomeEventBannerCountdown.vue +++ b/src/components/HomeEventBannerCountdown.vue @@ -5,17 +5,8 @@

until Secret Summit

COMING IN DECEMBER

- - check icon - Save my spot + + FIND OUT MORE diff --git a/src/components/page/LandingSneakPeekEvent.vue b/src/components/page/LandingSneakPeekEvent.vue index 75273ed8..6593dd17 100644 --- a/src/components/page/LandingSneakPeekEvent.vue +++ b/src/components/page/LandingSneakPeekEvent.vue @@ -32,6 +32,9 @@ export default { src: "https://www.googletagmanager.com/gtag/js?id=G-FS23DKM3PL%22%3E", async: true, }, + { + src: "https://www.eventbrite.com/static/widgets/eb_widgets.js", + }, ], }; }, @@ -68,6 +71,32 @@ export default { gtag('config', 'G-FS23DKM3PL');`; document.head.appendChild(functionScript); }, + addEventScript() { + const eventScript = document.createElement("script"); + eventScript.type = "text/javascript"; + eventScript.innerHTML = ` + var exampleCallback = function () { + console.log("Order complete!"); + setTimeout(function () { + window.open("https://scrt.network/summit/thank-you", "_self"); + }, 500); + }; + + var clientId; + ga(function (tracker) { + clientId = tracker.get("clientId"); + }); + + window.EBWidgets.createWidget({ + widgetType: "checkout", + eventId: "444225429217", + googleAnalyticsClientId: clientId, + modal: true, + modalTriggerElementId: "eventbrite-widget-modal-trigger-444225429217", + onOrderComplete: exampleCallback, + });`; + document.body.appendChild(eventScript); + }, }, computed: { summitAbout() { @@ -99,7 +128,8 @@ export default { setTimeout(() => { this.sneakPeek(); this.addAdScript(); - }, 100); + this.addEventScript(); + }, 200); }, }; diff --git a/src/components/summit/AnnouncementSection.vue b/src/components/summit/AnnouncementSection.vue index e4f56159..ea7d197a 100644 --- a/src/components/summit/AnnouncementSection.vue +++ b/src/components/summit/AnnouncementSection.vue @@ -2,18 +2,19 @@
{{ data.title }} - - check icon - {{ data.cta_button.title }} - + + +
@@ -88,6 +89,8 @@ export default { line-height: 20px; letter-spacing: 1px; text-transform: uppercase; + font-family: "Hind"; + margin-bottom: 0; span { padding-top: 3px; diff --git a/src/components/summit/HeroSection.vue b/src/components/summit/HeroSection.vue index 92d119a2..22207609 100644 --- a/src/components/summit/HeroSection.vue +++ b/src/components/summit/HeroSection.vue @@ -9,18 +9,19 @@

{{ data.title }}

{{ data.body }}

- - check icon - {{ data.cta_button.title }} - + + + @@ -74,6 +75,8 @@ export default { line-height: 20px; letter-spacing: 1px; text-transform: uppercase; + margin-bottom: 0; + font-family: "Hind"; &:visited:hover, &:hover {