add animated hero text to index page (#13)

This commit is contained in:
Troy 2025-01-05 18:49:48 +00:00 committed by GitHub
parent fe60d3846f
commit 4079f9e872
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 141 additions and 87 deletions

14
src/components/Hero.astro Normal file
View file

@ -0,0 +1,14 @@
---
---
<section class="mb-32">
<h1
class="text-pretty font-['Outfit_Variable'] text-8xl font-bold md:text-9xl"
>
Digital designer based in the <span
class="animate-gradient-x bg-gradient-to-r from-indigo-500 from-10% via-sky-500 via-30% to-emerald-500 to-90% bg-clip-text font-['Playwrite_CA_Variable'] text-7xl font-light text-transparent md:text-8xl"
>United Kingdom</span
>.
</h1>
</section>