diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index 52a7750..f391816 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -1,43 +1,29 @@ -import { Link } from "gatsby"; +import {Link} from "gatsby"; import React from "react"; import icon from "./icon.png"; -import { NavbarWrapper, NavbarItems } from "./styles"; +import {NavbarWrapper, NavbarItems} from "./styles"; -// @todo maybe find alternative type for data -const Navbar = ({ siteTitle }: any) => ( - -
-
- {/* */} -

- - {siteTitle} - -

-
-
- -
+const Navbar = ({siteTitle = ""}) => ( + + + {/* */} +

+ + {siteTitle} + +

+
+ + + + +
) -Navbar.propTypes = { - siteTitle: String -} - -Navbar.defaultProps = { - siteTitle: ``, -} - export default Navbar;