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> <h3>{getSpeakerName(speaker)}</h3>
<div className="icons"> <div className="icons">
{speaker.twitter && <a href={'https://twitter.com/'.concat(speaker.twitter)}> {speaker.twitter && <a href={'https://twitter.com/'.concat(speaker.twitter)}>
<i className="fa fa-twitter" /> <i className="fa-brands fa-twitter" />
</a>} </a>}
{speaker.github && <a href={'https://github.com/'.concat(speaker.github)}> {speaker.github && <a href={'https://github.com/'.concat(speaker.github)}>
<i className="fa fa-github"/> <i className="fa-brands fa-github"/>
</a>} </a>}
</div> </div>
<p>{speaker.biography}</p> <p>{speaker.biography}</p>

View File

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