Skip to content

Commit

Permalink
Add mentor status to Challenges
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoisor committed Jan 26, 2025
1 parent 38aa43d commit 7d67881
Showing 5 changed files with 19 additions and 1 deletion.
Binary file added frontend/public/icons/duty-mentor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/src/assets/db.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions frontend/src/i18n/lang-en.json
Original file line number Diff line number Diff line change
@@ -264,6 +264,9 @@
"trusts": "Trusts",
"islandSanctuary": "Island Sanctuary",
"achievementFates": "Achievement FATEs",
"mentorStatus": "Mentor Status",
"mentorBattle": "Battle Mentor",
"mentorTrade": "Trade Mentor",
"blueMage": "Blue Mage",
"blueARR": "BLU Encounters (ARR)",
"blueHW": "BLU Encounters (HW)",
11 changes: 11 additions & 0 deletions frontend/src/views/Challenges.vue
Original file line number Diff line number Diff line change
@@ -74,6 +74,17 @@
</div>
</div>
<hr />
<div class="row">
<h2>{{ $t("challenges.mentorStatus") }}</h2>

<div class="col-12 col-lg-4">
<DutyList :title="$t('challenges.mentorBattle')" :duties="db.mentorBattle" type="mentor" />
</div>
<div class="col-12 col-lg-4">
<DutyList :title="$t('challenges.mentorTrade')" :duties="db.mentorTrade" type="mentor" />
</div>
</div>
<hr />
<div class="row">
<h2>{{ $t("challenges.blueMage") }}</h2>

4 changes: 4 additions & 0 deletions frontend/src/views/Profile.vue
Original file line number Diff line number Diff line change
@@ -351,6 +351,10 @@
<DutyProgress :title="$t('challenges.treasureHuntClears')" :duties="db.treasureHunts" type="treasure" />
<DutyProgress :title="$t('challenges.trusts')" :duties="db.trusts" type="leveling" />
<DutyProgress :title="$t('challenges.islandSanctuary')" :duties="db.islandSanctuary" type="island" />
<br />
<h2>{{ $t("challenges.mentorStatus") }}</h2>
<DutyProgress :title="$t('challenges.mentorBattle')" :duties="db.mentorBattle" type="mentor" />
<DutyProgress :title="$t('challenges.mentorTrade')" :duties="db.mentorTrade" type="mentor" />
</div>
</div>
</template>

0 comments on commit 7d67881

Please sign in to comment.