From a2a0880149727719233d04bb8b5d8850cb51c084 Mon Sep 17 00:00:00 2001 From: Serkan Reis Date: Wed, 28 Jun 2023 22:35:23 +0300 Subject: [PATCH] Update landing --- components/Sidebar.tsx | 4 ++-- pages/home.tsx | 16 +++++++++++++--- pages/index.tsx | 38 +++++++++++++++++++++++++++++++++++++- 3 files changed, 52 insertions(+), 6 deletions(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index fb959cc..933fd93 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -37,8 +37,8 @@ export const Sidebar = () => { return ( {/* Stargaze brand as home button */} - [e.preventDefault(), router.push('/brand')]}> - Brand Text + [e.preventDefault(), router.push('/brand')]}> + Brand Text {/* wallet button */} diff --git a/pages/home.tsx b/pages/home.tsx index 45efa8e..dddead4 100644 --- a/pages/home.tsx +++ b/pages/home.tsx @@ -24,15 +24,25 @@ const HomePage: NextPage = () => {
- + Create a collection, view a list of your collections or execute collection actions and queries. - + Create badges, view a list of them or execute badge related actions and queries. - + Execute actions and queries for a variety of contracts.
diff --git a/pages/index.tsx b/pages/index.tsx index f21be2c..956fee2 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1 +1,37 @@ -export { default } from './collections/create' +import { Conditional } from 'components/Conditional' +import { HomeCard } from 'components/HomeCard' +import type { NextPage } from 'next' +import { BADGE_HUB_ADDRESS } from 'utils/constants' +import { withMetadata } from 'utils/layout' + +const HomePage: NextPage = () => { + return ( +
+
+ + Create a collection, view a list of your collections or execute collection actions and queries. + + + + Create badges, view a list of them or execute badge related actions and queries. + + + + Execute actions and queries for a variety of contracts. + +
+
+ ) +} + +export default withMetadata(HomePage, { center: false })