Skip to content

Commit

Permalink
Add Header with styles and toggle theme
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVanDerSchans committed Oct 31, 2023
1 parent 03d7dd3 commit 12c19f6
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@

# production
/build
/src/scss
globals.css
/assets


# misc
.DS_Store
Expand All @@ -34,3 +38,4 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

16 changes: 0 additions & 16 deletions globals.css

This file was deleted.

3 changes: 3 additions & 0 deletions pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { useRouter } from 'next/router';
import 'bootstrap/dist/css/bootstrap.min.css';
import 'jquery/dist/jquery.min.js';
import "../src/scss/style.scss";

import Home from './home';

Expand Down
8 changes: 8 additions & 0 deletions pages/home/SliderSection.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const SliderSection = () => {
return (
<>
</>
)
}

export default SliderSection;
2 changes: 1 addition & 1 deletion src/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const Header = (props) => {
<div className="ms_tm--inner">

<div className="theme-toggle" id="theme-toggle" onClick={() => { setDarkMode(!darkMode); }}>
<input type="checkbox" id="switcher" className="check" checked="" />
<input type="checkbox" id="switcher" className="check" defaultChecked="" />
<svg className="sun-and-moon" aria-hidden="true" width="24" height="24" viewBox="0 0 24 24">
<mask className="moon" id="moon-mask">
<rect x="0" y="0" width="100%" height="100%" fill="white"></rect>
Expand Down

0 comments on commit 12c19f6

Please sign in to comment.