-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
92 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<a class="font-medium underline underline-offset-4" {...props}><slot /></a> | ||
<a class={cn('font-medium underline underline-offset-4', className)} {...props}><slot /></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<blockquote class={cn('mt-6 border-l-2 pl-6 italic', className)} {...props}> | ||
<slot /> | ||
</blockquote> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<h1 class="font-heading mt-2 scroll-m-20 text-4xl font-bold" {...props}> | ||
<h1 class={cn('font-heading mt-2 scroll-m-20 text-4xl font-bold', className)} {...props}> | ||
<slot /> | ||
</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<h2 | ||
class="font-heading mt-12 scroll-m-20 border-b pb-2 text-2xl font-semibold tracking-tight first:mt-0" | ||
{...props} | ||
> | ||
<h2 class={cn('font-heading mt-12 scroll-m-20 border-b pb-2 text-2xl font-semibold tracking-tight first:mt-0', className)} {...props}> | ||
<slot /> | ||
</h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<h3 | ||
class="font-heading mt-8 scroll-m-20 text-xl font-semibold tracking-tight" | ||
{...props} | ||
> | ||
<h3 class={cn('font-heading mt-8 scroll-m-20 text-xl font-semibold tracking-tight', className)} {...props}> | ||
<slot /> | ||
</h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<h4 | ||
class="font-heading mt-8 scroll-m-20 text-xl font-semibold tracking-tight" | ||
{...props} | ||
> | ||
<h4 class={cn('font-heading mt-8 scroll-m-20 text-lg font-semibold tracking-tight', className)} {...props}> | ||
<slot /> | ||
</h4> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<h5 | ||
class="font-heading mt-8 scroll-m-20 text-xl font-semibold tracking-tight" | ||
{...props} | ||
> | ||
<h5 class={cn('mt-8 scroll-m-20 text-lg font-semibold tracking-tight', className)} {...props}> | ||
<slot /> | ||
</h5> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<h6 | ||
class="font-heading mt-8 scroll-m-20 text-xl font-semibold tracking-tight" | ||
{...props} | ||
> | ||
<h6 class={cn('mt-8 scroll-m-20 text-base font-semibold tracking-tight', className)} {...props}> | ||
<slot /> | ||
</h6> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
const props = Astro.props | ||
--- | ||
|
||
<hr class="my-4 md:my-8" {...props} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
import { cn } from '@/lib/utils' | ||
const { class: className, alt, ...props } = Astro.props | ||
--- | ||
|
||
<img class={cn('rounded-md', className)} alt={alt} {...props} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<li class="mt-2" {...props}> | ||
<li class={cn('mt-2', className)} {...props}> | ||
<slot /> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<a | ||
class="flex w-full flex-col items-center rounded-xl border bg-card p-6 text-card-foreground shadow transition-colors hover:bg-muted/50 sm:p-10" | ||
{...props} | ||
> | ||
<a class={cn('flex w-full flex-col items-center rounded-xl border bg-card p-6 text-card-foreground shadow transition-colors hover:bg-muted/50 sm:p-10', className)} {...props}> | ||
<slot /> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<ol class="my-6 ml-6 list-decimal" {...props}> | ||
<ol class={cn('my-6 ml-6 list-decimal', className)} {...props}> | ||
<slot /> | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<p class="break-words leading-7 [&:not(:first-child)]:mt-6" {...props}> | ||
<p class={cn('leading-7 [&:not(:first-child)]:mt-6', className)} {...props}> | ||
<slot /> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
--- | ||
const props = Astro.props; | ||
import { cn } from '@/lib/utils' | ||
const { class: className, ...props } = Astro.props | ||
--- | ||
|
||
<ul class="my-6 ml-6 list-disc" {...props}> | ||
<ul class={cn('my-6 ml-6 list-disc', className)} {...props}> | ||
<slot /> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters