feat: landing & contact
This commit is contained in:
22
src/components/landing/ActionLink.astro
Normal file
22
src/components/landing/ActionLink.astro
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
import { buttonVariants } from "@/components/ui/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface Props {
|
||||
href: string;
|
||||
variant?: "default" | "outline" | "secondary" | "ghost";
|
||||
size?: "default" | "lg" | "sm";
|
||||
class?: string;
|
||||
}
|
||||
|
||||
const {
|
||||
href,
|
||||
variant = "default",
|
||||
size = "default",
|
||||
class: className,
|
||||
} = Astro.props;
|
||||
---
|
||||
|
||||
<a href={href} class={cn(buttonVariants({ variant, size }), className)}>
|
||||
<slot />
|
||||
</a>
|
||||
Reference in New Issue
Block a user