Skip to content

Commit a64d3bb

Browse files
committed
Add Tweet rendering
1 parent 4c11fc0 commit a64d3bb

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

nuxt.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export default {
4747
'~/plugins/pydata.js',
4848
{ src: '~/plugins/prevue.js', mode: 'client' },
4949
{ src: '~/plugins/vue-carousel', mode: 'client' },
50+
{ src: '~/plugins/tweet', mode: 'client' },
5051
],
5152
/*
5253
** Nuxt.js dev-modules

package-lock.json

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"nuxt": "^2.0.0",
1818
"nuxt-lazy-load": "^1.1.3",
1919
"sharp": "^0.25.1",
20-
"vue-carousel": "^0.18.0"
20+
"vue-carousel": "^0.18.0",
21+
"vue-tweet-embed": "^2.4.0"
2122
},
2223
"devDependencies": {
2324
"@vue/cli": "^4.2.3",

pages/attendee-experience.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
Most of the presentations are pre-recorded, and the video will be released following the official schedules, and be available for on-demand watching in the course platform thereafter.
2323
(Videos will become public on the JupyterCon YouTube channel at least two weeks after the conference ends.)
2424
</p>
25+
<Tweet id="1312405705509535745"></Tweet>
2526
<p>
2627
The tutorials, presented as online courses, will be complemented by live "office hours" with the speakers, peppered throughout the week.
2728
These will be held using Webex Meetings, with great care to ensure the safe participation by all attendees.
@@ -51,8 +52,8 @@
5152
</ol>
5253
<p>
5354
The keynote talks are live on Webex Events. We thought long and hard about the security measures to take to protect our community from things like bombing and trolling. The live portions of the programming are available to ticket holders, but the recordings will be made public after the conference has ended.
55+
<a href="http://jupytercon.com/blog">Read about our fabulous keynote speakers in the Jupyter blog!</a>
5456
</p>
55-
<a href="http://jupytercon.com/blog">Read about our fabulous keynote speakers in the Jupyter blog!</a>
5657
<p>
5758
We are really excited about the way we integrated Jupyter into the authoring and delivery of the conference content. This is just the beginning, and we're sure improvements will be imagined and applied, but what is on offer starting today is a celebration of Jupyter, using Jupyter as the medium!
5859
</p>

plugins/tweet.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import Vue from 'vue';
2+
import { Tweet, Moment, Timeline } from 'vue-tweet-embed';
3+
4+
Vue.component('Tweet', Tweet);
5+
Vue.component('Moment', Moment);
6+
Vue.component('Timeline', Timeline);

0 commit comments

Comments
 (0)