Skip to content

Commit

Permalink
Merge pull request #358 from scratchfoundation/rd/remove-twitter-widgets
Browse files Browse the repository at this point in the history
refactor: remove twitter timeline widget
  • Loading branch information
Ron de las Alas authored Jul 18, 2023
2 parents b5c1911 + bb4049b commit 409117a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
15 changes: 0 additions & 15 deletions src/views/index/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import {render} from 'react-dom';
import {Timeline} from 'react-twitter-widgets';
import NavBar from '../../components/navbar/navbar.jsx';
import Footer from '../../components/footer/footer.jsx';
import Carousel from '../../components/carousel/carousel.jsx';
Expand Down Expand Up @@ -95,20 +94,6 @@ const Index = () => {
</a>
</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>
{/* end content */}
Expand Down
15 changes: 0 additions & 15 deletions src/views/outreach/news.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import {Timeline} from 'react-twitter-widgets';

const NewsSection = () => (
<div
Expand All @@ -20,20 +19,6 @@ const NewsSection = () => (
</div>
</a>
</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>
);
export default NewsSection;

0 comments on commit 409117a

Please sign in to comment.