Skip to content

Commit

Permalink
Update metadata for ethlizards, add featured ethlizards section on Ho…
Browse files Browse the repository at this point in the history
…mePage, add logic to not show it on prod
  • Loading branch information
mudrila committed Jan 18, 2024
1 parent 1887c2a commit 45159f4
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 6 deletions.
25 changes: 25 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import ExternalLink from '../src/components/ui/links/ExternalLink';
import ClientOnly from '../src/components/ui/utils/ClientOnly';
import { BASE_ROUTES } from '../src/constants/routes';
import { URL_DOCS } from '../src/constants/url';
import ethLizardsLogo from '../src/metadata/lizzardsDAO/assets/logo.png';
import { useFractal } from '../src/providers/App/AppProvider';
import { disconnectedChain } from '../src/providers/NetworkConfig/NetworkConfigProvider';

Expand Down Expand Up @@ -59,6 +60,12 @@ const FEATURED_DAOS = new Map<number, Feature[]>([
descKey: 'awakeDesc',
address: '0x36C19472D4CA942710cA9aF01a03cED4dBc6eC0a',
},
{
iconSrc: ethLizardsLogo.src,
titleKey: 'ethlizardsTitle',
descKey: 'ethlizardsDesc',
address: '0x167bE4073f52aD2Aa0D6d6FeddF0F1f79a82B98e',
},
],
],
[
Expand All @@ -76,6 +83,12 @@ const FEATURED_DAOS = new Map<number, Feature[]>([
descKey: 'awakeDesc',
address: '0xdD6CeFA62239272f1eDf755ba6471eacb7DF2Fa5',
},
{
iconSrc: ethLizardsLogo.src,
titleKey: 'ethlizardsTitle',
descKey: 'ethlizardsDesc',
address: '0x167bE4073f52aD2Aa0D6d6FeddF0F1f79a82B98e', // TODO: Change to mainnet address once it will be there
},
],
],
[
Expand All @@ -93,6 +106,12 @@ const FEATURED_DAOS = new Map<number, Feature[]>([
descKey: 'awakeDesc',
address: '0xdD6CeFA62239272f1eDf755ba6471eacb7DF2Fa5', // TODO: Change to Sepolia Address once it will be there
},
{
iconSrc: ethLizardsLogo.src,
titleKey: 'ethlizardsTitle',
descKey: 'ethlizardsDesc',
address: '0x167bE4073f52aD2Aa0D6d6FeddF0F1f79a82B98e', // TODO: Change to Sepolia address once it will be there
},
],
],
]);
Expand Down Expand Up @@ -216,6 +235,12 @@ export default function HomePage() {
paddingBottom="1.5rem"
>
{features.map((feature, index) => {
if (
typeof location !== 'undefined' &&
location.pathname === 'app.fractalframework.xyz'
) {
return null;
}
return (
<FeaturedDAOCard
width={{ sm: '100%', lg: '50%' }}
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"decentDesc": "We are an open-source collective that unites builders toward global decentralization.",
"awakeTitle": "AwakeVC",
"awakeDesc": "Awake Internet Protocols combine AI and FinTech to empower Decentralized Private Equity for the multiverse. Welcome to Awakened Value Co-creation aka AwakeVC.",
"ethlizardsTitle": "Lizard DAO",
"ethlizardsDesc": "Ethlizards brings together an exceptional mix of avid gamers, visionary builders, and savvy investors, establishing itself as a highly esteemed partner in the GameFi ecosystem.",
"featureLink": "Explore >",
"readyCTA": "Ready to start?",
"createButton": "+ Start from Scratch",
Expand Down
13 changes: 7 additions & 6 deletions src/metadata/lizzardsDAO/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ const LIZZARDS_DAO_METADATA: DAOMetadata = {
sections: [
{
title: 'Description',
content: ' for this proposal or just click on the link to learn more about the proposal',
content:
'Ethlizards brings together an exceptional mix of avid gamers, visionary builders, and savvy investors, establishing itself as a highly esteemed partner in the GameFi ecosystem.',
background: undefined,
link: {
position: 'start',
text: 'Vote here',
url: '/proposals/0xe10c44fceb1b43f74c42bd6efc9316e9ce14109ac8a166e5266fc78499cb4fea',
},
// link: {
// position: 'start',
// text: 'Vote here',
// url: '/proposals/0xe10c44fceb1b43f74c42bd6efc9316e9ce14109ac8a166e5266fc78499cb4fea',
// },
},
{
title: 'Elemental Lizards coming soon',
Expand Down

0 comments on commit 45159f4

Please sign in to comment.