mirror of
https://github.com/scratchfoundation/scratchjr-website.git
synced 2025-06-29 08:20:20 -04:00
refactor: remove twitter timeline widget
This commit is contained in:
parent
b5c1911532
commit
bb4049b52e
2 changed files with 0 additions and 30 deletions
|
@ -1,6 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {render} from 'react-dom';
|
import {render} from 'react-dom';
|
||||||
import {Timeline} from 'react-twitter-widgets';
|
|
||||||
import NavBar from '../../components/navbar/navbar.jsx';
|
import NavBar from '../../components/navbar/navbar.jsx';
|
||||||
import Footer from '../../components/footer/footer.jsx';
|
import Footer from '../../components/footer/footer.jsx';
|
||||||
import Carousel from '../../components/carousel/carousel.jsx';
|
import Carousel from '../../components/carousel/carousel.jsx';
|
||||||
|
@ -95,20 +94,6 @@ const Index = () => {
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="disscussion-tweets">
|
|
||||||
<Timeline
|
|
||||||
dataSource={{
|
|
||||||
sourceType: 'profile',
|
|
||||||
screenName: 'ScratchJr'
|
|
||||||
}}
|
|
||||||
options={{
|
|
||||||
username: 'ScratchJr',
|
|
||||||
width: '425',
|
|
||||||
height: '250',
|
|
||||||
chrome: 'noheader nofooter'
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/* end content */}
|
{/* end content */}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {Timeline} from 'react-twitter-widgets';
|
|
||||||
|
|
||||||
const NewsSection = () => (
|
const NewsSection = () => (
|
||||||
<div
|
<div
|
||||||
|
@ -20,20 +19,6 @@ const NewsSection = () => (
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div className="fd-news-feed">
|
|
||||||
<Timeline
|
|
||||||
dataSource={{
|
|
||||||
sourceType: 'url',
|
|
||||||
url: 'https://twitter.com/ScratchJr/timelines/1021452548371288064?ref_src=twsrc%5Etfw'
|
|
||||||
}}
|
|
||||||
options={{
|
|
||||||
username: 'ScratchJr',
|
|
||||||
width: '600',
|
|
||||||
height: '800',
|
|
||||||
chrome: 'noheader nofooter'
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
export default NewsSection;
|
export default NewsSection;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue