new hero effect & mobile responsive

This commit is contained in:
pablo committed 2024-12-02 11:38:16 +01:00
1 parent 1b973ef171
commit 6187a3ad93
19 files changed
+622 -274

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

+25 -1
View File
@@ -1,5 +1,10 @@
import { TechIcon } from "./components/setions/tech";
export type SocialIcon = "github" | "discord";
type AppConfig = {
navigator: { label: string; path: string }[];
socials: { name: string; icon: SocialIcon; link: string }[];
};
export const appConfig: AppConfig = {
@@ -10,13 +15,32 @@ export const appConfig: AppConfig = {
},
{
label: "Projects",
path: "/#projects",
path: "/projects",
},
{
label: "Contact",
path: "/contact/#",
},
],
socials: [
{
name: "discord",
icon: "discord",
link: "https://discord.com",
},
{
name: "github",
icon: "github",
link: "https://github.com",
},
{
name: "github",
icon: "github",
link: "https://github.com",
},
],
};
export const appNavigator = appConfig.navigator;
export const socials = appConfig.socials;
+2 -15
View File
@@ -1,21 +1,8 @@
import MeCard from "@/components/me-card";
import Contact from "@/components/setions/contact";
import React from "react";
import Contact from "@/components/setions/contact";
function ContactPage() {
return (
<div className="flex gap-12 lg:gap-20 container ">
<MeCard
className="sticky top-20"
button={{
label: "Email Me",
link: `mailto:${process.env.NEXT_PUBLIC_EMAIL}`,
}}
/>
<Contact />
</div>
);
return <Contact />;
}
export default ContactPage;
+3
View File
@@ -1,5 +1,6 @@
import React from "react";
import Navbar from "@/components/navbar";
import Footer from "@/components/footer";
function Layout({ children }: { children: JSX.Element }) {
return (
@@ -10,6 +11,8 @@ function Layout({ children }: { children: JSX.Element }) {
{/* <div className="absolute w-1 h-screen top-0 left-1/2 -translate-x-1/2 transform bg-foreground" /> */}
</main>
<Footer />
</div>
);
}
+8 -2
View File
@@ -1,11 +1,17 @@
import { Hero, Projects } from "@/components/setions";
import { Hero, Projects, Tech } from "@/components/setions";
import Contact from "@/components/setions/contact";
export default function Home() {
return (
<>
<div className="pt-12 lg:pt-40">
<Hero />
<div className="w-full mt-64">
</div>
<div className="w-full mt-20 lg:mt-44 space-y-12">
<Tech />
<Projects />
<Contact withoutMeCard />
</div>
</>
);
+14
View File
@@ -0,0 +1,14 @@
import { Projects } from "@/components/setions";
import Contact from "@/components/setions/contact";
import React from "react";
function ProjectsPage() {
return (
<>
<Projects />
<Contact withoutMeCard />
</>
);
}
export default ProjectsPage;
+12 -11
View File
@@ -65,13 +65,6 @@ body {
}
@layer base {
* {
@apply border-border;
}
body {
@apply dark bg-background text-foreground;
}
@font-face {
font-family: "Poppins";
src: url("./fonts/Poppins-Regular.ttf") format("truetype");
@@ -85,6 +78,18 @@ body {
font-weight: 700;
font-style: normal;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply dark bg-background text-foreground;
}
html {
scroll-behavior: smooth;
}
.halftone {
--dotSize: 0.25rem;
@@ -122,7 +127,3 @@ body {
);
}
}
html {
scroll-behavior: smooth;
}
+132
View File
@@ -0,0 +1,132 @@
"use client";
import React from "react";
import Heading from "./heading";
import { z } from "zod";
import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { Button } from "@/ui/button";
import { Textarea } from "@/ui/textarea";
import {
Form,
FormControl,
FormField,
FormItem,
FormLabel,
FormMessage,
} from "@/ui/form";
import { Input } from "@/ui/input";
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/components/ui/select";
import { cn } from "@/lib/utils";
const formSchema = z.object({
name: z.string().min(2).max(50),
email: z.string().email(),
budget: z.string(),
message: z.string().max(500),
});
function ContactForm() {
// 1. Define your form.
const form = useForm<z.infer<typeof formSchema>>({
resolver: zodResolver(formSchema),
});
// 2. Define a submit handler.
function onSubmit(values: z.infer<typeof formSchema>) {
// Do something with the form values.
// ✅ This will be type-safe and validated.
console.log(values);
}
return (
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-8">
<div className="flex gap-4 w-full">
<FormField
control={form.control}
name="name"
render={({ field }) => (
<FormItem className="w-full ">
<FormLabel>Name</FormLabel>
<FormControl>
<Input placeholder="John Doe" {...field} />
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<FormField
control={form.control}
name="email"
render={({ field }) => (
<FormItem className="w-full">
<FormLabel>Email</FormLabel>
<FormControl>
<Input placeholder="email@example.com" {...field} />
</FormControl>
<FormMessage />
</FormItem>
)}
/>
</div>
<FormField
control={form.control}
name="budget"
render={({ field }) => (
<FormItem>
<FormLabel>Budget</FormLabel>
<FormControl>
<Select
onValueChange={field.onChange}
defaultValue={field.value}
>
<SelectTrigger
className={cn(
"w-full",
field.value?.length
? "text-foreground"
: "text-muted-foreground"
)}
>
<SelectValue placeholder="Select your Budget" />
</SelectTrigger>
<SelectContent>
<SelectItem value="< €2k">{"less then $2k"}</SelectItem>
<SelectItem value="> €4k">{"more then $4k"}</SelectItem>
<SelectItem value="> €6k">{"more then $6k"}</SelectItem>
</SelectContent>
</Select>
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<FormField
control={form.control}
name="message"
render={({ field }) => (
<FormItem>
<FormLabel>Message</FormLabel>
<FormControl>
<Textarea rows={4} placeholder="Message..." {...field} />
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<Button type="submit" className="w-full">
Submit
</Button>
</form>
</Form>
);
}
export default ContactForm;
+32
View File
@@ -0,0 +1,32 @@
import Link from "next/link";
import React from "react";
import { Button } from "./ui/button";
function Footer() {
return (
<footer className="container p-4 flex flex-col md:flex-row items-center justify-between mt-12">
<span className="text-sm">
Copyright © {new Date().getFullYear()}. All rights reserved.
</span>
<menu className="flex items-center gap-4">
<Button
asChild
variant={"link"}
className="text-muted-foreground text-xs hover:text-foreground px-0 w-max"
>
<Link href={"/imprint"}>Imprint</Link>
</Button>
<Button
asChild
variant={"link"}
className="text-muted-foreground text-xs hover:text-foreground px-0 w-max"
>
<Link href={"/privacy"}>Privacy</Link>
</Button>
</menu>
</footer>
);
}
export default Footer;
+16 -2
View File
@@ -1,8 +1,22 @@
import { cn } from "@/lib/utils";
import React from "react";
function Heading({ title, subTitle }: { title: string; subTitle?: string }) {
function Heading({
title,
subTitle,
className,
}: {
title: string;
subTitle?: string;
className?: string;
}) {
return (
<h2 className="text-8xl pb-4 font-black order-last sticky top-0 z-50 bg-background">
<h2
className={cn(
"text-5xl lg:text-8xl text-center md:text-left pb-4 font-black bg-background",
className
)}
>
<span className="text-muted-foreground">{subTitle}</span>
<br />
{title}
+48 -9
View File
@@ -3,6 +3,36 @@ import { Button } from "./ui/button";
import Image from "next/image";
import { cn } from "@/lib/utils";
import Link from "next/link";
import { SocialIcon, socials } from "@/app.config";
const icons = {
github: (props: any) => (
<svg
{...props}
viewBox="0 0 220 220"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M110 18.3333C97.9621 18.3333 86.0421 20.7043 74.9206 25.311C63.7991 29.9176 53.6938 36.6698 45.1818 45.1818C27.991 62.3726 18.3333 85.6884 18.3333 110C18.3333 150.517 44.6416 184.892 81.0332 197.083C85.6166 197.817 87.0832 194.975 87.0832 192.5V177.008C61.6916 182.508 56.2832 164.725 56.2832 164.725C52.0666 154.092 46.1083 151.25 46.1083 151.25C37.7666 145.567 46.7499 145.75 46.7499 145.75C55.9166 146.392 60.7749 155.192 60.7749 155.192C68.7499 169.125 82.2249 165 87.4499 162.8C88.2749 156.842 90.6582 152.808 93.2249 150.517C72.8749 148.225 51.5166 140.342 51.5166 105.417C51.5166 95.2416 54.9999 87.0832 60.9582 80.5749C60.0416 78.2832 56.8332 68.7499 61.8749 56.3749C61.8749 56.3749 69.5749 53.8999 87.0832 65.7249C94.3249 63.7082 102.208 62.6999 110 62.6999C117.792 62.6999 125.675 63.7082 132.917 65.7249C150.425 53.8999 158.125 56.3749 158.125 56.3749C163.167 68.7499 159.958 78.2832 159.042 80.5749C165 87.0832 168.483 95.2416 168.483 105.417C168.483 140.433 147.033 148.133 126.592 150.425C129.892 153.267 132.917 158.858 132.917 167.383V192.5C132.917 194.975 134.383 197.908 139.058 197.083C175.45 184.8 201.667 150.517 201.667 110C201.667 97.9621 199.296 86.0421 194.689 74.9206C190.082 63.7991 183.33 53.6938 174.818 45.1818C166.306 36.6698 156.201 29.9176 145.079 25.311C133.958 20.7043 122.038 18.3333 110 18.3333Z"
fill="currentColor"
/>
</svg>
),
discord: (props: any) => (
<svg
{...props}
viewBox="0 0 220 220"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M176.642 48.8584C164.45 43.1751 151.25 39.0501 137.5 36.6667C137.258 36.6702 137.028 36.769 136.858 36.9417C135.208 39.9667 133.283 43.9084 132 46.9334C117.416 44.7348 102.584 44.7348 88 46.9334C86.7167 43.8167 84.7917 39.9667 83.05 36.9417C82.9584 36.7584 82.6834 36.6667 82.4084 36.6667C68.6584 39.0501 55.55 43.1751 43.2667 48.8584C43.175 48.8584 43.0834 48.9501 42.9917 49.0417C18.0584 86.3501 11.1833 122.65 14.575 158.583C14.575 158.767 14.6667 158.95 14.85 159.042C31.35 171.142 47.2084 178.475 62.8834 183.333C63.1584 183.425 63.4334 183.333 63.525 183.15C67.1917 178.108 70.4917 172.792 73.3334 167.2C73.5167 166.833 73.3334 166.467 72.9667 166.375C67.7417 164.358 62.7917 161.975 57.9334 159.225C57.5667 159.042 57.5667 158.492 57.8417 158.217C58.85 157.483 59.8584 156.658 60.8667 155.925C61.05 155.742 61.325 155.742 61.5084 155.833C93.0417 170.225 127.05 170.225 158.217 155.833C158.4 155.742 158.675 155.742 158.858 155.925C159.867 156.75 160.875 157.483 161.883 158.308C162.25 158.583 162.25 159.133 161.792 159.317C157.025 162.158 151.983 164.45 146.758 166.467C146.392 166.558 146.3 167.017 146.392 167.292C149.325 172.883 152.625 178.2 156.2 183.242C156.475 183.333 156.75 183.425 157.025 183.333C172.792 178.475 188.65 171.142 205.15 159.042C205.333 158.95 205.425 158.767 205.425 158.583C209.458 117.058 198.733 81.0334 177.008 49.0417C176.917 48.9501 176.825 48.8584 176.642 48.8584ZM78.1 136.675C68.6584 136.675 60.775 127.967 60.775 117.242C60.775 106.517 68.475 97.8084 78.1 97.8084C87.8167 97.8084 95.5167 106.608 95.425 117.242C95.425 127.967 87.725 136.675 78.1 136.675ZM141.992 136.675C132.55 136.675 124.667 127.967 124.667 117.242C124.667 106.517 132.367 97.8084 141.992 97.8084C151.708 97.8084 159.408 106.608 159.317 117.242C159.317 127.967 151.708 136.675 141.992 136.675Z"
fill="currentColor"
/>
</svg>
),
};
function MeCard({
className,
@@ -22,12 +52,7 @@ function MeCard({
>
<div className="space-y-4">
<div className="h-64 w-3/4 mx-auto relative rounded-xl overflow-hidden z-10">
<Image
src="/me.jpg"
alt="me"
fill
className="object-cover scale-105 transition-all duration-300 group-hover:scale-100"
/>
<Image src="/me.jpg" alt="me" fill className="object-cover " />
</div>
<div className="text-center flex flex-col items-center">
@@ -35,13 +60,27 @@ function MeCard({
<span className="text-emerald-500 text-sm -translate-y-px">
Available for work
</span>
<Button className="mt-4" asChild>
{/* <Button className="mt-4" asChild>
<Link href={button.link}>{button.label}</Link>
</Button>
</Button> */}
<menu className="w-full flex justify-center items-center gap-2 pt-4">
{socials.map((s, idx) => {
const Icon = icons[s.icon];
return (
<li key={idx}>
<Link href={s.link} target="_blank">
<div className="p-2 rounded-full bg-background flex items-center justify-center hover:scale-105 transition-all duration-150">
{<Icon className="size-6" />}
</div>
</Link>
</li>
);
})}
</menu>
</div>
</div>
<p className="text-center text-muted-foreground text-lg font-bold">
<p className="text-center text-muted-foreground text-sm md:text-lg font-bold">
A Software Engineer who has developed countless innovative solutions.
</p>
+40 -5
View File
@@ -1,24 +1,59 @@
"use client";
import React from "react";
import { Button } from "@/ui/button";
import Link from "next/link";
import NavigationBreadcrumbs from "./navigation-breadcrumbs";
import { usePathname } from "next/navigation";
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbSeparator,
} from "@/components/ui/breadcrumb";
import { appNavigator } from "@/app.config";
import { cn } from "@/lib/utils";
function Navbar() {
const pathname = usePathname();
const isActive = (path: string) => pathname === path.replace(/\/#/g, "");
return (
<nav className="container py-4 flex justify-between items-center ">
<nav className="container p-4 flex justify-between items-center ">
<div className="flex items-center gap-4">
<Link
className="text-sm"
className="text-sm hidden md:block"
href={`mailto:${process.env.NEXT_PUBLIC_EMAIL}`}
>
{process.env.NEXT_PUBLIC_EMAIL}
</Link>
<Button asChild size={"sm"}>
{!isActive("/contact") && (
<Button asChild size={"sm"} className="hidden md:flex">
<Link href={"/contact"}>Work with me</Link>
</Button>
)}
</div>
<NavigationBreadcrumbs />
<Breadcrumb>
<BreadcrumbList>
{appNavigator.map(({ label, path }, idx) => (
<div key={path} className="flex items-center gap-2">
<BreadcrumbItem>
<BreadcrumbLink
className={cn(isActive(path) && "text-foreground")}
href={path}
>
{label}
</BreadcrumbLink>
</BreadcrumbItem>
{idx + 1 < appNavigator.length && (
<BreadcrumbSeparator>
<span>/</span>
</BreadcrumbSeparator>
)}
</div>
))}
</BreadcrumbList>
</Breadcrumb>
</nav>
);
}
-44
View File
@@ -1,44 +0,0 @@
"use client";
import { usePathname } from "next/navigation";
import React from "react";
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbSeparator,
} from "@/components/ui/breadcrumb";
import { appNavigator } from "@/app.config";
import { cn } from "@/lib/utils";
function NavigationBreadcrumbs() {
const pathname = usePathname();
return (
<Breadcrumb>
<BreadcrumbList>
{appNavigator.map(({ label, path }, idx) => (
<div key={path} className="flex items-center gap-2">
<BreadcrumbItem>
<BreadcrumbLink
className={cn(
pathname === path.replace(/\/#/g, "") && "text-foreground"
)}
href={path}
>
{" "}
{label}
</BreadcrumbLink>
</BreadcrumbItem>
{idx + 1 < appNavigator.length && (
<BreadcrumbSeparator>
<span>/</span>
</BreadcrumbSeparator>
)}
</div>
))}
</BreadcrumbList>
</Breadcrumb>
);
}
export default NavigationBreadcrumbs;
+15 -118
View File
@@ -1,127 +1,24 @@
"use client";
import React from "react";
import MeCard from "../me-card";
import Heading from "../heading";
import { z } from "zod";
import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { Button } from "@/ui/button";
import { Textarea } from "@/ui/textarea";
import {
Form,
FormControl,
FormField,
FormItem,
FormLabel,
FormMessage,
} from "@/ui/form";
import { Input } from "@/ui/input";
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/components/ui/select";
const formSchema = z.object({
name: z.string().min(2).max(50),
email: z.string().email(),
budget: z.string(),
message: z.string().max(500),
});
function Contact() {
// 1. Define your form.
const form = useForm<z.infer<typeof formSchema>>({
resolver: zodResolver(formSchema),
});
// 2. Define a submit handler.
function onSubmit(values: z.infer<typeof formSchema>) {
// Do something with the form values.
// ✅ This will be type-safe and validated.
console.log(values);
}
import ContactForm from "../contact-form";
function Contact({ withoutMeCard }: { withoutMeCard?: boolean }) {
return (
<div className="w-full">
<div className="flex flex-col lg:flex-row gap-12 lg:gap-20 container ">
{!withoutMeCard && (
<MeCard
className="sticky top-20"
button={{
label: "Email Me",
link: `mailto:${process.env.NEXT_PUBLIC_EMAIL}`,
}}
/>
)}
<div className="w-full space-y-4 p-4">
<Heading subTitle="Let's Work" title="Together" />
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-8">
<div className="flex gap-4 w-full">
<FormField
control={form.control}
name="name"
render={({ field }) => (
<FormItem className="w-full ">
<FormLabel>Name</FormLabel>
<FormControl>
<Input placeholder="John Doe" {...field} />
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<FormField
control={form.control}
name="email"
render={({ field }) => (
<FormItem className="w-full">
<FormLabel>Email</FormLabel>
<FormControl>
<Input placeholder="email@example.com" {...field} />
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<ContactForm />
</div>
<FormField
control={form.control}
name="budget"
render={({ field }) => (
<FormItem>
<FormLabel>Budget</FormLabel>
<FormControl>
<Select
onValueChange={field.onChange}
defaultValue={field.value}
>
<SelectTrigger className="w-full">
<SelectValue
className="placeholder:text-muted-foreground"
placeholder="Select your Budget"
/>
</SelectTrigger>
<SelectContent>
<SelectItem value="light">{"< €2k"}</SelectItem>
<SelectItem value="dark">Dark</SelectItem>
<SelectItem value="system">System</SelectItem>
</SelectContent>
</Select>
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<FormField
control={form.control}
name="message"
render={({ field }) => (
<FormItem>
<FormLabel>Message</FormLabel>
<FormControl>
<Textarea rows={4} placeholder="Message..." {...field} />
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<Button type="submit" className="w-full">
Submit
</Button>
</form>
</Form>
</div>
);
}
-7
View File
@@ -1,7 +0,0 @@
import React from "react";
function CV() {
return <div>CV</div>;
}
export default CV;
+21 -49
View File
@@ -8,79 +8,51 @@ function Hero() {
const [hovered, setHovered] = React.useState("");
const textHover =
"hover:text-primary hover:scale-105 transition-all duration-150";
"hover:text-primary hover:scale-105 transition-all duration-300";
return (
<div className="text-7xl rounded-md group font-bold max-w-xl mx-auto text-center flex flex-col relative cursor-default translate-x-16">
<>
<div className="text-5xl lg:text-7xl rounded-md group font-bold max-w-xs lg:max-w-md mx-auto text-right flex flex-col relative cursor-default ">
<span
className={cn(textHover)}
className={cn(
`absolute left-4 lg:left-0 bottom-full z-50 ${textHover}`,
hovered === "text-2" && "text-background blur-sm"
)}
onMouseEnter={() => setHovered("text-1")}
onMouseLeave={() => setHovered("")}
>
Creative
Timeless
</span>
<div className="flex gap-4 justify-center items-center">
<div className="flex gap-4 justify-end items-center pr-4 lg:pr-0">
<div
className={
"relative size-20 overflow-hidden rounded-full transition-all duration-150"
}
className={cn(
`size-12 rounded-full bg-background origin-right
relative overflow-hidden transition-all duration-300 opacity-0 `,
hovered === "text-2" && "scale-[300%] bg-primary opacity-100"
)}
>
<Image
src={"/me.jpg"}
alt="me"
width={180}
height={420}
// style={{ objectPosition: "0 -1rem " }}
className="object-cover group-hover:object-center transition-all -z-20 duration-300 absolute"
/>
{/* <div className="w-full h-60 -bottom-40 absolute hero-figure-gradient -z-10 group-hover:translate-y-40 transition-all duration-500 ease-in-out" /> */}
<Image src={"/hero.gif"} alt="herp-gif" fill />
</div>
<span
className={cn(textHover)}
className={textHover}
onMouseEnter={() => setHovered("text-2")}
onMouseLeave={() => setHovered("")}
>
Timeless
Creative
</span>
</div>
<span
onMouseEnter={() => setHovered("text-3")}
onMouseLeave={() => setHovered("")}
className={cn(
`absolute left-0 top-full ${textHover}`,
hovered.length ? "text-foreground" : "text-primary"
`absolute left-4 lg:left-0 top-full ${textHover}`,
hovered.length ? "text-foreground" : "text-primary",
hovered === "text-2" && "text-background blur-sm"
)}
>
Unique
</span>
<svg
className="size-20 absolute top-2/3 -translate-y-2/3 transform -left-4 text-muted-foreground group-hover:text-popover-foreground transition-all duration-300"
viewBox="0 0 284 201"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_102_3)">
<path
d="M95.2362 104.356C95.1418 97.0072 99.5149 92.501 104.083 88.8727C110.504 83.9101 117.525 79.5812 124.742 76.1301C158.402 61.1033 192.787 61.1147 227.086 73.8886C235.794 77.1673 244.177 81.7469 253.617 86.2445C254.06 76.4732 248.408 67.5999 248.315 57.4875C252.458 58.8669 253.643 62.134 254.698 64.8159C258.984 75.8362 263.155 87.0353 267.034 98.2996C268.852 103.729 267.73 106.282 262.464 107.456C251.527 110.047 240.867 109.046 230.778 104.386C230.42 104.159 230.226 103.281 229.788 101.997C236.648 95.5545 245.338 103.597 253.124 99.2512C242.615 88.5437 229.454 83.1866 215.968 79.1305C201.833 74.9121 187.55 72.1082 172.811 72.7839C158.364 73.3943 144.745 77.0445 131.093 81.9303C117.376 86.5234 105.722 94.1881 95.2362 104.356Z"
fill="currentColor"
/>
</g>
<path
d="M6.29 130.2H27.232C33.5467 130.2 38.2087 131.557 41.218 134.27C44.2273 136.934 45.732 141.078 45.732 146.702C45.732 152.326 44.2273 156.495 41.218 159.208C38.2087 161.872 33.5467 163.204 27.232 163.204H16.724V182H6.29V130.2ZM27.528 155.064C29.7973 155.064 31.6473 154.373 33.078 152.992C34.558 151.611 35.298 149.514 35.298 146.702C35.298 143.89 34.558 141.793 33.078 140.412C31.6473 139.031 29.7973 138.34 27.528 138.34H16.724V155.064H27.528ZM80.2281 171.27C80.2281 172.602 80.4748 173.687 80.9681 174.526C81.5108 175.365 82.4481 176.277 83.7801 177.264L77.3421 182.888C74.5301 181.457 72.6061 179.657 71.5701 177.486C70.4848 179.015 69.0048 180.298 67.1301 181.334C65.2555 182.37 62.9368 182.888 60.1741 182.888C56.6715 182.888 53.8841 182 51.8121 180.224C49.7401 178.399 48.7041 175.833 48.7041 172.528C48.7041 169.568 49.4688 167.299 50.9981 165.72C52.5768 164.092 54.3775 162.982 56.4001 162.39C58.4228 161.798 60.6675 161.379 63.1341 161.132L66.6861 160.762C68.1168 160.614 69.1035 160.367 69.6461 160.022C70.2381 159.677 70.5588 159.109 70.6081 158.32C70.5095 156.84 70.0161 155.582 69.1281 154.546C68.2895 153.51 66.6615 152.992 64.2441 152.992C62.6655 152.992 61.2841 153.288 60.1001 153.88C58.9161 154.472 57.7075 155.434 56.4741 156.766L49.8881 152.178C51.3188 150.303 53.1195 148.873 55.2901 147.886C57.4608 146.85 60.4455 146.332 64.2441 146.332C74.9001 146.332 80.2281 150.649 80.2281 159.282V171.27ZM62.6161 176.006C65.1815 176.006 67.1548 175.389 68.5361 174.156C69.9175 172.873 70.6081 171.319 70.6081 169.494V166.386C69.8188 166.682 68.3141 166.953 66.0941 167.2L63.8741 167.422C62.1968 167.57 60.7908 167.965 59.6561 168.606C58.5215 169.198 57.9541 170.333 57.9541 172.01C57.9541 173.293 58.3735 174.279 59.2121 174.97C60.0508 175.661 61.1855 176.006 62.6161 176.006ZM110.086 182.888C105.449 182.888 101.872 181.457 99.356 178.596V182H89.736V138.118C89.736 136.786 89.4647 135.701 88.922 134.862C88.4287 134.023 87.516 133.111 86.184 132.124L92.622 126.5C95.138 127.783 96.8893 129.263 97.876 130.94C98.8627 132.568 99.356 134.862 99.356 137.822V150.846C101.921 147.837 105.498 146.332 110.086 146.332C113.342 146.332 116.105 147.121 118.374 148.7C120.693 150.229 122.419 152.301 123.554 154.916C124.689 157.481 125.256 160.318 125.256 163.426V165.794C125.256 168.902 124.689 171.763 123.554 174.378C122.419 176.943 120.693 179.015 118.374 180.594C116.105 182.123 113.342 182.888 110.086 182.888ZM107.274 175.488C109.987 175.488 112.059 174.551 113.49 172.676C114.921 170.801 115.636 168.507 115.636 165.794V163.426C115.636 160.713 114.921 158.419 113.49 156.544C112.059 154.669 109.987 153.732 107.274 153.732C103.13 153.732 100.491 155.755 99.356 159.8V169.42C100.491 173.465 103.13 175.488 107.274 175.488ZM139.613 182.888C137.097 181.605 135.345 180.15 134.359 178.522C133.372 176.845 132.879 174.526 132.879 171.566V138.118C132.879 136.786 132.607 135.701 132.065 134.862C131.571 134.023 130.659 133.111 129.327 132.124L135.765 126.5C138.281 127.783 140.032 129.263 141.019 130.94C142.005 132.568 142.499 134.862 142.499 137.822V171.27C142.499 172.602 142.745 173.687 143.239 174.526C143.781 175.365 144.719 176.277 146.051 177.264L139.613 182.888ZM167.242 182.888C162.111 182.888 158.164 181.704 155.402 179.336C152.639 176.968 151.258 173.589 151.258 169.198V160.022C151.258 155.631 152.639 152.252 155.402 149.884C158.164 147.516 162.111 146.332 167.242 146.332C172.372 146.332 176.319 147.516 179.082 149.884C181.844 152.252 183.226 155.631 183.226 160.022V169.198C183.226 173.589 181.844 176.968 179.082 179.336C176.319 181.704 172.372 182.888 167.242 182.888ZM167.242 175.488C169.264 175.488 170.818 174.945 171.904 173.86C173.038 172.775 173.606 171.221 173.606 169.198V160.022C173.606 157.999 173.038 156.445 171.904 155.36C170.818 154.275 169.264 153.732 167.242 153.732C165.219 153.732 163.64 154.275 162.506 155.36C161.42 156.445 160.878 157.999 160.878 160.022V169.198C160.878 171.221 161.42 172.775 162.506 173.86C163.64 174.945 165.219 175.488 167.242 175.488Z"
fill="currentColor"
/>
<defs>
<clipPath id="clip0_102_3">
<rect
width="122"
height="148"
fill="currentColor"
transform="translate(93 102.933) rotate(-57.5343)"
/>
</clipPath>
</defs>
</svg>
</div>
</>
);
}
+2 -2
View File
@@ -1,5 +1,5 @@
import Hero from "./hero";
import Projects from "./projects";
import CV from "./cv";
import Tech from "./tech";
export { Hero, Projects, CV };
export { Hero, Projects, Tech };
+15 -9
View File
@@ -14,7 +14,7 @@ const ProjectCard = (p: Project) => (
>
{/* <div className="font-serif text-muted-foreground w-20">{`[ ${p.year} ]`}</div> */}
<div className="flex items-center gap-4 cursor-pointer hover:bg-muted w-full rounded-xl relative">
<div className="h-40 w-32 relative rounded-xl overflow-hidden">
<div className="h-40 w-full max-w-32 relative rounded-xl overflow-hidden">
<Image
src={p.image}
alt="project-image"
@@ -22,10 +22,12 @@ const ProjectCard = (p: Project) => (
className="object-cover"
/>
</div>
<div className="space-y-1">
<div className="space-y-1 w-full">
<span className="text-xs text-muted-foreground ">{`[ ${p.year} ]`}</span>
<h3 className="text-3xl font-black">{p.name}</h3>
<p className="text-muted-foreground text-lg">{p.description}</p>
<h3 className="text-2xl md:text-3xl font-black">{p.name}</h3>
<p className="text-muted-foreground text-sm md:text-lg">
{p.description}
</p>
</div>
<ArrowRight className="size-6 text-primary absolute right-4 top-8 -rotate-45 group-hover:-translate-y-4 group-hover:translate-x-2 transition-all duration-300" />
@@ -35,16 +37,20 @@ const ProjectCard = (p: Project) => (
function Projects() {
return (
<div className="flex gap-8 container lg:px-20">
<div className="flex flex-col lg:flex-row gap-8 container lg:px-20">
<MeCard
className=" sticky top-20"
className="mx-auto order-last lg:order-first lg:sticky lg:top-20"
button={{
label: "Contact Me",
link: "/contact/#",
link: "/contact",
}}
/>
<div id="projects" className="space-y-8 w-full">
<Heading title="Projects" subTitle="Recent" />
<div className="space-y-8 w-full p-4">
<Heading
title="Projects"
subTitle="Recent"
// className="sticky top-0 z-50 pb-6"
/>
<menu className=" flex flex-col items-center gap-8 pb-20 w-full">
{projects.map((p) => (
<li key={p.link} className="w-full">
+237
View File
@@ -0,0 +1,237 @@
import React from "react";
export type TechIcon = "ts" | "next" | "react" | "tailwind" | "PostgreSQL";
const tech: { label: string; Logo: (props: any) => JSX.Element }[] = [
{
label: "Tailwind CSS",
Logo: (props: any) => (
<svg
{...props}
viewBox="0 0 180 180"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_30_11)">
<path
d="M137.812 0H42.1875C18.888 0 0 18.888 0 42.1875V137.812C0 161.112 18.888 180 42.1875 180H137.812C161.112 180 180 161.112 180 137.812V42.1875C180 18.888 161.112 0 137.812 0Z"
fill="#242938"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M58.3594 77.3438C62.5781 60.4688 73.125 52.0312 90 52.0312C115.312 52.0312 118.477 71.0156 131.133 74.1797C139.57 76.29 146.953 73.1259 153.281 64.6875C149.062 81.5625 138.516 90 121.641 90C96.3281 90 93.1641 71.0156 80.5078 67.8516C72.0703 65.7422 64.6875 68.9062 58.3594 77.3438ZM26.7188 115.312C30.9375 98.4375 41.4844 90 58.3594 90C83.6719 90 86.8359 108.984 99.4922 112.148C107.93 114.259 115.312 111.095 121.641 102.656C117.422 119.531 106.875 127.969 90 127.969C64.6875 127.969 61.5234 108.984 48.8672 105.82C40.4297 103.71 33.0469 106.874 26.7188 115.312Z"
fill="url(#paint0_linear_30_11)"
/>
</g>
<defs>
<linearGradient
id="paint0_linear_30_11"
x1="60.8203"
y1="52.0312"
x2="114.961"
y2="130.43"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#32B1C1" />
<stop offset="1" stopColor="#14C6B7" />
</linearGradient>
<clipPath id="clip0_30_11">
<rect width="180" height="180" fill="white" />
</clipPath>
</defs>
</svg>
),
},
{
label: "Typescript",
Logo: (props: any) => (
<svg
{...props}
viewBox="0 0 180 180"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_30_2)">
<path
d="M137.812 0H42.1875C18.888 0 0 18.888 0 42.1875V137.812C0 161.112 18.888 180 42.1875 180H137.812C161.112 180 180 161.112 180 137.812V42.1875C180 18.888 161.112 0 137.812 0Z"
fill="#007ACC"
/>
<path
d="M39.8045 90.597L39.7476 97.9686H63.1757V164.54H79.7476V97.9686H103.176V90.7398C103.176 86.7397 103.091 83.397 102.976 83.3112C102.89 83.1973 88.633 83.1397 71.3474 83.1685L39.8903 83.2543L39.8045 90.597ZM145.242 83.0448C149.813 84.188 153.299 86.2166 156.499 89.5304C158.157 91.3023 160.613 94.531 160.814 95.3023C160.871 95.5308 153.042 100.788 148.3 103.731C148.128 103.845 147.442 103.102 146.67 101.96C144.356 98.588 141.928 97.1305 138.213 96.8738C132.756 96.5019 129.242 99.3594 129.271 104.131C129.271 105.531 129.471 106.359 130.042 107.502C131.242 109.988 133.471 111.474 140.471 114.502C153.356 120.045 158.87 123.702 162.299 128.902C166.128 134.702 166.985 143.959 164.385 150.845C161.528 158.33 154.442 163.416 144.47 165.102C141.385 165.645 134.07 165.559 130.757 164.96C123.528 163.673 116.671 160.102 112.442 155.417C110.785 153.588 107.556 148.816 107.757 148.473C107.842 148.359 108.585 147.902 109.413 147.417C110.213 146.96 113.242 145.216 116.099 143.559L121.271 140.559L122.356 142.159C123.871 144.473 127.185 147.645 129.185 148.702C134.927 151.731 142.814 151.302 146.699 147.817C148.356 146.302 149.042 144.731 149.042 142.417C149.042 140.33 148.785 139.416 147.699 137.845C146.299 135.845 143.442 134.159 135.328 130.645C126.042 126.645 122.042 124.159 118.385 120.216C116.271 117.931 114.27 114.273 113.442 111.216C112.757 108.674 112.585 102.302 113.128 99.7306C115.042 90.7594 121.814 84.5023 131.585 82.6447C134.757 82.0449 142.127 82.2734 145.242 83.0448Z"
fill="white"
/>
</g>
<defs>
<clipPath id="clip0_30_2">
<rect width="180" height="180" fill="white" />
</clipPath>
</defs>
</svg>
),
},
{
label: "Next JS",
Logo: (props: any) => (
<svg
{...props}
viewBox="0 0 180 180"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_30_15)">
<path
d="M137.812 0H42.1875C18.888 0 0 18.888 0 42.1875V137.812C0 161.112 18.888 180 42.1875 180H137.812C161.112 180 180 161.112 180 137.812V42.1875C180 18.888 161.112 0 137.812 0Z"
fill="#F4F2ED"
/>
<path
d="M85.3953 19.7256C85.0929 19.753 84.1303 19.8493 83.2641 19.9175C63.2911 21.7182 44.5824 32.4957 32.7326 49.0599C26.1352 58.2702 21.9143 68.7172 20.3203 79.7837C19.7571 83.6467 19.6882 84.7878 19.6882 90.0247C19.6882 95.2623 19.7571 96.4035 20.321 100.266C24.1418 126.672 42.9335 148.859 68.419 157.08C72.983 158.551 77.7938 159.554 83.2648 160.159C85.396 160.392 94.6055 160.392 96.7367 160.159C106.18 159.114 114.18 156.777 122.071 152.749C123.28 152.131 123.514 151.966 123.349 151.829C123.24 151.746 118.084 144.831 111.899 136.474L100.654 121.284L86.5639 100.431C78.8112 88.9665 72.4332 79.591 72.3776 79.591C72.3228 79.5777 72.2679 88.8427 72.2405 100.156C72.199 119.964 72.1857 120.762 71.9382 121.229C71.581 121.902 71.306 122.177 70.7281 122.48C70.2886 122.7 69.9033 122.741 67.8277 122.741H65.4497L64.8169 122.342C64.4251 122.097 64.1069 121.75 63.8958 121.339L63.6075 120.72L63.6357 93.1592L63.6764 65.5841L64.1025 65.0476C64.3226 64.7593 64.7902 64.3881 65.12 64.2095C65.6832 63.9345 65.9032 63.9071 68.2812 63.9071C71.086 63.9071 71.5528 64.0168 72.282 64.8142C72.488 65.0342 80.1169 76.5261 89.2449 90.3685C98.4858 104.38 107.732 118.387 116.985 132.391L128.119 149.258L128.683 148.887C133.673 145.643 138.952 141.024 143.13 136.212C152.024 125.999 157.757 113.545 159.681 100.266C160.244 96.4035 160.313 95.2623 160.313 90.0247C160.313 84.7871 160.244 83.6467 159.681 79.7837C155.86 53.3771 137.068 31.1907 111.582 22.9705C107.087 21.5129 102.304 20.5095 96.9427 19.9049C95.6229 19.7671 86.5364 19.6166 85.396 19.7263M114.181 62.2576C114.84 62.5874 115.377 63.2195 115.569 63.879C115.679 64.2369 115.706 71.8799 115.679 89.1036L115.637 113.82L111.28 107.139L106.909 100.458V82.4921C106.909 70.8765 106.964 64.3466 107.046 64.0302C107.266 63.261 107.747 62.6563 108.407 62.2984C108.97 62.0101 109.177 61.982 111.335 61.982C113.37 61.982 113.727 62.0101 114.181 62.2576Z"
fill="black"
/>
</g>
<defs>
<clipPath id="clip0_30_15">
<rect width="180" height="180" fill="white" />
</clipPath>
</defs>
</svg>
),
},
{
label: "Drizzle ORM",
Logo: (props: any) => (
<svg
{...props}
viewBox="0 0 180 180"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M59.7043 76.2006L50.0298 70.7991L26.6596 111.56L36.3341 116.961L59.7043 76.2006Z"
fill="#C5F74F"
/>
<path
d="M98.2004 52.3158L88.5259 46.9143L65.1557 87.6749L74.8302 93.0764L98.2004 52.3158Z"
fill="#C5F74F"
/>
<path
d="M157.435 52.3168L147.76 46.9153L124.39 87.6759L134.065 93.0774L157.435 52.3168Z"
fill="#C5F74F"
/>
<path
d="M118.926 76.2006L109.252 70.7991L85.8817 111.56L95.5563 116.961L118.926 76.2006Z"
fill="#C5F74F"
/>
</svg>
),
},
{
label: "PostgreSQL",
Logo: (props: any) => (
<svg
{...props}
viewBox="0 0 180 180"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M131.919 129.533C133.023 120.346 132.692 118.997 139.535 120.486L141.272 120.638C146.534 120.877 153.418 119.791 157.462 117.913C166.168 113.873 171.329 107.13 162.747 108.9C143.166 112.94 141.82 106.31 141.82 106.31C162.496 75.6324 171.139 36.6891 163.678 27.1562C143.329 1.15601 108.107 13.4509 107.518 13.7687L107.329 13.8038C103.461 13.0009 99.1309 12.5213 94.2666 12.4426C85.4059 12.2963 78.6826 14.7657 73.5821 18.6329C73.5821 18.6329 10.7466 -7.25477 13.6702 51.189C14.2918 63.6216 31.4902 145.264 52.0046 120.604C59.5027 111.587 66.7477 103.963 66.7477 103.963C70.3449 106.352 74.6537 107.573 79.1705 107.134L79.5207 106.836C79.411 107.955 79.4588 109.051 79.6599 110.347C74.3766 116.252 75.9291 117.288 65.364 119.462C54.6737 121.665 60.954 125.587 65.0532 126.612C70.0243 127.855 81.5232 129.616 89.2941 118.74L88.9848 119.98C91.0576 121.639 90.9184 131.901 91.2109 139.231C91.5048 146.564 91.9956 153.405 93.4904 157.44C94.9852 161.474 96.7487 171.862 110.634 168.886C122.238 166.406 131.11 162.827 131.919 129.533Z"
fill="black"
/>
<path
d="M106.113 176.141C99.9717 176.141 95.9723 173.766 93.5437 171.472C89.8776 168.013 88.4235 163.557 87.5545 160.895L87.179 159.784C85.4296 155.061 84.8362 148.262 84.4846 139.507C84.4312 138.192 84.3946 136.838 84.3539 135.402C84.3243 134.352 84.2878 133.034 84.2343 131.656C82.0218 132.711 79.6734 133.453 77.2565 133.861C72.9267 134.601 68.272 134.361 63.419 133.148C59.9948 132.291 56.437 130.517 54.4092 127.776C48.4987 132.952 42.861 132.251 39.7898 131.226C34.3715 129.419 29.5228 124.341 24.9651 115.705C21.7181 109.552 18.5779 101.537 15.6304 91.8787C10.4976 75.0599 7.23651 57.3454 6.94682 51.5291C6.03557 33.3252 10.9364 20.3062 21.5099 12.8376C38.1895 1.05601 63.4612 7.98461 72.6749 11.1304C78.8653 7.39961 86.1482 5.58414 94.3776 5.71492C98.7974 5.78664 103.006 6.17476 106.916 6.87226C110.994 5.58976 119.049 3.74898 128.27 3.8643C145.259 4.0668 159.337 10.6874 168.979 23.0104C175.861 31.8023 172.458 50.2649 169.819 60.4884C166.103 74.8687 159.594 90.163 151.598 103.477C153.769 103.493 156.915 103.233 161.387 102.309C170.21 100.488 172.79 105.218 173.49 107.336C176.296 115.833 164.101 122.254 160.297 124.02C155.423 126.283 147.476 127.661 140.968 127.363L140.684 127.344L138.974 127.194L138.805 128.62L138.642 130.013C138.205 146.887 135.794 157.573 130.835 164.634C125.636 172.036 118.41 174.111 112.046 175.475C109.874 175.939 107.902 176.141 106.113 176.141ZM93.1893 114.729C97.1535 117.901 97.5009 123.871 97.8117 135.027C97.851 136.419 97.8876 137.736 97.9368 138.967C98.0859 142.694 98.436 151.419 99.8029 155.106C99.9956 155.628 100.169 156.157 100.351 156.718C101.874 161.381 102.638 163.72 109.223 162.312C114.751 161.127 117.593 160.064 119.818 156.897C123.051 152.293 124.859 143.031 125.191 129.369L131.917 129.532L125.238 128.731L125.435 127.063C126.074 121.565 126.536 117.593 130.21 114.966C133.159 112.86 136.519 113.064 139.195 113.546C136.254 111.324 135.442 108.719 135.225 107.65L134.664 104.886L136.24 102.548C145.32 89.076 152.807 72.5188 156.784 57.1204C160.871 41.2987 159.625 32.8963 158.379 31.3073C141.885 10.2318 113.283 18.9337 110.296 19.9209L109.792 20.1937L107.26 20.6648L105.964 20.3962C102.389 19.6537 98.4178 19.243 94.161 19.1741C87.4729 19.0616 82.0771 20.6423 77.6531 23.999L74.5832 26.3263L71.0212 24.8596C63.4106 21.7476 41.0568 15.4912 29.2612 23.8457C22.7137 28.4835 19.731 37.5707 20.3948 50.8555C20.6142 55.2416 23.594 71.8452 28.5103 87.9482C35.3039 110.202 41.4773 117.595 44.0549 118.454C44.5049 118.606 45.6721 117.699 46.8337 116.304C51.677 110.498 56.6921 104.838 61.8721 99.3304L65.7674 95.2312L70.477 98.3601C72.3754 99.6215 74.4693 100.337 76.6195 100.472L87.8512 90.8929L86.2242 107.498C86.1876 107.871 86.1693 108.378 86.3156 109.32L86.8049 112.468L84.6815 114.841L84.4368 115.117L90.6074 117.965L93.1893 114.729Z"
fill="black"
/>
<path
d="M162.747 108.9C143.165 112.94 141.819 106.31 141.819 106.31C162.495 75.631 171.138 36.6864 163.679 27.1562C143.331 1.15745 108.106 13.4523 107.518 13.7715L107.328 13.8053C103.459 13.0023 99.1294 12.5242 94.2624 12.4454C85.4016 12.3006 78.6811 14.7685 73.5807 18.6357C73.5807 18.6357 10.7438 -7.25051 13.666 51.1918C14.2876 63.6259 31.486 145.269 52.0004 120.609C59.4985 111.592 66.7421 103.967 66.7421 103.967C70.3407 106.356 74.648 107.577 79.1635 107.138L79.5151 106.84C79.4054 107.959 79.456 109.055 79.6557 110.351C74.371 116.256 75.9235 117.293 65.3583 119.467C54.668 121.669 60.9483 125.591 65.049 126.616C70.0186 127.859 81.519 129.62 89.2885 118.744L88.9777 119.984C91.0491 121.644 92.5032 130.773 92.2599 139.049C92.0166 147.324 91.8521 153.007 93.4847 157.445C95.116 161.883 96.7416 171.868 110.63 168.892C122.234 166.406 128.247 159.961 129.085 149.212C129.679 141.569 131.022 142.699 131.108 135.866L132.186 132.632C133.429 122.272 132.383 118.931 139.534 120.485L141.271 120.637C146.533 120.876 153.419 119.79 157.462 117.911C166.167 113.874 171.329 107.13 162.747 108.9Z"
fill="#336791"
/>
<path
d="M106.815 171.994C95.2383 171.994 91.5708 162.827 90.0704 159.078C87.8738 153.584 87.3999 132.262 87.8893 114.777C87.8965 114.482 87.9621 114.191 88.0821 113.922C88.2022 113.652 88.3743 113.409 88.5887 113.207C88.8031 113.004 89.0554 112.846 89.3312 112.741C89.6069 112.637 89.9007 112.588 90.1955 112.597C90.49 112.605 90.7801 112.671 91.0491 112.791C91.3181 112.911 91.5607 113.083 91.7632 113.297C91.9656 113.512 92.1239 113.763 92.2289 114.039C92.3339 114.314 92.3836 114.607 92.3752 114.902C91.8113 135.069 92.6114 153.344 94.2371 157.411C96.7739 163.752 100.621 169.298 111.499 166.968C121.825 164.753 125.692 160.838 127.415 150.853C128.737 143.19 131.351 121.39 131.673 117.089C131.694 116.795 131.774 116.508 131.906 116.244C132.039 115.981 132.222 115.747 132.446 115.554C132.669 115.362 132.928 115.216 133.208 115.124C133.488 115.032 133.784 114.996 134.078 115.019C134.671 115.063 135.222 115.342 135.61 115.793C135.998 116.244 136.191 116.83 136.148 117.423C135.811 121.902 133.21 143.66 131.837 151.616C129.804 163.41 124.546 168.76 112.44 171.356C110.382 171.796 108.513 171.993 106.815 171.994ZM44.0452 127.218C43.0333 127.215 42.0286 127.048 41.0696 126.726C33.5504 124.217 26.3883 111.971 19.7818 90.3248C14.753 73.8477 11.5664 56.6493 11.2866 51.0594C10.4583 34.4882 14.7249 22.7643 23.971 16.2154C42.2621 3.25538 73.0322 15.5966 74.333 16.1282C74.8841 16.3533 75.3231 16.788 75.5536 17.3368C75.7841 17.8857 75.7872 18.5035 75.5621 19.0546C75.337 19.6056 74.9022 20.0447 74.3534 20.2752C73.8046 20.5057 73.1867 20.5087 72.6357 20.2837C72.3389 20.1627 42.833 8.34178 26.5557 19.8829C18.6497 25.4882 15.0202 35.9029 15.7669 50.8358C16.0018 55.5454 18.9788 72.3304 24.0722 89.0141C29.97 108.339 36.6821 120.532 42.4885 122.469C43.3997 122.773 46.1729 123.696 50.1371 118.929C54.7598 113.377 59.5561 107.972 64.5188 102.721C64.934 102.307 65.4949 102.071 66.0813 102.066C66.6678 102.06 67.2332 102.284 67.6567 102.689C68.0801 103.095 68.3279 103.651 68.3469 104.237C68.366 104.823 68.1549 105.393 67.7588 105.826C67.6913 105.896 60.9427 112.951 53.588 121.799C50.1047 125.989 46.7663 127.218 44.0452 127.218ZM141.68 108.311C141.273 108.31 140.874 108.199 140.525 107.989C140.177 107.78 139.892 107.479 139.701 107.12C139.51 106.761 139.42 106.356 139.441 105.95C139.462 105.544 139.594 105.151 139.821 104.813C160.722 73.7985 168.058 36.3233 161.775 28.2937C153.866 18.1883 142.699 12.9107 128.582 12.6055C118.129 12.3805 109.821 15.0496 108.463 15.5151L108.121 15.6543C106.756 16.0832 105.708 15.3351 105.313 14.4604C105.087 13.9592 105.053 13.393 105.217 12.8684C105.38 12.3438 105.73 11.8972 106.2 11.6127C106.265 11.5748 106.47 11.4876 106.803 11.3652C109.111 10.5201 117.546 7.98881 127.993 8.10834C143.613 8.27428 156.517 14.2972 165.306 25.529C169.464 30.8432 169.474 43.086 165.333 59.1201C161.111 75.4677 153.167 93.036 143.54 107.322C143.11 107.965 142.401 108.311 141.68 108.311ZM142.748 122.669C139.179 122.669 135.98 122.165 134.065 121.018C132.096 119.838 131.721 118.235 131.671 117.384C131.134 107.948 136.34 106.305 138.995 105.556C138.625 104.996 138.099 104.338 137.555 103.659C136.007 101.724 133.886 99.0744 132.252 95.1116C131.996 94.4929 131.195 93.0543 130.267 91.3879C125.234 82.3626 114.761 63.5821 121.489 53.9647C124.602 49.514 130.802 47.7618 139.937 48.7391C137.25 40.5519 124.453 14.9413 94.088 14.4435C84.9558 14.2916 77.4661 17.0999 71.8383 22.7826C59.2383 35.5077 59.6939 58.5322 59.701 58.7629C59.7087 59.0574 59.6584 59.3506 59.5528 59.6257C59.4473 59.9008 59.2886 60.1524 59.0858 60.3662C58.883 60.58 58.6401 60.7517 58.3709 60.8716C58.1018 60.9915 57.8116 61.0571 57.5171 61.0649C57.2225 61.0727 56.9293 61.0223 56.6542 60.9168C56.3791 60.8112 56.1275 60.6525 55.9138 60.4497C55.7 60.2469 55.5283 60.004 55.4084 59.7349C55.2885 59.4657 55.2228 59.1755 55.215 58.881C55.1869 57.8587 54.7172 33.6965 68.6504 19.6241C75.1711 13.0387 83.7549 9.78741 94.1625 9.95756C113.588 10.2768 126.093 20.1529 133.161 28.3808C140.866 37.3485 144.643 47.2401 144.953 50.5419C145.186 52.9973 143.423 53.488 143.068 53.5612L142.258 53.5794C133.293 52.1437 127.541 53.1407 125.163 56.5382C120.046 63.8521 129.953 81.6172 134.183 89.204C135.263 91.139 136.042 92.5382 136.399 93.4016C137.789 96.771 139.601 99.0351 141.057 100.855C142.338 102.455 143.447 103.843 143.844 105.471C144.028 105.795 146.642 109.662 162.155 106.46C166.043 105.659 168.375 106.343 169.088 108.499C170.49 112.739 162.623 117.685 158.268 119.707C154.366 121.521 148.137 122.669 142.748 122.669ZM136.145 117.014C136.637 117.51 139.099 118.367 144.198 118.147C148.732 117.953 153.513 116.968 156.382 115.636C160.051 113.931 162.501 112.026 163.769 110.725L163.066 110.855C153.148 112.902 146.132 112.629 142.214 110.043C141.951 109.87 141.697 109.681 141.455 109.479C141.03 109.647 140.638 109.756 140.358 109.835C138.136 110.458 135.838 111.104 136.145 117.014ZM72.0732 129.551C69.6094 129.551 67.0163 129.215 64.3683 128.552C61.6247 127.866 56.9996 125.8 57.0699 122.407C57.15 11Line truncated
fill="white"
/>
</svg>
),
},
{
label: "Figma",
Logo: (props: any) => (
<svg
{...props}
viewBox="0 0 180 180"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_30_15)">
<path
d="M137.812 0H42.1875C18.888 0 0 18.888 0 42.1875V137.812C0 161.112 18.888 180 42.1875 180H137.812C161.112 180 180 161.112 180 137.812V42.1875C180 18.888 161.112 0 137.812 0Z"
fill="#F4F2ED"
/>
<path
d="M85.3953 19.7256C85.0929 19.753 84.1303 19.8493 83.2641 19.9175C63.2911 21.7182 44.5824 32.4957 32.7326 49.0599C26.1352 58.2702 21.9143 68.7172 20.3203 79.7837C19.7571 83.6467 19.6882 84.7878 19.6882 90.0247C19.6882 95.2623 19.7571 96.4035 20.321 100.266C24.1418 126.672 42.9335 148.859 68.419 157.08C72.983 158.551 77.7938 159.554 83.2648 160.159C85.396 160.392 94.6055 160.392 96.7367 160.159C106.18 159.114 114.18 156.777 122.071 152.749C123.28 152.131 123.514 151.966 123.349 151.829C123.24 151.746 118.084 144.831 111.899 136.474L100.654 121.284L86.5639 100.431C78.8112 88.9665 72.4332 79.591 72.3776 79.591C72.3228 79.5777 72.2679 88.8427 72.2405 100.156C72.199 119.964 72.1857 120.762 71.9382 121.229C71.581 121.902 71.306 122.177 70.7281 122.48C70.2886 122.7 69.9033 122.741 67.8277 122.741H65.4497L64.8169 122.342C64.4251 122.097 64.1069 121.75 63.8958 121.339L63.6075 120.72L63.6357 93.1592L63.6764 65.5841L64.1025 65.0476C64.3226 64.7593 64.7902 64.3881 65.12 64.2095C65.6832 63.9345 65.9032 63.9071 68.2812 63.9071C71.086 63.9071 71.5528 64.0168 72.282 64.8142C72.488 65.0342 80.1169 76.5261 89.2449 90.3685C98.4858 104.38 107.732 118.387 116.985 132.391L128.119 149.258L128.683 148.887C133.673 145.643 138.952 141.024 143.13 136.212C152.024 125.999 157.757 113.545 159.681 100.266C160.244 96.4035 160.313 95.2623 160.313 90.0247C160.313 84.7871 160.244 83.6467 159.681 79.7837C155.86 53.3771 137.068 31.1907 111.582 22.9705C107.087 21.5129 102.304 20.5095 96.9427 19.9049C95.6229 19.7671 86.5364 19.6166 85.396 19.7263M114.181 62.2576C114.84 62.5874 115.377 63.2195 115.569 63.879C115.679 64.2369 115.706 71.8799 115.679 89.1036L115.637 113.82L111.28 107.139L106.909 100.458V82.4921C106.909 70.8765 106.964 64.3466 107.046 64.0302C107.266 63.261 107.747 62.6563 108.407 62.2984C108.97 62.0101 109.177 61.982 111.335 61.982C113.37 61.982 113.727 62.0101 114.181 62.2576Z"
fill="black"
/>
</g>
<defs>
<clipPath id="clip0_30_15">
<rect width="180" height="180" fill="white" />
</clipPath>
</defs>
</svg>
),
},
{
label: "Github",
Logo: (props: any) => (
<svg
{...props}
viewBox="0 0 180 180"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clipPath="url(#clip0_30_15)">
<path
d="M137.812 0H42.1875C18.888 0 0 18.888 0 42.1875V137.812C0 161.112 18.888 180 42.1875 180H137.812C161.112 180 180 161.112 180 137.812V42.1875C180 18.888 161.112 0 137.812 0Z"
fill="#F4F2ED"
/>
<path
d="M85.3953 19.7256C85.0929 19.753 84.1303 19.8493 83.2641 19.9175C63.2911 21.7182 44.5824 32.4957 32.7326 49.0599C26.1352 58.2702 21.9143 68.7172 20.3203 79.7837C19.7571 83.6467 19.6882 84.7878 19.6882 90.0247C19.6882 95.2623 19.7571 96.4035 20.321 100.266C24.1418 126.672 42.9335 148.859 68.419 157.08C72.983 158.551 77.7938 159.554 83.2648 160.159C85.396 160.392 94.6055 160.392 96.7367 160.159C106.18 159.114 114.18 156.777 122.071 152.749C123.28 152.131 123.514 151.966 123.349 151.829C123.24 151.746 118.084 144.831 111.899 136.474L100.654 121.284L86.5639 100.431C78.8112 88.9665 72.4332 79.591 72.3776 79.591C72.3228 79.5777 72.2679 88.8427 72.2405 100.156C72.199 119.964 72.1857 120.762 71.9382 121.229C71.581 121.902 71.306 122.177 70.7281 122.48C70.2886 122.7 69.9033 122.741 67.8277 122.741H65.4497L64.8169 122.342C64.4251 122.097 64.1069 121.75 63.8958 121.339L63.6075 120.72L63.6357 93.1592L63.6764 65.5841L64.1025 65.0476C64.3226 64.7593 64.7902 64.3881 65.12 64.2095C65.6832 63.9345 65.9032 63.9071 68.2812 63.9071C71.086 63.9071 71.5528 64.0168 72.282 64.8142C72.488 65.0342 80.1169 76.5261 89.2449 90.3685C98.4858 104.38 107.732 118.387 116.985 132.391L128.119 149.258L128.683 148.887C133.673 145.643 138.952 141.024 143.13 136.212C152.024 125.999 157.757 113.545 159.681 100.266C160.244 96.4035 160.313 95.2623 160.313 90.0247C160.313 84.7871 160.244 83.6467 159.681 79.7837C155.86 53.3771 137.068 31.1907 111.582 22.9705C107.087 21.5129 102.304 20.5095 96.9427 19.9049C95.6229 19.7671 86.5364 19.6166 85.396 19.7263M114.181 62.2576C114.84 62.5874 115.377 63.2195 115.569 63.879C115.679 64.2369 115.706 71.8799 115.679 89.1036L115.637 113.82L111.28 107.139L106.909 100.458V82.4921C106.909 70.8765 106.964 64.3466 107.046 64.0302C107.266 63.261 107.747 62.6563 108.407 62.2984C108.97 62.0101 109.177 61.982 111.335 61.982C113.37 61.982 113.727 62.0101 114.181 62.2576Z"
fill="black"
/>
</g>
<defs>
<clipPath id="clip0_30_15">
<rect width="180" height="180" fill="white" />
</clipPath>
</defs>
</svg>
),
},
];
function Tech() {
return (
<div className="py-12 lg:py-20 container relative space-y-8">
<h3 className="text-sm font-mono text-muted-foreground text-center">
most liked{" "}
<span className="underline text-foreground">technologies</span> and{" "}
<span className="underline text-foreground">tools</span>
</h3>
<ul className="flex w-full items-center justify-center gap-2 md:gap-4 lg:gap-8 flex-wrap">
{tech.map(({ Logo, label }, idx) => (
<li
className="flex items-center gap-2 py-2 px-6 rounded-md bg-muted"
key={idx}
>
<Logo className="size-6" />
<span>{label}</span>
</li>
))}
</ul>
</div>
);
}
export default Tech;