style: reformat files
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
---
|
||||
interface Props {
|
||||
children?: any
|
||||
class?: string
|
||||
children?: any;
|
||||
class?: string;
|
||||
}
|
||||
|
||||
const { children, class: className } = Astro.props as Props
|
||||
const { children, class: className } = Astro.props as Props;
|
||||
---
|
||||
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class:list={[
|
||||
'stamp-overlay pointer-events-none select-none px-4 py-2 font-heading text-2xl sm:text-4xl',
|
||||
className,
|
||||
]}
|
||||
class:list={["stamp-overlay pointer-events-none select-none px-4 py-2 font-heading text-2xl sm:text-4xl", className]}
|
||||
>
|
||||
{children}
|
||||
</span>
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
---
|
||||
interface Props {
|
||||
class?: string
|
||||
class?: string;
|
||||
}
|
||||
|
||||
const { class: className } = Astro.props as Props
|
||||
const { class: className } = Astro.props as Props;
|
||||
---
|
||||
|
||||
<div
|
||||
aria-hidden="true"
|
||||
class:list={[
|
||||
'flex h-4 w-full items-center justify-between overflow-hidden px-2 opacity-60',
|
||||
className,
|
||||
]}
|
||||
class:list={["flex h-4 w-full items-center justify-between overflow-hidden px-2 opacity-60", className]}
|
||||
>
|
||||
{
|
||||
Array.from({ length: 60 }).map(() => (
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
---
|
||||
interface Props {
|
||||
children?: any
|
||||
class?: string
|
||||
skew?: boolean
|
||||
variant?: 'red' | 'ink'
|
||||
children?: any;
|
||||
class?: string;
|
||||
skew?: boolean;
|
||||
variant?: "red" | "ink";
|
||||
}
|
||||
|
||||
const { children, class: className, skew = true, variant = 'red' } = Astro.props as Props
|
||||
const { children, class: className, skew = true, variant = "red" } = Astro.props as Props;
|
||||
---
|
||||
|
||||
<span
|
||||
class:list={[
|
||||
'stamp px-2 py-1 text-[0.65rem] sm:text-xs',
|
||||
variant === 'ink' && 'stamp-ink',
|
||||
skew && 'stamp-skew',
|
||||
"stamp px-2 py-1 text-[0.65rem] sm:text-xs",
|
||||
variant === "ink" && "stamp-ink",
|
||||
skew && "stamp-skew",
|
||||
className,
|
||||
]}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user