From 12ee882810e1fd4a738a62e01a56dc6a0921396e Mon Sep 17 00:00:00 2001 From: jahooma Date: Thu, 2 Dec 2021 14:34:58 -0600 Subject: [PATCH] Add navigation buttons --- web/components/hero.tsx | 50 +++++++++++++---------------------------- 1 file changed, 15 insertions(+), 35 deletions(-) diff --git a/web/components/hero.tsx b/web/components/hero.tsx index 89d3e997..37ad27ec 100644 --- a/web/components/hero.tsx +++ b/web/components/hero.tsx @@ -1,11 +1,14 @@ -import { Fragment } from 'react' -import { Popover, Transition } from '@headlessui/react' -import { XIcon } from '@heroicons/react/outline' +import { Popover } from '@headlessui/react' import { ConvertKitEmailForm } from './convert-kit-email-form' +const navigation = [ + { name: 'About', href: '#' }, + { name: 'Simulator', href: 'https://simulator.mantic.markets' }, + ] + export const Hero = () => { return ( -
+
{/*
*/} @@ -25,39 +28,16 @@ export const Hero = () => { />
+
+ {navigation.map((item) => ( + + {item.name} + + ))} +
- - - -
-
-
- -
-
- - Close menu - -
-
-
-
-
@@ -81,8 +61,8 @@ export const Hero = () => { -
+ ) } \ No newline at end of file