From 8cecffd70d3e713cc0469f9a409d6984eed2664b Mon Sep 17 00:00:00 2001 From: ryanchristo <12519942+ryanchristo@users.noreply.github.com> Date: Wed, 1 May 2024 15:29:56 -0700 Subject: [PATCH] add arrow and fix links --- app/layout.tsx | 4 ++++ app/page.tsx | 22 +++++++++++++----- components/RightArrow.tsx | 47 +++++++++++++++++++++++++++++++++++++++ tsconfig.json | 5 ++++- 4 files changed, 72 insertions(+), 6 deletions(-) create mode 100644 components/RightArrow.tsx diff --git a/app/layout.tsx b/app/layout.tsx index 770126b..40e38b7 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -21,20 +21,24 @@ const Layout = ({ children }: any) => ( { link: '/products', title: 'products', + target: '', }, { link: '/solutions', title: 'solutions', + target: '', }, { link: '/validator', title: 'validator', + target: '', }, ]} itemsRight={[ { link: 'https://chora.blog', title: 'blog', + target: '_blank', }, ]} showMenuButton={true} diff --git a/app/page.tsx b/app/page.tsx index 3e1b3b4..c0ebd6c 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,5 +1,8 @@ import { Background } from 'chora/components' import { Metadata } from 'next' +import Link from 'next/link' + +import RightArrow from '@components/RightArrow' import styles from './page.module.css' @@ -28,15 +31,18 @@ const HomePage = () => {
{'Chora Studio is stewarding '} - + {'Chora'} - + { ' - software for commons governance and ecological regeneration built with distributed ledger technology.' }
- {'learn more ⇾'}
+
+ {'learn more'}
+
@@ -45,7 +51,10 @@ const HomePage = () => { }
- {'learn more ⇾'}
+
+ {'learn more'}
+
@@ -61,7 +70,10 @@ const HomePage = () => { }
- {'learn more ⇾'}
+
+ {'learn more'}
+