refactor: remove twitter timeline widget

This commit is contained in:
Ron de las Alas 2023-07-18 16:04:38 -04:00
parent b5c1911532
commit bb4049b52e
2 changed files with 0 additions and 30 deletions
src/views
index
outreach

View file

@ -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';
@ -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 */}

View file

@ -1,5 +1,4 @@
import React from 'react';
import {Timeline} from 'react-twitter-widgets';
const NewsSection = () => (
<div
@ -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;