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 />
|
<LinkedinLogo />
|
||||||
</Button>
|
</Button>
|
||||||
<Popover.Root>
|
<Popover.Root>
|
||||||
<Popover.Trigger>
|
<Popover.Trigger asChild let:builder>
|
||||||
<Button class="hover:scale-110 transition-transform" variant="ghost" size="icon">
|
<Button
|
||||||
|
class="hover:scale-110 transition-transform"
|
||||||
|
variant="ghost"
|
||||||
|
size="icon"
|
||||||
|
builders={[builder]}
|
||||||
|
>
|
||||||
<DiscordLogo />
|
<DiscordLogo />
|
||||||
</Button>
|
</Button>
|
||||||
</Popover.Trigger>
|
</Popover.Trigger>
|
||||||
|
@ -70,8 +75,13 @@
|
||||||
</Popover.Content>
|
</Popover.Content>
|
||||||
</Popover.Root>
|
</Popover.Root>
|
||||||
<Popover.Root>
|
<Popover.Root>
|
||||||
<Popover.Trigger>
|
<Popover.Trigger asChild let:builder>
|
||||||
<Button class="hover:scale-110 transition-transform" variant="ghost" size="icon">
|
<Button
|
||||||
|
class="hover:scale-110 transition-transform"
|
||||||
|
variant="ghost"
|
||||||
|
size="icon"
|
||||||
|
builders={[builder]}
|
||||||
|
>
|
||||||
<EnvelopeClosed />
|
<EnvelopeClosed />
|
||||||
</Button>
|
</Button>
|
||||||
</Popover.Trigger>
|
</Popover.Trigger>
|
||||||
|
|
|
@ -22,11 +22,11 @@
|
||||||
</Typewriter>
|
</Typewriter>
|
||||||
<div class="text-2xl md:text-3xl font-medium mt-10 text-center">
|
<div class="text-2xl md:text-3xl font-medium mt-10 text-center">
|
||||||
<Typewriter cursor mode="loop">
|
<Typewriter cursor mode="loop">
|
||||||
<p>a student.</p>
|
<h2>a student.</h2>
|
||||||
<p>a programmer.</p>
|
<h2>a programmer.</h2>
|
||||||
<p>a math enthusiast.</p>
|
<h2>a math enthusiast.</h2>
|
||||||
<p>a musician.</p>
|
<h2>a musician.</h2>
|
||||||
<p>a hacker.</p>
|
<h2>a hacker.</h2>
|
||||||
</Typewriter>
|
</Typewriter>
|
||||||
<br />
|
<br />
|
||||||
<Typewriter mode="scramble" scrambleDuration={1000}>
|
<Typewriter mode="scramble" scrambleDuration={1000}>
|
||||||
|
|
Loading…
Reference in a new issue