Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove twitter feed. #219

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions pages/news-and-events/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
View all Newsletters<svgo-icon-open />
</a>
</div>
</el-col>
<el-col :xs="24" :sm="12" class="newsletter-wrap right-panel">
<div class="heading2 mt-24">Get Involved</div>
<div class="body1 mb-16 mt-8">Empower SPARC to promote your science and interests by submitting your
science story, news, or event.</div>
Expand All @@ -105,12 +107,6 @@
</nuxt-link>
</div>
</el-col>
<el-col :xs="24" :sm="12" class="twitter-wrap">
<div v-twitter-widgets>
<a class="twitter-timeline" href="https://twitter.com/sparc_science?ref_src=twsrc%5Etfw">Tweets by
sparc_science</a>
</div>
</el-col>
</el-row>
</div>
</div>
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -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;
Expand Down
Loading