Fix Twitter and GitHub icons in speaker profiles

This commit is contained in:
Vencislav Atanasov 2024-09-22 00:01:21 +03:00
parent 11607b67f9
commit ae89ee0356
2 changed files with 4 additions and 2 deletions

View File

@ -110,10 +110,10 @@ export default function Schedule({
<h3>{getSpeakerName(speaker)}</h3>
<div className="icons">
{speaker.twitter && <a href={'https://twitter.com/'.concat(speaker.twitter)}>
<i className="fa fa-twitter" />
<i className="fa-brands fa-twitter" />
</a>}
{speaker.github && <a href={'https://github.com/'.concat(speaker.github)}>
<i className="fa fa-github"/>
<i className="fa-brands fa-github"/>
</a>}
</div>
<p>{speaker.biography}</p>

View File

@ -1,6 +1,8 @@
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App.jsx';
import '@fortawesome/fontawesome-free/css/all.css';
import './index.css';
createRoot(document.getElementById('root')).render(