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 @@ + + + diff --git a/apps/telegram-game/src/components/Button.vue b/apps/telegram-game/src/components/Button.vue new file mode 100644 index 0000000..7094d67 --- /dev/null +++ b/apps/telegram-game/src/components/Button.vue @@ -0,0 +1,15 @@ + + + diff --git a/apps/telegram-game/src/components/CharacterActivationBlock.vue b/apps/telegram-game/src/components/CharacterActivationBlock.vue new file mode 100644 index 0000000..b9a3d71 --- /dev/null +++ b/apps/telegram-game/src/components/CharacterActivationBlock.vue @@ -0,0 +1,28 @@ + + + diff --git a/apps/telegram-game/src/components/Game.vue b/apps/telegram-game/src/components/Game.vue index 1dff86b..07c8e2a 100644 --- a/apps/telegram-game/src/components/Game.vue +++ b/apps/telegram-game/src/components/Game.vue @@ -7,9 +7,9 @@
-
+
avatar -

+

{{ profile?.energy }}

diff --git a/apps/telegram-game/src/components/GameNavigator.vue b/apps/telegram-game/src/components/GameNavigator.vue index f932aa0..5956c70 100644 --- a/apps/telegram-game/src/components/GameNavigator.vue +++ b/apps/telegram-game/src/components/GameNavigator.vue @@ -1,5 +1,5 @@