Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlemaire committed Mar 11, 2024
1 parent 64bb392 commit a52eee1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
<script async defer type="module" src="/src/index.jsx"></script>
</body>

</html>
15 changes: 7 additions & 8 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { lazy } from 'react'
import './App.css'

const NavBar = lazy(() => import('./components/NavBar'))
const Header = lazy(() => import('./components/sections/Header'))
const About = lazy(() => import('./components/sections/About'))
const Experience = lazy(() => import('./components/sections/Experience'))
const Projects = lazy(() => import('./components/sections/Projects'))
const Contact = lazy(() => import('./components/sections/Contact'))
const Footer = lazy(() => import('./components/sections/Footer'))
import NavBar from './components/NavBar'
import Header from './components/sections/Header'
import About from './components/sections/About'
import Experience from './components/sections/Experience'
import Projects from './components/sections/Projects'
import Contact from './components/sections/Contact'
import Footer from './components/sections/Footer'

import ThemeContext from './contexts/ThemeContext'

Expand Down

0 comments on commit a52eee1

Please sign in to comment.