diff --git a/components/Grid.tsx b/components/Grid.tsx index 560e5bc..cd48041 100644 --- a/components/Grid.tsx +++ b/components/Grid.tsx @@ -5,7 +5,7 @@ import { gridItems } from "@/data"; const Grid = () => { return ( <> -
+
{gridItems.map( ({ diff --git a/components/MacBookScroll.tsx b/components/MacBookScroll.tsx new file mode 100644 index 0000000..30eebb5 --- /dev/null +++ b/components/MacBookScroll.tsx @@ -0,0 +1,19 @@ +import React from "react"; +import { MacbookScroll } from "./ui/macbook-scroll"; +import Link from "next/link"; + +export function MacbookScrollDemo() { + return ( +
+ + Learn more About me + + } + src={`/linear.webp`} + showGradient={false} + /> +
+ ); +} diff --git a/components/TabsDemo.tsx b/components/TabsDemo.tsx index e7e95f7..df81439 100644 --- a/components/TabsDemo.tsx +++ b/components/TabsDemo.tsx @@ -7,9 +7,15 @@ export function TabsDemo() { title: "About Me", value: "product", content: ( -
-

About Me

- myImg1 +
+

About Me

+ myImg1
), }, @@ -17,9 +23,18 @@ export function TabsDemo() { title: "Tech Stack", value: "teach stack", content: ( -
-

Tech Stack

- myImg2 +
+

Tech Stack

+ myImg2
), }, @@ -27,9 +42,18 @@ export function TabsDemo() { title: "GitHub Stats", value: "github stats", content: ( -
-

GitHub Stats

- myImg3 +
+

GitHub Stats

+ myImg3
), }, diff --git a/components/ui/tabs.tsx b/components/ui/tabs.tsx index e0e9d9e..fff7268 100644 --- a/components/ui/tabs.tsx +++ b/components/ui/tabs.tsx @@ -52,7 +52,7 @@ export const Tabs = ({ }} onMouseEnter={() => setHovering(true)} onMouseLeave={() => setHovering(false)} - className={cn("relative px-4 py-2 rounded-full", tabClassName)} + className={cn("relative px-4 py-3 rounded-full", tabClassName)} style={{ transformStyle: "preserve-3d", }} @@ -100,7 +100,7 @@ export const FadeInDiv = ({ return tab.value === tabs[0].value; }; return ( -
+
{tabs.map((tab, idx) => (