diff --git a/src/components/Index/HeroImage.js b/src/components/Index/HeroImage.js deleted file mode 100644 index e69de29..0000000 diff --git a/src/components/Index/HeroLink.js b/src/components/Index/HeroLink.js deleted file mode 100644 index cef4276..0000000 --- a/src/components/Index/HeroLink.js +++ /dev/null @@ -1,22 +0,0 @@ -import * as React from "react"; -import classnames from "classnames"; - -export const HeroA = ({ - href, - children, - className, - isClient, - ...linkProps -}) => ( - - {children} - -); diff --git a/src/pages/index.js b/src/pages/index.js index 4aabc1e..3d40b6b 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -11,7 +11,6 @@ import { getVibrant, getAspectRatio, } from "../utils"; -import { HeroA } from "../components/Index/HeroLink"; const env = process.env.GATSBY_ACTIVE_ENV || process.env.NODE_ENV || "development"; @@ -25,6 +24,61 @@ const getDifferentRand = (range, lastNs, iterations = 0) => { return n; }; +const NavLink = ({ href, children, isClient }) => ( + + {children} + +); + +const Nav = ({ isClient, ar }) => ( + +); + const ImageButtons = ({ isClient, image, shuffleImage }) => (
) : ( - // 67vw = 1/1.49253731 = 1/aspect ratio of my camera lol
- +