diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 29f7790..b37837b 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -1,61 +1,47 @@ --- -// Imports -import { Icon } from "astro-icon"; // Image imports import logo from "../images/logo.png"; -// Pages -const navbar = [ - { - name: "Home", - href: "/", - }, - { - name: "Blog", - href: "/blog/", - }, - { - name: "Docs", - href: "/docs/", - }, - { - name: "Source", - href: "https://github.com/lancerossdev/nofuss", - }, -]; -const desktopIcons = "dark:text-zinc-300 text-black hover:text-zinc-500 dark:hover:text-zinc-400 hidden sm:block"; -const mobileIcons = "dark:text-zinc-300 text-black hover:text-zinc-500 dark:hover:text-zinc-400 sm:hidden"; + +// Components +import NavLink from "./NavLink.astro"; --- -
- - + +
+ + + Logo - { - ( - - ) - } - -
- \ No newline at end of file + + +
+ + + + + + + + +
+ + + +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/src/components/NavLink.astro b/src/components/NavLink.astro new file mode 100644 index 0000000..9a88891 --- /dev/null +++ b/src/components/NavLink.astro @@ -0,0 +1,8 @@ +--- +const {link, title} = Astro.props; + +--- + + + {title} + \ No newline at end of file diff --git a/src/images/mountain.jpg b/src/images/mountain.jpg new file mode 100644 index 0000000..fab2913 Binary files /dev/null and b/src/images/mountain.jpg differ diff --git a/src/pages/index.astro b/src/pages/index.astro index 9a6c472..d2b663c 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,10 +1,27 @@ --- +// Layout import Layout from '../layouts/Layout.astro'; + +// Components import Nav from '../components/Nav.astro'; + +//Image import +import mountain from '../images/mountain.jpg'; --- - +
+ + + + +
+ + +
+ + +