mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
refactor: change popovers in social to be semantically correct
This commit is contained in:
parent
21b3778f87
commit
10e181a89b
2 changed files with 19 additions and 9 deletions
|
@ -56,8 +56,13 @@
|
|||
<LinkedinLogo />
|
||||
</Button>
|
||||
<Popover.Root>
|
||||
<Popover.Trigger>
|
||||
<Button class="hover:scale-110 transition-transform" variant="ghost" size="icon">
|
||||
<Popover.Trigger asChild let:builder>
|
||||
<Button
|
||||
class="hover:scale-110 transition-transform"
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
builders={[builder]}
|
||||
>
|
||||
<DiscordLogo />
|
||||
</Button>
|
||||
</Popover.Trigger>
|
||||
|
@ -70,8 +75,13 @@
|
|||
</Popover.Content>
|
||||
</Popover.Root>
|
||||
<Popover.Root>
|
||||
<Popover.Trigger>
|
||||
<Button class="hover:scale-110 transition-transform" variant="ghost" size="icon">
|
||||
<Popover.Trigger asChild let:builder>
|
||||
<Button
|
||||
class="hover:scale-110 transition-transform"
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
builders={[builder]}
|
||||
>
|
||||
<EnvelopeClosed />
|
||||
</Button>
|
||||
</Popover.Trigger>
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
</Typewriter>
|
||||
<div class="text-2xl md:text-3xl font-medium mt-10 text-center">
|
||||
<Typewriter cursor mode="loop">
|
||||
<p>a student.</p>
|
||||
<p>a programmer.</p>
|
||||
<p>a math enthusiast.</p>
|
||||
<p>a musician.</p>
|
||||
<p>a hacker.</p>
|
||||
<h2>a student.</h2>
|
||||
<h2>a programmer.</h2>
|
||||
<h2>a math enthusiast.</h2>
|
||||
<h2>a musician.</h2>
|
||||
<h2>a hacker.</h2>
|
||||
</Typewriter>
|
||||
<br />
|
||||
<Typewriter mode="scramble" scrambleDuration={1000}>
|
||||
|
|
Loading…
Reference in a new issue