Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D academy updates innkeep #1776

Merged
merged 12 commits into from
Aug 14, 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/web/assets/academy/buildingonop.webp
Binary file not shown.
33 changes: 32 additions & 1 deletion packages/web/utils/questChains.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

import type { Values } from '@metafam/utils';
import { metadata } from '@quest-chains/sdk';
import questChainsABI from 'contracts/QuestChains.instance.abi.json' assert { type: 'json' };
Expand Down Expand Up @@ -36,6 +37,7 @@ import riteofpassage from '#assets/academy/riteofpassage.webp';
import team from '#assets/academy/team.webp';
import time from '#assets/academy/time.webp';
import web3builder from '#assets/academy/web3builder.webp';
import buildingonoptimism from '#assets/academy/buildingonop.webp';
import { useWeb3 } from '#lib/hooks';

export const useQuestChainContract = (address: string) => {
Expand All @@ -53,7 +55,9 @@ export const QuestChainsCategories = {
FOR_METAGAME: 'for-metagame',
META: 'meta',
WEB3_BASICS: 'web3-basics',
BUILD_ON_OPTIMISM: 'build-on-optimism',
HOW_TO_DAO: 'how-to-dao',
REGEN: 'regen',
SELF_ACTUALIZATION: 'self-actualization',
WELLBEING_SELF_IMPROVEMENT: 'wellbeing-self-improvement',
RANDOM: 'random',
Expand All @@ -70,6 +74,7 @@ export const QuestChainsPlaybooks = {
BUILDERS_PATH: 'builders-path',
BRIDGEBUILDERS_PATH: 'bridgebuilders-path',
DESIGNERS_PATH: 'designers-path',
BUILD_ON_OPTIMISM: 'building-on-optimism',
WTF_IS_ETHEREUM: 'wtf-is-ethereum',
WTF_ARE_DAOS: 'wtf-are-daos',
WTF_IS_DEFI: 'wtf-is-defi',
Expand Down Expand Up @@ -180,6 +185,13 @@ export const QuestChainsCategoriesDetails = {
'Here you will learn the basics of Web3 as well as how to get involved in building it.',
image: '',
},
[QuestChainsCategories.BUILD_ON_OPTIMISM]: {
name: QuestChainsCategories.BUILD_ON_OPTIMISM,
title: 'Building on Optimism',
description:
'Get started Building on Optimism.',
image: '',
},
[QuestChainsCategories.HOW_TO_DAO]: {
name: QuestChainsCategories.HOW_TO_DAO,
title: 'DAO Playbooks',
Expand All @@ -191,7 +203,7 @@ export const QuestChainsCategoriesDetails = {
name: QuestChainsCategories.SELF_ACTUALIZATION,
title: 'Self-actualization & Wellbeing',
description:
'Another one we are weak in; open to anything regarding personal wellbeing & self-improvement.',
'Open to anything regarding personal wellbeing & self-improvement.',
image: '',
},
[QuestChainsCategories.RANDOM]: {
Expand All @@ -201,6 +213,13 @@ export const QuestChainsCategoriesDetails = {
'Most effective tactics available for using different platforms & games of life.',
image: '',
},
[QuestChainsCategories.REGEN]: {
name: QuestChainsCategories.REGEN,
title: 'Regen & ReFi',
description:
'Coming Soon! Become a Regen, learn about ReFi',
image: '',
},
};

export const QuestChainPlaybooksDetails: QuestChainListing = {
Expand Down Expand Up @@ -287,6 +306,18 @@ export const QuestChainPlaybooksDetails: QuestChainListing = {
seedsEarned: 42069,
type: PathPlaybookTypes.PLAYBOOK,
},
// https://app.questchains.xyz/optimism/building-on-optimism
[QuestChainsPlaybooks.BUILD_ON_OPTIMISM]: {
address: '0xa3988cef200b3ae24b8e125ffba37872cc65ac7e',
chainId: '0xa',
title: "Building on Optimism",
description:
'A quick overview of Optimism. A playbook for Building on Optimism..',
image: buildingonoptimism.src,
category: QuestChainsCategories.BUILD_ON_OPTIMISM,
seedsEarned: 42069,
type: PathPlaybookTypes.PLAYBOOK,
},
// https://app.questchains.xyz/optimism/wtf-is-ethereum
[QuestChainsPlaybooks.WTF_IS_ETHEREUM]: {
address: '0x5aad789c5181fa3068518d59e60817ca3c3e7754',
Expand Down
Loading