update home page
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import { ArrowIcon } from "@/components/shared/icons/ArrowIcon";
|
||||
|
||||
type ButtonVariant = "solid" | "outline" | "gradient-border" | "gradient-fill" | "simple";
|
||||
type ButtonVariant =
|
||||
| "solid"
|
||||
| "outline"
|
||||
| "gradient-border"
|
||||
| "gradient-fill"
|
||||
| "simple";
|
||||
|
||||
interface AieroButtonProps {
|
||||
interface tenextButtonProps {
|
||||
href?: string;
|
||||
variant?: ButtonVariant;
|
||||
children: React.ReactNode;
|
||||
@@ -12,7 +17,7 @@ interface AieroButtonProps {
|
||||
onClick?: () => void;
|
||||
}
|
||||
|
||||
export function AieroButton({
|
||||
export function tenextButton({
|
||||
href = "#",
|
||||
variant = "solid",
|
||||
children,
|
||||
@@ -20,14 +25,14 @@ export function AieroButton({
|
||||
showArrow = true,
|
||||
target,
|
||||
onClick,
|
||||
}: AieroButtonProps) {
|
||||
const baseClasses = "aiero-button";
|
||||
}: tenextButtonProps) {
|
||||
const baseClasses = "tenext-button";
|
||||
|
||||
const variantClasses: Record<ButtonVariant, string> = {
|
||||
solid: "aiero-button-solid",
|
||||
outline: "aiero-button-solid",
|
||||
"gradient-border": "aiero-button-gradient-border",
|
||||
"gradient-fill": "aiero-button-gradient-fill",
|
||||
solid: "tenext-button-solid",
|
||||
outline: "tenext-button-solid",
|
||||
"gradient-border": "tenext-button-gradient-border",
|
||||
"gradient-fill": "tenext-button-gradient-fill",
|
||||
simple: "",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user