Update welcome screen
This commit is contained in:
parent
907b18e161
commit
c962353ff4
@ -1,5 +1,7 @@
|
|||||||
|
import { Conditional } from 'components/Conditional'
|
||||||
import { HomeCard } from 'components/HomeCard'
|
import { HomeCard } from 'components/HomeCard'
|
||||||
import type { NextPage } from 'next'
|
import type { NextPage } from 'next'
|
||||||
|
import { BADGE_HUB_ADDRESS } from 'utils/constants'
|
||||||
import { withMetadata } from 'utils/layout'
|
import { withMetadata } from 'utils/layout'
|
||||||
|
|
||||||
const HomePage: NextPage = () => {
|
const HomePage: NextPage = () => {
|
||||||
@ -25,9 +27,11 @@ const HomePage: NextPage = () => {
|
|||||||
<HomeCard className="p-4 -m-4 hover:bg-gray-500/10 rounded" link="/collections/" title="Collections">
|
<HomeCard className="p-4 -m-4 hover:bg-gray-500/10 rounded" link="/collections/" title="Collections">
|
||||||
Create a collection, view a list of your collections or execute collection actions and queries.
|
Create a collection, view a list of your collections or execute collection actions and queries.
|
||||||
</HomeCard>
|
</HomeCard>
|
||||||
<HomeCard className="p-4 -m-4 hover:bg-gray-500/10 rounded" link="/badges" title="Badges">
|
<Conditional test={BADGE_HUB_ADDRESS !== undefined}>
|
||||||
Create badges, view a list of them or execute badge related actions and queries.
|
<HomeCard className="p-4 -m-4 hover:bg-gray-500/10 rounded" link="/badges" title="Badges">
|
||||||
</HomeCard>
|
Create badges, view a list of them or execute badge related actions and queries.
|
||||||
|
</HomeCard>
|
||||||
|
</Conditional>
|
||||||
<HomeCard className="p-4 -m-4 hover:bg-gray-500/10 rounded" link="/contracts" title="Contract Dashboards">
|
<HomeCard className="p-4 -m-4 hover:bg-gray-500/10 rounded" link="/contracts" title="Contract Dashboards">
|
||||||
Execute actions and queries for a variety of contracts.
|
Execute actions and queries for a variety of contracts.
|
||||||
</HomeCard>
|
</HomeCard>
|
||||||
|
Loading…
Reference in New Issue
Block a user