added gradient animation

This commit is contained in:
liyunze 2024-03-14 11:13:06 +08:00
parent 76aceeca1a
commit d2f12d9e0b
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "dev-portfolio", "name": "dev-portfolio",
"type": "module", "type": "module",
"version": "1.0.0", "version": "2.0.0",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",

View file

@ -106,7 +106,9 @@
/> />
</div> </div>
<div class="flex flex-col justify-center items-start ml-2"> <div class="flex flex-col justify-center items-start ml-2">
<div id="name" class="text-2xl font-bold">RythonDev</div> <div id="name" class="text-2xl font-bold animate-gradient">
RythonDev
</div>
<div class="text-xl w-full"> <div class="text-xl w-full">
{roleState}<span class="animate-pulse">|</span> {roleState}<span class="animate-pulse">|</span>
</div> </div>