mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-27 17:41:21 +00:00
refactor: update mobile-nav, projects-item, timeline, and tools-item components
This commit is contained in:
parent
b13ece80d5
commit
998d788cef
4 changed files with 8 additions and 5 deletions
|
@ -23,6 +23,7 @@
|
|||
</Sheet.Trigger>
|
||||
<Sheet.Content side="right" class="pr-0">
|
||||
<MobileLink href="/" class="flex items-center" bind:open>
|
||||
<span class="sr-only">Return to home</span>
|
||||
<img src={Icons.logoIcon} class="mr-2 h-4 w-4" alt="icon of hellob.art" />
|
||||
<span class="font-mono font-bold tracking-tighter">{siteConfig.name}</span>
|
||||
</MobileLink>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<Card.Root class="hover:bg-muted/50">
|
||||
<Card.Header class="grid grid-cols-[1fr_110px] items-start gap-4 space-y-0">
|
||||
<div class="space-y-1">
|
||||
<Card.Title>{title}</Card.Title>
|
||||
<Card.Title tag="h2">{title}</Card.Title>
|
||||
<Card.Description>
|
||||
{description}
|
||||
</Card.Description>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<Card.Root>
|
||||
<Card.Header class="pb-3">
|
||||
<Card.Title>Timeline</Card.Title>
|
||||
<Card.Title tag="h2">Timeline</Card.Title>
|
||||
<Card.Description>
|
||||
A time-based overview showcasing when I embarked on projects, jobs, certifications, and
|
||||
various events.
|
||||
|
|
|
@ -8,10 +8,12 @@
|
|||
|
||||
<Card.Root class="mb-4 inline-block h-full w-full hover:bg-muted/50">
|
||||
<Card.Header class="flex flex-row items-center justify-between space-y-0 pb-1">
|
||||
<Card.Title>
|
||||
<h4 class="text-2xl font-bold">{name}</h4>
|
||||
<div>
|
||||
<Card.Title tag="h2" class="text-2xl font-bold">
|
||||
{name}
|
||||
</Card.Title>
|
||||
<span class="text-sm font-medium">{tagLine}</span>
|
||||
</Card.Title>
|
||||
</div>
|
||||
{#if enhanced}
|
||||
<enhanced:img
|
||||
src={logo}
|
||||
|
|
Loading…
Reference in a new issue