Skip to content

Commit acf9c61

Browse files
authored
Merge pull request #6450 from RAJVEER42/ui-hover-enhancements
Enhance UI hover effects for navbar, footer links, and CTA button
2 parents 7f462e1 + 6bc1777 commit acf9c61

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

app/views/static/index.html.erb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141

4242
<div class="flex" id="myNavbar">
4343
<div class="flex text-white space-x-4 md:space-x-10 text-md lg:text-2xl items-center">
44-
<a class="hidden md:block" href="#about">About</a>
45-
<a class="hidden md:block" href="#testimonials">Testimonials</a>
46-
<a class="hidden md:block" href="#contact">Contact</a>
44+
<a class="hidden md:block hover:underline hover:decoration-blue-300 hover:opacity-90 focus:underline focus:decoration-blue-300" href="#about">About</a>
45+
<a class="hidden md:block hover:underline hover:decoration-blue-300 hover:opacity-90 focus:underline focus:decoration-blue-300" href="#testimonials">Testimonials</a>
46+
<a class="hidden md:block hover:underline hover:decoration-blue-300 hover:opacity-90 focus:underline focus:decoration-blue-300" href="#contact">Contact</a>
4747
<a href="<%= new_user_session_path %>">
4848
<button
4949
class="flex flex-row items-center w-full px-4 py-2 bg-green-800 hover:bg-green-700 rounded-2xl text-md">
@@ -78,8 +78,8 @@
7878
<h2 class="text-4xl text-gray-700">The Casa Volunteer Tracking app removes the <br> complexity from your day
7979
</h2>
8080
<p class="mt-1 text-gray-600">and lets you spend time helping those who need it.</p>
81-
<a href="mailto:casa@rubyforgood?Subject=CasaVolunteerTracking%20Interest"><button type="button"
82-
class="text-lg bg-green-800 text-white px-3 py-2 rounded-2xl mt-5">Get In Touch</button></a>
81+
<a href="mailto:casa@rubyforgood.org?Subject=CasaVolunteerTracking%20Interest"><button type="button"
82+
class="will-change-transform text-lg bg-green-800 text-white px-3 py-2 rounded-2xl mt-5 hover:bg-green-700 hover:-translate-y-0.5 hover:scale-x-110 transition-transform duration-200 ease-linear">Get In Touch</button></a>
8383
</div>
8484
</div>
8585

@@ -201,7 +201,7 @@
201201
<div class="text-center">
202202
<h2 class="text-4xl">Want to use the CASA Volunteer Tracking App?</h2>
203203
<br><br>
204-
<p>Have questions? Email us at <a class="text-green-400"
204+
<p>Have questions? Email us at <a class="text-green-400 hover:underline transition duration-100 hover:text-green-300"
205205
href="mailto:casa@rubyforgood.org?Subject=CASA%20Interest" target="_top">casa@rubyforgood.org</a></p>
206206
</div>
207207
</div>
@@ -217,9 +217,9 @@
217217
<div class="w-full sm:w-1/2">
218218
<strong class="text-gray-700">The CASA Volunteer Tracking app was lovingly built by:</strong>
219219
<br>
220-
<a class="text-blue-800" href="http://rubyforgood.org/">Ruby for Good</a>
220+
<a class="text-blue-800 hover:underline transition duration-100 " href="http://rubyforgood.org/">Ruby for Good</a>
221221
<br><br>
222-
<a class="text-gray-700" href="https://storyset.com/data">Data illustrations by Storyset</a>
222+
<a class="text-gray-700 hover:underline transition duration-100 " href="https://storyset.com/data">Data illustrations by Storyset</a>
223223
</div>
224224
</div>
225225
</div>

0 commit comments

Comments
 (0)