halsk / clubs-monorepo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

development

Install Dependencies:

yarn install

Start the app:

yarn dev

setup env file

example:

PUBLIC_SITE_NAME=My DAO
PUBLIC_SITE_URL=https://my-dao.example.com
PUBLIC_SITE_DESCRIPTION=My DAO is just started
PUBLIC_TWITTER_USER=@<TWITTER_USER_NAME>
PUBLIC_WEB3_PROVIDER_URL=https://arb-mainnet.g.alchemy.com/v2/wAcoCy...xYA3HJ
PUBLIC_PROPERTY_ADDRESS=0xfb049b86...f5dddbE77393

setup Quests data

edit to src/components/Quests/quests.json file.

List of Data with the following keys and values:

key type description
id string id is treated as the URL key for the quest details page
title string -
description string -
badgeImageSrc string -
listed boolean If false, the quest is not visible on the Quests list

for example:

[
  {
    "id": "quest_starter",
    "title": "Become the first 30 supporters",
    "description": "start description description",
    "badgeImageSrc": "https://cdn.yourdomain.com/assets/badge1.png",
    "listed": true
  },
  {
    "id": "quest_stake_100",
    "title": "Stake more than 100",
    "description": "more than 100 description description",
    "badgeImageSrc": "/assets/badge2.png",
    "listed": false
  }
]

About

License:MIT License


Languages

Language:Vue 53.7%Language:Astro 28.4%Language:TypeScript 14.5%Language:JavaScript 2.6%Language:Shell 0.5%Language:SCSS 0.3%