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

fix: navigator icons #305

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/telegram-game/src/components/GameNavigator.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="relative mb-2 h-10 bg-red-950/15 text-white rounded-full">
<div v-if="wagonOnNavigator > 1 && wagonOnNavigator < 99" class="absolute transform -translate-x-1/2" :style="{ left: `${wagonOnNavigator}%` }">
<div class="-mt-1 p-1 bg-purple-300 rounded-lg">
<div v-if="wagonOnNavigator > 3 && wagonOnNavigator < 97" class="absolute transform -translate-x-1/2" :style="{ left: `${wagonOnNavigator}%` }">
<div class="p-1 bg-purple-300 rounded-xl">
<img src="/wheel-1.png" alt="" class="w-8 h-8">
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/telegram-game/src/views/InventoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ data?.username }}
</div>
<div class="tg-hint text-sm">
{{ data?.id }} / {{ profile?.id }}
{{ data?.id }}
</div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions apps/telegram-game/src/views/QuestView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

<div class="flex flex-col gap-2">
<div v-for="room in rooms" :key="room.id" class="tg-section-bg mb-4 px-3 py-3 flex flex-col gap-2 items-center rounded-2xl">
<div>
<div class="space-y-3">
<div class="text-xl font-medium">
{{ room.name }}
</div>
<div class="tg-hint text-sm">
{{ room.description }}
</div>

<button class="mt-4 p-3 tg-button w-full rounded-2xl" @click="connectToRoom(room.roomId)">
<Button @click="connectToRoom(room.roomId)">
Подключиться
</button>
</Button>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/telegram-game/src/views/ShopView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
</PageContainer>

<Modal :title="`&laquo;${selectedCharacter?.nickname}&raquo; ${selectedCharacter?.name}`" :is-opened="isCharacterOpened" @close="isCharacterOpened = false">
<img :src="`/units/${selectedCharacter?.codename}/idle.gif`" alt="" class="absolute -top-24 left-0 w-28 h-28">
<img :src="`/units/${selectedCharacter?.codename}/idle.gif`" alt="" class="absolute -top-30 left-0 w-34 h-34">

<p class="text-sm">
<p class="text-sm tg-hint">
{{ selectedCharacter?.description }}
</p>

Expand Down
Loading