From fd60130b41edcd636b062de214cf2d837b1bc16e Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Tue, 1 Dec 2020 12:37:47 +0800 Subject: [PATCH] Add CTA and sign in to nav --- www/components/Nav/index.tsx | 81 +++++++++++++++++++++++------------- www/components/button.tsx | 4 +- 2 files changed, 55 insertions(+), 30 deletions(-) diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsx index 91eaaf53416..1f53ae19c89 100644 --- a/www/components/Nav/index.tsx +++ b/www/components/Nav/index.tsx @@ -132,30 +132,63 @@ const Nav = (props: Props) => { setOpen(true)} /> -
-
- Logo - Logo +
+ - diff --git a/www/components/button.tsx b/www/components/button.tsx index aa1f129f30d..454de5d7635 100644 --- a/www/components/button.tsx +++ b/www/components/button.tsx @@ -3,6 +3,7 @@ type Props = { text: string, url?: string, className?: string, + hideArrow?: boolean, } const Button = (props: Props) => { @@ -10,7 +11,8 @@ const Button = (props: Props) => { type = 'primary', text, url, - className + className, + hideArrow = false, } = props const colorClass = type === 'primary'