Skip to content

Commit

Permalink
Vampire quest (#794)
Browse files Browse the repository at this point in the history
Resolves #790 

![Zrzut ekranu 2023-11-30 o 11 51
07](https://github.com/tahowallet/dapp/assets/73061939/7793353c-e663-4457-9382-a5a6b846cd21)
![Zrzut ekranu 2023-11-30 o 11 51
17](https://github.com/tahowallet/dapp/assets/73061939/075ca8a0-7287-414f-b423-01d9d3a8aa1e)

## What has been done:
- Added line to map between Base and Arbitrum realm
- Added vampire attack label to modal
- Updated `questline-data.json`: new quest added, removed `isNew` label
from previously added quests
- Removed "new realm" label from Base Realm

## Testing
- [x] Clear `localStorage`
- [x] Check if vampire attack border line is positioned correctly
- [x] Check if "new quest" start label is displayed in the Base realm
- [x] Open modal and open vampire quest accordion - check if the start
disappeared from map
  • Loading branch information
jagodarybacka authored Nov 30, 2023
2 parents f3e7f1f + 10b65bb commit 54332d3
Show file tree
Hide file tree
Showing 10 changed files with 174 additions and 17 deletions.
25 changes: 13 additions & 12 deletions src/assets/questline-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
{
"id": "4_2",
"name": "Increase your Gitcoin Passport score",
"description": "The more you increase your Gitcoin Passport score in a week, the more of the weekly XP drop you will get.",
"isNew": true
"description": "The more you increase your Gitcoin Passport score in a week, the more of the weekly XP drop you will get."
}
]
},
Expand All @@ -31,14 +30,12 @@
{
"id": "7_2",
"name": "Mint W3ST",
"description": "The more W3ST you mint, the more of the weekly XP drop you will get.",
"isNew": true
"description": "The more W3ST you mint, the more of the weekly XP drop you will get."
},
{
"id": "7_3",
"name": "Collect post essence",
"description": "The more post essence you collect, the more of the weekly XP drop you will get.",
"isNew": true
"description": "The more post essence you collect, the more of the weekly XP drop you will get."
}
]
},
Expand All @@ -51,6 +48,13 @@
"id": "8_1",
"name": "Interact with unique contracts on Base",
"description": "The more interactions you execute with different unique contracts on Base compared to other members of this realm in a week, the more of the weekly XP drop you will get."
},
{
"id": "8_2",
"name": "Vampire Attack: Bridge funds from Arbitrum",
"description": "Bridge ETH or USDC from Arbitrum to Base using Hop Exchange",
"isNew": true,
"isAttack": true
}
]
},
Expand All @@ -67,8 +71,7 @@
{
"id": "9_2",
"name": "Earn fUSDC rewards using Fluidity",
"description": "The more fUSDC rewards you earn using Fluidity in a week, the more of the weekly XP drop you will get.",
"isNew": true
"description": "The more fUSDC rewards you earn using Fluidity in a week, the more of the weekly XP drop you will get."
}
]
},
Expand All @@ -85,8 +88,7 @@
{
"id": "19_2",
"name": "Claim NFTs during the week using the Galxe space station",
"description": "The more NFTs you claim via a Galxe [`SpaceStation` contract](https://docs.galxe.com/developer/smart-contract/contracts/spacestation/), the more of the weekly XP drop you will get.",
"isNew": true
"description": "The more NFTs you claim via a Galxe [`SpaceStation` contract](https://docs.galxe.com/developer/smart-contract/contracts/spacestation/), the more of the weekly XP drop you will get."
}
]
},
Expand All @@ -103,8 +105,7 @@
{
"id": "22_2",
"name": "Bridge tokens using FraxFerry",
"description": "The more unique tokens you bridge over FraxFerry, the more of the weekly XP drop you will get.",
"isNew": true
"description": "The more unique tokens you bridge over FraxFerry, the more of the weekly XP drop you will get."
}
]
}
Expand Down
74 changes: 74 additions & 0 deletions src/shared/assets/attack-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 54332d3

Please sign in to comment.