From 3d03a326fb3633a73110daad5500816bd184eab2 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 15 Jan 2025 12:50:15 +0300 Subject: [PATCH] feat: create slide of vote --- src/front/src/components/vote/VoteCard.vue | 13 +++++++++++-- src/front/src/views/VoteHomePage.vue | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/front/src/components/vote/VoteCard.vue b/src/front/src/components/vote/VoteCard.vue index 73776e499..4eb6caa83 100644 --- a/src/front/src/components/vote/VoteCard.vue +++ b/src/front/src/components/vote/VoteCard.vue @@ -5,7 +5,16 @@ mdi-pencil - + + + + + + + + {{ voteCard.description }} @@ -41,7 +50,7 @@ export default { id: 0, name: "Допустим, здесь могла быть ваша реклама", description: "Но таких денег у вас нет, чтобы получить ее на нашем прекрасном голосовании", - pictures: "https://cdn.vuetifyjs.com/images/parallax/material.jpg", + pictures: ["https://cdn.vuetifyjs.com/images/parallax/material.jpg", "https://cdn.vuetifyjs.com/images/carousel/squirrel.jpg"], dateend: new Date(new Date().getTime() + 600000), is_passed: true, } diff --git a/src/front/src/views/VoteHomePage.vue b/src/front/src/views/VoteHomePage.vue index 797439722..733750016 100644 --- a/src/front/src/views/VoteHomePage.vue +++ b/src/front/src/views/VoteHomePage.vue @@ -1,5 +1,5 @@