From 79f4745ab67928864b60b159aa08d43b19405a53 Mon Sep 17 00:00:00 2001 From: Nick Kosarev Date: Thu, 29 Aug 2024 14:48:00 +0200 Subject: [PATCH] chore: all forms reworked (#240) * chore: feed * chore: all forms reworked * chore: a href fixes --- apps/website/app/app.vue | 43 +++- apps/website/app/components/MainFeed.vue | 184 ++++++++++++++++++ apps/website/app/components/MainLogo.vue | 2 +- apps/website/app/components/MenuProfile.vue | 27 ++- .../app/components/TransactionBlock.vue | 74 +++++++ apps/website/app/pages/character/[id].vue | 92 ++++++--- apps/website/app/pages/character/index.vue | 24 ++- apps/website/app/pages/coupon/index.vue | 30 ++- apps/website/app/pages/index.vue | 37 ++-- apps/website/app/pages/p/[username].vue | 30 ++- apps/website/app/pages/quest/[id].vue | 9 +- apps/website/app/pages/trophy/[id].vue | 8 +- apps/website/app/pages/trophy/index.vue | 28 ++- apps/website/app/pages/trophy/new.vue | 6 +- .../api/character/[id]/activate/index.post.ts | 13 +- .../api/character/[id]/post/index.post.ts | 16 +- .../api/character/[id]/unlock/index.post.ts | 10 +- apps/website/server/api/coupon/index.post.ts | 15 +- .../website/server/api/post/[id]/like.post.ts | 13 +- .../server/api/transaction/index.get.ts | 9 +- apps/website/server/api/trophy/index.post.ts | 27 ++- 21 files changed, 554 insertions(+), 143 deletions(-) create mode 100644 apps/website/app/components/MainFeed.vue create mode 100644 apps/website/app/components/TransactionBlock.vue diff --git a/apps/website/app/app.vue b/apps/website/app/app.vue index df5a0e3a..5b88ab2d 100644 --- a/apps/website/app/app.vue +++ b/apps/website/app/app.vue @@ -1,10 +1,39 @@ - + + + diff --git a/apps/website/app/components/MainFeed.vue b/apps/website/app/components/MainFeed.vue new file mode 100644 index 00000000..6c6b7294 --- /dev/null +++ b/apps/website/app/components/MainFeed.vue @@ -0,0 +1,184 @@ + + + + + diff --git a/apps/website/app/components/MainLogo.vue b/apps/website/app/components/MainLogo.vue index 4e23c30e..bddb0e98 100644 --- a/apps/website/app/components/MainLogo.vue +++ b/apps/website/app/components/MainLogo.vue @@ -1,6 +1,6 @@