mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
Green button for unlocked and completed quest
This commit is contained in:
1 parent
ac89d521fc
commit
334b34ef65
1 file changed
+1
-4
@@ -44,12 +44,9 @@ const handleQuests = (id: string) => {
|
||||
}
|
||||
}
|
||||
const handleColour = () => {
|
||||
if (questCompleted) {
|
||||
if (questUnlocked) {
|
||||
questColor.value = '#00ff00'
|
||||
questTextColor.value = '#000000'
|
||||
} else if (questUnlocked) {
|
||||
questColor.value = '#8c8c92'
|
||||
questTextColor.value = '#ffffff'
|
||||
} else {
|
||||
questColor.value = '#505050'
|
||||
questTextColor.value = '#a0a0a0'
|
||||
|
||||
Reference in new issue
Block a user