From dc37893387d49aadf5af0e34d3345f2667dcd46d Mon Sep 17 00:00:00 2001 From: alan-wu Date: Thu, 17 Oct 2024 13:21:29 +1300 Subject: [PATCH] Remove twitter feed. --- pages/news-and-events/index.vue | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/pages/news-and-events/index.vue b/pages/news-and-events/index.vue index 8f031414..5123649b 100644 --- a/pages/news-and-events/index.vue +++ b/pages/news-and-events/index.vue @@ -79,6 +79,8 @@ View all Newsletters + + - @@ -155,9 +151,6 @@ export default { mounted() { this.$injectNewsletterArchive('#newsletter-archive') - const xFeedScript = document.createElement('script') - xFeedScript.setAttribute('src', 'https://platform.twitter.com/widgets.js') - document.head.appendChild(xFeedScript) }, watch: { @@ -261,16 +254,14 @@ export default { margin-bottom: 2rem; @media (min-width: 48em) { margin-bottom: 0; + &.right-panel { + border-left: 2px solid #d8d8d8; + } } p { color: $darkBlue } } -.twitter-wrap { - @media (min-width: 48em) { - border-left: 2px solid #d8d8d8; - } -} .btn-load-more { background: none;