Skip to content

Commit 231224b

Browse files
authored
Merge pull request #384 from ftsrg/345-replace-twitter
Remove Twitter integration
2 parents a5544e7 + cbc675a commit 231224b

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

src/components/indexpage-components/NewsSection.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,13 @@ const NewsSection: React.FC = () => {
1818
<div id="news" className="news-updates" key={key}>
1919
<Helmet>
2020
<script defer crossOrigin="anonymous" src="https://connect.facebook.net/hu_HU/sdk.js#xfbml=1&version=v7.0" nonce="SRkXDokT" />
21-
<script defer crossOrigin="anonymous" src="https://platform.twitter.com/widgets.js" />
2221
</Helmet>
2322
<Container>
2423
<h2 className="section-title-underline text-center mb-5">
2524
<span>{t('home.news.title')}</span>
2625
</h2>
2726
<Row className="justify-content-center text-center mb-5">
28-
<Col lg={6} className="social-media-container mb-5 mb-lg-0">
29-
<a className="twitter-timeline" data-width="400" data-height="500" href="https://twitter.com/ftsrg_bme?ref_src=twsrc%5Etfw">
30-
{t('commons.ftsrgFullName')} on Twitter
31-
</a>
32-
</Col>
33-
<Col lg={6} className="social-media-container">
27+
<Col lg={12} className="social-media-container">
3428
<div
3529
className="fb-page"
3630
data-href="https://www.facebook.com/ftsrg/"

src/components/navbar/NavBar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Link, useI18next } from 'gatsby-plugin-react-i18next'
33
import React from 'react'
44
import AnchorLink from 'react-anchor-link-smooth-scroll'
55
import { Button, Col, Container, Nav, NavDropdown, Navbar, Row } from 'react-bootstrap'
6-
import { FaFacebookF, FaGithub, FaTwitter } from 'react-icons/fa'
6+
import { FaFacebookF, FaGithub, FaLinkedinIn } from 'react-icons/fa'
77
import LanguageToggle from './LanguageToggle'
88
import NAVBAR_ITEMS from './navbar-items'
99

@@ -119,9 +119,9 @@ const NavBar: React.FC<Props> = ({ href }) => {
119119
as="a"
120120
target="_blank"
121121
rel="noopener noreferrer"
122-
href="https://twitter.com/ftsrg_bme"
122+
href="https://hu.linkedin.com/company/ftsrg"
123123
>
124-
<FaTwitter />
124+
<FaLinkedinIn />
125125
</Button>
126126
<Button
127127
className="rounded-0 me-1"

0 commit comments

Comments
 (0)