diff --git a/apps/web/src/components/icons/icons.tsx b/apps/web/src/components/icons/icons.tsx index 82b821fe..65294f95 100644 --- a/apps/web/src/components/icons/icons.tsx +++ b/apps/web/src/components/icons/icons.tsx @@ -1,3 +1,5 @@ +import React from "react"; + export const Terminal = ({ fill = "none", width = 24, height = 24 }: { fill: string, width: number, height: number }) => { return ( @@ -192,8 +194,8 @@ export const Discord = () => { ) } -export const Github = () => { - return +export const Github = (props: React.SVGProps) => { + return } diff --git a/apps/web/src/components/landing-sections/navbar.tsx b/apps/web/src/components/landing-sections/navbar.tsx index 8fc44cd7..04b2a339 100644 --- a/apps/web/src/components/landing-sections/navbar.tsx +++ b/apps/web/src/components/landing-sections/navbar.tsx @@ -1,11 +1,14 @@ "use client"; import React, { useState } from "react"; -import PrimaryButton from "../ui/custom-button"; import { motion, useScroll, useMotionValueEvent } from "framer-motion"; import Image from "next/image"; -import { Terminal, Github, Menu, X } from "lucide-react"; +import { Terminal, Menu, X } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; + +import PrimaryButton from "@/components/ui/custom-button"; +import { Github } from "@/components/icons/icons"; + import { cn } from "@/lib/utils"; import { useAnalytics } from "@/hooks/useAnalytics"; @@ -115,7 +118,7 @@ const Navbar = () => { onClick={() => handleContributeClick("navbar")} className="hidden min-[1115px]:flex items-center gap-2 px-4 py-2.5 bg-github-bg hover:bg-github-hover transition-colors rounded-lg border border-github-border text-white" > - +
Contribute { }} className="flex items-center gap-2 px-4 py-2 bg-github-bg hover:bg-github-hover rounded-lg border border-github-border text-white transition-colors" > - +
Contribute