From a01fed00c98bcf868ed765c7194107e24627a17f Mon Sep 17 00:00:00 2001
From: marzban-dev
Date: Mon, 5 May 2025 21:04:47 +0330
Subject: [PATCH] Fix marquee bug
---
frontend/assets/css/tailwind.css | 8 --
frontend/components/global/Brands.vue | 121 ++++++++++++--------------
2 files changed, 54 insertions(+), 75 deletions(-)
diff --git a/frontend/assets/css/tailwind.css b/frontend/assets/css/tailwind.css
index f071dc5..5696404 100644
--- a/frontend/assets/css/tailwind.css
+++ b/frontend/assets/css/tailwind.css
@@ -131,8 +131,6 @@
--breakpoint-3xl: 1700px;
/* ANIMATIONS */
- --animate-marquee: marquee 20s linear infinite;
- --animate-marquee-reverse: marquee 20s linear infinite reverse;
--animate-fade-in: fadeIn 350ms ease-in-out;
--animate-slide-down: slideDown 300ms ease-out;
@@ -149,12 +147,6 @@
--animate-toast-in: toastSlideIn 600ms cubic-bezier(0.16, 1, 0.3, 1);
--animate-toast-out: toastSlideOut 200ms ease-out;
- @keyframes marquee {
- to {
- transform: translateX(50%);
- }
- }
-
@keyframes fadeIn {
from {
opacity: 0;
diff --git a/frontend/components/global/Brands.vue b/frontend/components/global/Brands.vue
index ca20a1c..d570827 100644
--- a/frontend/components/global/Brands.vue
+++ b/frontend/components/global/Brands.vue
@@ -9,6 +9,15 @@ type Props = {
const props = defineProps();
const {} = toRefs(props);
+
+const brands = ref([
+ "/img/brands/brand-1.png",
+ "/img/brands/brand-2.png",
+ "/img/brands/brand-3.png",
+ "/img/brands/brand-4.png",
+ "/img/brands/brand-5.png",
+ "/img/brands/brand-6.png",
+]);
@@ -20,86 +29,64 @@ const {} = toRefs(props);
متون بلکه روزنامه و مجله در ستون و سطرآنچنان که
-
-
+
-
-
+
+
+