diff --git a/apps/telegram-game/auto-imports.d.ts b/apps/telegram-game/auto-imports.d.ts
index cbe017f..42dcc68 100644
--- a/apps/telegram-game/auto-imports.d.ts
+++ b/apps/telegram-game/auto-imports.d.ts
@@ -62,6 +62,7 @@ declare global {
const unref: typeof import('vue')['unref']
const useAttrs: typeof import('vue')['useAttrs']
const useBackButton: typeof import('./src/composables/useBackButton')['useBackButton']
+ const useCharacters: typeof import('./src/composables/useCharacters')['useCharacters']
const useCssModule: typeof import('vue')['useCssModule']
const useCssVars: typeof import('vue')['useCssVars']
const useId: typeof import('vue')['useId']
diff --git a/apps/telegram-game/components.d.ts b/apps/telegram-game/components.d.ts
index dfb0235..6acec0c 100644
--- a/apps/telegram-game/components.d.ts
+++ b/apps/telegram-game/components.d.ts
@@ -7,6 +7,9 @@ export {}
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
+ ActiveCard: typeof import('./src/components/ActiveCard.vue')['default']
+ Button: typeof import('./src/components/Button.vue')['default']
+ CharacterActivationBlock: typeof import('./src/components/CharacterActivationBlock.vue')['default']
ComingSoon: typeof import('./src/components/ComingSoon.vue')['default']
Game: typeof import('./src/components/Game.vue')['default']
GameNavigator: typeof import('./src/components/GameNavigator.vue')['default']
@@ -15,5 +18,6 @@ declare module 'vue' {
PageContainer: typeof import('./src/components/PageContainer.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
+ SectionHeader: typeof import('./src/components/SectionHeader.vue')['default']
}
}
diff --git a/apps/telegram-game/public/coin-small.png b/apps/telegram-game/public/coin-small.png
new file mode 100644
index 0000000..ebfe627
Binary files /dev/null and b/apps/telegram-game/public/coin-small.png differ
diff --git a/apps/telegram-game/public/coin.png b/apps/telegram-game/public/coin.png
new file mode 100644
index 0000000..ef44ac0
Binary files /dev/null and b/apps/telegram-game/public/coin.png differ
diff --git a/apps/telegram-game/public/coupon-small.png b/apps/telegram-game/public/coupon-small.png
new file mode 100644
index 0000000..9028ecc
Binary files /dev/null and b/apps/telegram-game/public/coupon-small.png differ
diff --git a/apps/telegram-game/src/components/ActiveCard.vue b/apps/telegram-game/src/components/ActiveCard.vue
new file mode 100644
index 0000000..0674f5d
--- /dev/null
+++ b/apps/telegram-game/src/components/ActiveCard.vue
@@ -0,0 +1,15 @@
+
+
+
{{ profile?.energy }}
{{ Math.floor(playerX ? playerX / 50 : 0) }} м
diff --git a/apps/telegram-game/src/components/Modal.vue b/apps/telegram-game/src/components/Modal.vue
index 33dfb96..9fcee89 100644
--- a/apps/telegram-game/src/components/Modal.vue
+++ b/apps/telegram-game/src/components/Modal.vue
@@ -1,30 +1,27 @@
- {{ item.amount }}
-
+ {{ item.amount }}
+
- {{ title }}
-
-
+ {{ title }}
+
+ {{ text }}
+
+
+
+
diff --git a/apps/telegram-game/src/composables/useCharacters.ts b/apps/telegram-game/src/composables/useCharacters.ts
new file mode 100644
index 0000000..31c5d78
--- /dev/null
+++ b/apps/telegram-game/src/composables/useCharacters.ts
@@ -0,0 +1,8 @@
+import type { CharacterWithEditions } from '@chat-game/types'
+import { useFetch } from '@vueuse/core'
+
+const { data, execute: refreshCharacters } = useFetch('https://chatgame.space/api/character').get().json
- Активные комнаты
-
+