diff --git a/src/App.tsx b/src/App.tsx index 95007a42..fe5fdceb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,19 +1,22 @@ import React, {useRef, useState} from 'react'; import {BrowserRouter as Router, Route, Routes} from 'react-router-dom'; -import './App.scss'; +import initFaLibrary from './common/faLibrary'; + import Hero from "./components/Hero/Hero"; import ZueBanner from "./components/ZueBanner/ZueBanner"; import Navigation from "./components/Navigation/Navigation"; import Footer from "./components/Footer/Footer"; +import SidebarNavigation from "./components/SideNavigation/SidebarNavigation"; import contributions from "./data/contributions.json"; import externalContributions from "./data/external_contributions.json"; import people from "./data/people.json"; - -import SidebarNavigation from "./components/SideNavigation/SidebarNavigation"; import {MetaLinkSpec, RouteSpec} from "./common/types"; import OverlayStateContext, {OverlayState} from "./context/overlayState"; import Contributions from "./pages/Contributions/Contributions"; import People from "./pages/People/People"; +import './App.scss'; + +initFaLibrary();// Font Awesome library function App() { diff --git a/src/index.tsx b/src/index.tsx index f283f4d2..aa79a957 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,10 +3,6 @@ import ReactDOM from 'react-dom'; import './index.scss'; import App from './App'; import reportWebVitals from './reportWebVitals'; -import initFaLibrary from './common/faLibrary'; - -// Font Awesome library -initFaLibrary(); ReactDOM.render(