diff --git a/src/components/Nav/index.css b/src/components/Nav/index.css deleted file mode 100644 index 6b35bc3..0000000 --- a/src/components/Nav/index.css +++ /dev/null @@ -1,46 +0,0 @@ -.nav { - align-self: stretch; - justify-content: center; - background-image: linear-gradient( - to bottom, - hsla(0, 0%, 0%, 0.5) 0%, - hsla(0, 0%, 0%, 0.494) 8.1%, - hsla(0, 0%, 0%, 0.476) 15.5%, - hsla(0, 0%, 0%, 0.448) 22.5%, - hsla(0, 0%, 0%, 0.412) 29%, - hsla(0, 0%, 0%, 0.37) 35.3%, - hsla(0, 0%, 0%, 0.324) 41.2%, - hsla(0, 0%, 0%, 0.275) 47.1%, - hsla(0, 0%, 0%, 0.225) 52.9%, - hsla(0, 0%, 0%, 0.176) 58.8%, - hsla(0, 0%, 0%, 0.13) 64.7%, - hsla(0, 0%, 0%, 0.088) 71%, - hsla(0, 0%, 0%, 0.052) 77.5%, - hsla(0, 0%, 0%, 0.024) 84.5%, - hsla(0, 0%, 0%, 0.006) 91.9%, - hsla(0, 0%, 0%, 0) 100% - ); -} - -.links { - display: flex; - flex-direction: row; - justify-content: center; - list-style: none; -} - -.link { - color: inherit; - background-color: hsla(0, 0%, 0%, 0.25); -} - -.link > a { - display: inline-block; - text-decoration: none; - padding: 0.5em; -} - -.current, .link:hover, .link:focus { - background-color: #FED600; - color: black; -} diff --git a/src/components/Nav/index.js b/src/components/Nav/index.js index 0189dcd..42f3985 100644 --- a/src/components/Nav/index.js +++ b/src/components/Nav/index.js @@ -1,5 +1,4 @@ import { Link } from 'preact-router'; -import style from './index.css'; export default function Nav ({ path }) { const pages = [ @@ -9,14 +8,12 @@ export default function Nav ({ path }) { { name: 'Moze', path: '/bot-jock' }, ]; return ( -