mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-08 13:05:15 -05:00
* upgraded storybook dependencies * upgraded web dependencies * updated timezone selector * upgrade chakra in metamaps * upgraded react-dnd in metamaps * upgraded framer-motion * fixed types in metamaps * upgraded eslint * upgraded lerna, husky and graphql * upgraded node version * removed metamaps package * fixed all eslint issues * ran yarn format to prettier format all files * updated lint-staged & husky scripts * add executable perms to pre-push scripts * updated yarn.lock * fixed eslint and moved chakra icons to ds * fixed emotion errors * removed extra useContext * update yarn.lock * upgraded more packages * removed unnecessary .huskyrc.json * lint fix
135 lines
3.1 KiB
TypeScript
135 lines
3.1 KiB
TypeScript
const emojiUrl = (fileName: string): string => `/assets/emojis/${fileName}`;
|
|
|
|
export interface DrawerItemType {
|
|
href: string;
|
|
isExternal?: boolean;
|
|
src: string;
|
|
alt: string;
|
|
text?: string;
|
|
}
|
|
|
|
export const DrawerItemsLeft: DrawerItemType[] = [
|
|
{
|
|
href: '/players',
|
|
isExternal: false,
|
|
src: emojiUrl('alien.png'),
|
|
alt: 'MetaPlayers',
|
|
text: 'Players',
|
|
},
|
|
{
|
|
href: '/guilds',
|
|
isExternal: false,
|
|
src: emojiUrl('crossed-swords.png'),
|
|
alt: 'MetaGuilds',
|
|
text: 'Guilds',
|
|
},
|
|
];
|
|
|
|
export const DrawerItemsRight: DrawerItemType[] = [
|
|
{
|
|
href: '/quests',
|
|
isExternal: false,
|
|
src: emojiUrl('question-mark.png'),
|
|
alt: 'MetaQuests',
|
|
text: 'Quests',
|
|
},
|
|
{
|
|
href:
|
|
'https://miro.com/app/live-embed/o9J_knhEt7w=/?moveToViewport=-8516,-5516,21788,13742',
|
|
isExternal: true,
|
|
src: emojiUrl('world-map.png'),
|
|
alt: 'MetaRaids',
|
|
text: 'Raids',
|
|
},
|
|
];
|
|
|
|
export const DrawerSubItems: DrawerItemType[] = [
|
|
{
|
|
href: 'https://forum.metagame.wtf/',
|
|
isExternal: true,
|
|
src: emojiUrl('classical-building.png'),
|
|
alt: 'MetaForm',
|
|
text: 'Forum',
|
|
},
|
|
{
|
|
href: 'https://metagame.substack.com/',
|
|
isExternal: true,
|
|
src: emojiUrl('rolled-up-newspaper.png'),
|
|
alt: 'MetaNewsletter',
|
|
text: 'Newsletter',
|
|
},
|
|
{
|
|
href: 'https://anchor.fm/MetaGame/',
|
|
isExternal: true,
|
|
src: emojiUrl('studio-microphone.png'),
|
|
alt: 'MetaView',
|
|
text: 'MetaView',
|
|
},
|
|
{
|
|
href: 'https://wiki.metagame.wtf/docs/home',
|
|
isExternal: true,
|
|
src: emojiUrl('books.png'),
|
|
alt: 'MetaLibrary',
|
|
text: 'Library',
|
|
},
|
|
{
|
|
href: 'https://twitter.com/Metafam',
|
|
isExternal: true,
|
|
src: emojiUrl('baby-chick.png'),
|
|
alt: 'MetaTwitter',
|
|
text: 'Twitter',
|
|
},
|
|
{
|
|
href: 'https://discord.gg/XazuypRcv6',
|
|
isExternal: true,
|
|
src: emojiUrl('speech-balloon.png'),
|
|
alt: 'MetaDiscord',
|
|
text: 'Discord',
|
|
},
|
|
{
|
|
href: 'https://github.com/MetaFam/TheGame',
|
|
isExternal: true,
|
|
src: emojiUrl('hammer-and-wrench.png'),
|
|
alt: 'MetaGithub',
|
|
text: 'Github',
|
|
},
|
|
{
|
|
href:
|
|
'https://calendar.google.com/calendar/u/1?cid=bmloNTlrdGdhZm1tNjRlZDRxazZ1ZTh2djRAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ',
|
|
isExternal: true,
|
|
src: emojiUrl('calendar.png'),
|
|
alt: 'MetaCalendar',
|
|
text: 'Calendar',
|
|
},
|
|
{
|
|
href:
|
|
'https://balancer.exchange/#/swap/ether/0x30cf203b48edaa42c3b4918e955fed26cd012a3f',
|
|
isExternal: true,
|
|
src: emojiUrl('seedling.png'),
|
|
alt: 'MetaSeedmarket',
|
|
text: 'Seed Market',
|
|
},
|
|
{
|
|
href:
|
|
'https://pools.balancer.exchange/#/pool/0xea05a15dbce2eb543ffda16950e95b2bd2e40d0e/',
|
|
isExternal: true,
|
|
src: emojiUrl('four-leaf-clover.png'),
|
|
alt: 'MetaSeedPool',
|
|
text: 'Seed Pool',
|
|
},
|
|
{
|
|
href: 'https://wiki.metagame.wtf/docs/enter-metagame/leaderboard',
|
|
isExternal: true,
|
|
src: emojiUrl('chart-increasing.png'),
|
|
alt: 'MetaLeaderboard',
|
|
text: 'Leaderboard',
|
|
},
|
|
{
|
|
href: '/patrons',
|
|
isExternal: true,
|
|
src: emojiUrl('money-dollar-sign.png'),
|
|
alt: 'MetaPatrons',
|
|
text: 'Patrons',
|
|
},
|
|
];
|