Clear up with minor updates.
This commit is contained in:
parent
a0073a27e8
commit
1dafdce6de
@ -1,4 +1,4 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import React from 'react';
|
||||
|
||||
import './overrides.scss';
|
||||
import "bootstrap/dist/js/bootstrap.bundle.min";
|
||||
@ -40,9 +40,8 @@ import Japan from './Japan/Japan';
|
||||
function App() {
|
||||
return (
|
||||
<Router>
|
||||
<div className='row '>
|
||||
<div className="row">
|
||||
<Navigation />
|
||||
|
||||
<Routes>
|
||||
<Route exact path='/' element={<Home />}></Route>
|
||||
<Route exact path='/pages/software' element={<Software />}></Route>
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
import React from 'react';
|
||||
import ContentItem from '../../Content/ContentItem';
|
||||
import Sidebar from '../../UI/Sidebar';
|
||||
|
||||
const Linux = () => {
|
||||
return (
|
||||
|
||||
@ -9,7 +9,7 @@ let chapter = window.location.pathname.split('/')[3];
|
||||
|
||||
const Navigation = () => {
|
||||
const [theme, setTheme] = useState(
|
||||
localStorage.getItem('theme') || 'light'
|
||||
localStorage.getItem('theme') || 'dark'
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user