Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ivntsng committed Dec 10, 2024
1 parent 578c05c commit 940476f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/components/buttons/ctaButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
textWhiteDarkBlack,
navMotionTransition,
transitionEaseLinearDuration300,
scaleMotionNumber,
} from "@/components/util/constants";
//Order GPR 1.0
const CTAButton = () => {
Expand Down
6 changes: 2 additions & 4 deletions src/components/navbar/burgerMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ const BurgerMenu = (isOpen: boolean, buttonText: string[], buttonLinks: string[]
return isOpen ? (
<div className={"flex flex-col items-start w-[100%] gap-10 py-12"}>
{buttonText.map((text, index) => {
return <BurgerButton text={text} text2={buttonLinks[index]} />;
return <BurgerButton key={index} text={text} text2={buttonLinks[index]} />;
})}
</div>
) : (
<></>
);
) : null;
};

export default BurgerMenu;
1 change: 0 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import "@/styles/globals.css";
import type { AppProps } from "next/app";
import Head from "next/head";
import Navbar from "@/components/navbar/navbar";
import { useEffect } from "react";

export default function App({ Component, pageProps }: AppProps) {
// const scrollbar: string = "scrollbar-visible";
Expand Down
5 changes: 2 additions & 3 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import { motion } from "motion/react";
import Link from "next/link";
import { navMotionTransition, scaleMotionNumber } from "@/components/util/constants";

export default function Home() {
return (
<div
className={`grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20
className={`grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20
gap-16 sm:p-20 `}
>
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
<h1 className="text-xl font-planar font-normal text-foreground ">
We're cooking something 👀
&quot;We&apos;re cooking something 👀&quot;
</h1>
<div className={"flex flex-row items-baseline gap-2 "}>
<p className="text-md font-planar font-normal text-foreground">Join </p>
Expand Down

0 comments on commit 940476f

Please sign in to comment.