Skip to content

Commit 384713b

Browse files
committed
fix:lint error
1 parent e0309bd commit 384713b

7 files changed

Lines changed: 9 additions & 18 deletions

File tree

apps/web/app/gig-list/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { useState, useEffect, useCallback } from "react";
33
import Link from "next/link";
44
import Image from "next/image";
5-
import { Zap, Check, ArrowRight, Calendar } from "lucide-react";
5+
import { Check, ArrowRight, Calendar } from "lucide-react";
66

77
import api from "@/lib/axios.client";
88
import Navbar from "@/components/Navbar";

apps/web/app/influencer-profile-page/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import {
1212
Lock,
1313
Instagram,
1414
Youtube,
15-
Twitter,
16-
Linkedin,
1715
ArrowRight
1816
} from 'lucide-react';
1917

apps/web/app/page.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import React from "react";
44
import Image from "next/image";
55
import Link from "next/link";
6-
import { usePathname } from "next/navigation";
76
import { motion, useInView, useSpring, useTransform } from "framer-motion";
87
import { useEffect, useRef, useState } from "react";
98
import {
@@ -12,18 +11,14 @@ import {
1211
Calendar,
1312
MessageCircle,
1413
ArrowRight,
15-
CheckCircle2,
1614
Star,
1715
Search,
1816
CreditCard,
1917
Zap,
20-
Check,
21-
Menu,
22-
X
18+
Check
2319
} from "lucide-react";
2420

2521
import { Button } from "@/components/ui/button";
26-
import NoillinIcon from "@/components/NoillinIcon";
2722
import Footer from "@/components/Footer";
2823
import Navbar from "@/components/Navbar";
2924

@@ -176,7 +171,6 @@ function TestimonialSlider({ testimonials }: { testimonials: Testimonial[] }) {
176171
}
177172

178173
export default function HomePage() {
179-
const pathname = usePathname();
180174
return (
181175
<div className="min-h-screen bg-[#F1F5F9] text-slate-900 font-sans selection:bg-emerald-100 selection:text-emerald-900">
182176
<Navbar />
@@ -471,7 +465,7 @@ export default function HomePage() {
471465
Ready to Join the <br/><span className="text-emerald-500">Future Economy?</span>
472466
</h2>
473467
<p className="text-slate-400 text-base sm:text-lg md:text-xl font-medium mb-10 sm:mb-12 max-w-xl mx-auto leading-relaxed">
474-
Unlock elite partnerships and scale your presence with the world's most advanced influencer infrastructure.
468+
Unlock elite partnerships and scale your presence with the world&apos;s most advanced influencer infrastructure.
475469
</p>
476470
<div className="flex flex-col sm:flex-row items-center justify-center gap-6">
477471
<Link href="/signup">

apps/web/components/DashboardHeader.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ export default function DashboardHeader({
7979
}
8080
};
8181

82-
const headerBaseStyles = isFixed ? 'fixed top-0 left-0 right-0' : 'relative';
83-
const pillStyles = isPill ? 'top-4 left-1/2 -translate-x-1/2 w-[95%] max-w-7xl rounded-full shadow-2xl border border-gray-100 px-6 sm:px-10' : 'w-full border-b border-gray-100 px-4 sm:px-8';
82+
const headerBaseStyles = isFixed ? (isPill ? 'fixed top-4 left-1/2 -translate-x-1/2' : 'fixed top-0 left-0 right-0') : 'relative';
83+
const pillStyles = isPill ? 'w-[95%] max-w-7xl rounded-full shadow-2xl border border-gray-100 px-6 sm:px-10' : 'w-full border-b border-gray-100 px-4 sm:px-8';
8484

8585
return (
86-
<header className={`${isFixed ? (isPill ? 'fixed top-4 left-1/2 -translate-x-1/2' : 'fixed top-0 left-0 right-0') : 'relative'} ${isPill ? 'w-[95%] max-w-7xl rounded-full shadow-2xl border border-gray-100 px-6 sm:px-10' : 'w-full border-b border-gray-100 px-4 sm:px-8'} bg-white h-16 flex items-center justify-between z-50 transition-all duration-300`}>
86+
<header className={`${headerBaseStyles} ${pillStyles} bg-white h-16 flex items-center justify-between z-50 transition-all duration-300`}>
8787
<div className="flex items-center gap-4">
8888
{showSidebarToggle && (
8989
<button

apps/web/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function Footer() {
1313
<div className="md:col-span-1 space-y-6">
1414
<NoillinIcon />
1515
<p className="text-slate-500 text-sm font-medium leading-relaxed max-w-xs">
16-
The world's most advanced infrastructure for professional brand-creator collaborations.
16+
The world&apos;s most advanced infrastructure for professional brand-creator collaborations.
1717
</p>
1818
</div>
1919

apps/web/components/Navbar.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import {
1010
LogOut,
1111
LayoutDashboard,
1212
ChevronDown,
13-
User as UserIcon,
14-
Zap
13+
User as UserIcon
1514
} from "lucide-react";
1615
import { motion, AnimatePresence } from "framer-motion";
1716

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"type": "module",
77
"scripts": {
8-
"dev": "pnpm -r dev",
8+
"dev": "pnpm -r dev ",
99
"build": "pnpm -r build",
1010
"lint": "pnpm -r lint",
1111
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)