Skip to content

Commit 230ea2d

Browse files
committed
fix hero section
1 parent 371311e commit 230ea2d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/HeroSection.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
>
2323
<a
2424
href="https://rajayonin.github.io/creatorV"
25-
class="lg:w-3xs inline-flex items-center justify-center px-6 py-3 bg-green-700 text-white rounded-lg font-semibold hover:bg-green-600 hover:-translate-y-0.5 hover:shadow-xl transition-all"
25+
class="lg:w-3xs inline-flex items-center justify-center px-6 py-3 bg-green-700 text-white rounded-lg font-semibold hover:bg-green-600 hover:scale-101 hover:shadow-xl transition-all"
2626
>
2727
Try CREATOR
2828
</a>
@@ -31,7 +31,7 @@
3131
class="flex flex-col sm:flex-row gap-3 sm:gap-4 justify-center lg:justify-start"
3232
>
3333
<a
34-
class="lg:w-3xs inline-flex items-center justify-center px-6 py-3 bg-white text-blue-600 rounded-lg font-semibold hover:bg-blue-50 hover:-translate-y-0.5 hover:shadow-xl transition-all"
34+
class="lg:w-3xs inline-flex items-center justify-center px-6 py-3 bg-white text-blue-600 rounded-lg font-semibold hover:bg-blue-50 hover:scale-101 hover:shadow-xl transition-all"
3535
href="https://creatorsim-community.github.io/wiki"
3636
target="_blank"
3737
>
@@ -62,7 +62,7 @@
6262
</svg>
6363
</button>
6464

65-
<div class="overflow-hidden rounded-xl">
65+
<div class="overflow-hidden rounded-xl shadow-xl">
6666
<div
6767
class="carousel-track flex transition-transform duration-500 ease-out"
6868
:style="{ transform: `translateX(-${currentSlide * 100}%)` }"
@@ -73,7 +73,7 @@
7373
class="w-full flex-shrink-0"
7474
>
7575
<div
76-
class="rounded-xl overflow-hidden shadow-2xl bg-white/10 dark:bg-gray-800/30"
76+
class="bg-white/10 dark:bg-gray-800/30"
7777
>
7878
<img
7979
:src="slide.src"
@@ -82,12 +82,12 @@
8282
class="w-full h-auto block"
8383
/>
8484
</div>
85-
<h3 class="text-center text-lg font-semibold mt-4 text-white">
86-
{{ slide.title }}
87-
</h3>
8885
</div>
8986
</div>
9087
</div>
88+
<h3 class="text-center text-lg font-semibold mt-4 text-white">
89+
{{ slides[currentSlide].title }}
90+
</h3>
9191

9292
<button
9393
@click="nextSlide"

0 commit comments

Comments
 (0)