1
0

Clear up with minor updates.

This commit is contained in:
PA4KEV 2023-08-10 20:59:42 +02:00
parent a0073a27e8
commit 1dafdce6de
3 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
import React, {useEffect, useState} from 'react'; import React from 'react';
import './overrides.scss'; import './overrides.scss';
import "bootstrap/dist/js/bootstrap.bundle.min"; import "bootstrap/dist/js/bootstrap.bundle.min";
@ -40,9 +40,8 @@ import Japan from './Japan/Japan';
function App() { function App() {
return ( return (
<Router> <Router>
<div className='row '> <div className="row">
<Navigation /> <Navigation />
<Routes> <Routes>
<Route exact path='/' element={<Home />}></Route> <Route exact path='/' element={<Home />}></Route>
<Route exact path='/pages/software' element={<Software />}></Route> <Route exact path='/pages/software' element={<Software />}></Route>

View File

@ -1,6 +1,4 @@
import React from 'react'; import React from 'react';
import ContentItem from '../../Content/ContentItem';
import Sidebar from '../../UI/Sidebar';
const Linux = () => { const Linux = () => {
return ( return (

View File

@ -9,7 +9,7 @@ let chapter = window.location.pathname.split('/')[3];
const Navigation = () => { const Navigation = () => {
const [theme, setTheme] = useState( const [theme, setTheme] = useState(
localStorage.getItem('theme') || 'light' localStorage.getItem('theme') || 'dark'
); );
useEffect(() => { useEffect(() => {