extra animation

This commit is contained in:
Satria 2024-11-03 16:13:17 +07:00
commit 3957d5fbce
2 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
* { @apply transition-all duration-500 ease-in-out; } * { @apply transition-all duration-300 ease-in-out; }
body { @apply bg-slate-950 text-gray-400 max-w-3xl mx-auto my-8 px-4; } body { @apply bg-slate-950 text-gray-400 max-w-3xl mx-auto my-8 px-4; }
h1 { @apply text-3xl md:text-4xl font-semibold my-4; } h1 { @apply text-3xl md:text-4xl font-semibold my-4; }
h2 { @apply text-2xl md:text-3xl font-bold my-4; } h2 { @apply text-2xl md:text-3xl font-bold my-4; }

View file

@ -10,11 +10,11 @@
<header> <header>
<div class="group border-2 border-slate-700 hover:border-slate-500 rounded-xl w-full h-32 overflow-hidden flex justify-center items-center shadow-lg"> <div class="group border-2 border-slate-700 hover:border-slate-500 rounded-xl w-full h-32 overflow-hidden flex justify-center items-center shadow-lg">
<span class="text-center text-5xl font-mono my-4 cursor-default -rotate-6 leading-10 text-slate-500 group-hover:text-slate-700"> <div class="text-center text-5xl font-mono my-4 cursor-default -rotate-6 leading-10 text-slate-500 group-hover:text-slate-700">
{randomStr(25)}<br>{randomStr(25)} <span>{randomStr(30)}<br>{randomStr(40)}</span>
{randomStr(20-data.name.length/2)}<a href={'https://github.com/'+data.github+'/5th-site'} target="_blank" class="group-hover:px-2 no-underline text-slate-300 group-hover:text-slate-100">{data.name.toUpperCase()}</a>{randomStr(20-data.name.length/2)} <span class="group-hover:py-4 block">{randomStr(20-data.name.length/2)}<a href={'https://github.com/'+data.github+'/5th-site'} target="_blank" class="group-hover:px-8 no-underline text-slate-300 group-hover:text-slate-100">{data.name.toUpperCase()}</a>{randomStr(20-data.name.length/2)}</span>
{randomStr(25)}<br>{randomStr(25)} <span>{randomStr(40)}<br>{randomStr(30)}</span>
</span> </div>
</div> </div>
<nav class="flex justify-center gap-4 text-lg max-w-full overflow-y-auto text-nowrap"> <nav class="flex justify-center gap-4 text-lg max-w-full overflow-y-auto text-nowrap">
<a href={'https://github.com/'+data.github} target="_blank">github</a> <a href={'https://github.com/'+data.github} target="_blank">github</a>