diff --git a/src/components/about/project-1/index.tsx b/src/components/about/project-1/index.tsx
index 750a895..c74f30d 100644
--- a/src/components/about/project-1/index.tsx
+++ b/src/components/about/project-1/index.tsx
@@ -250,7 +250,7 @@ export default function Section1() {
)}
-
+
-
- Agriculture
- Energy
- Insurance
+
+ Agriculture
+ Energy
+ Insurance
{agricultureContent}
{energyContent}
diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx
index 7f9553f..7f63fe2 100644
--- a/src/components/ui/tabs.tsx
+++ b/src/components/ui/tabs.tsx
@@ -2,7 +2,7 @@
import * as React from "react";
import * as TabsPrimitive from "@radix-ui/react-tabs";
-
+import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/lib/utils";
const Tabs = TabsPrimitive.Root;
@@ -22,10 +22,26 @@ const TabsList = React.forwardRef<
));
TabsList.displayName = TabsPrimitive.List.displayName;
+const tabsTriggerVariants = cva(
+ "inline-flex items-center justify-center ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
+ {
+ variants: {
+ variant: {
+ default: "whitespace-nowrap py-1.5 pr-10 font-medium uppercase decoration-4 underline-offset-4 data-[state=active]:text-light-green data-[state=active]:underline xl:text-lg",
+ "about": "max-xl:w-[213px] mb-2 uppercase px-10 py-4 data-[state=active]:bg-green-900 justify-center items-center flex text-center text-green-900 data-[state=active]:text-white xl:text-lg xl:mr-6 font-medium border-2 border-green-900",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ },
+ },
+);
+
+
const TabsTrigger = React.forwardRef<
React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, onClick, ...props }, ref) => {
+ React.ComponentPropsWithoutRef & VariantProps
+>(({ className, onClick, variant, ...props }, ref) => {
const handleClick = (event: React.MouseEvent) => {
onClick?.(event);
};
@@ -34,8 +50,7 @@ const TabsTrigger = React.forwardRef<