From 726061cc1caa5b0205e0c15754b40fc825c7e94e Mon Sep 17 00:00:00 2001 From: Lwin Moe Paing Date: Sat, 14 Oct 2023 19:53:45 +0630 Subject: [PATCH] :bug: fix(lib): direction of utilize tool --- bun.lockb | Bin 365868 -> 365868 bytes src/app/layout.tsx | 2 +- src/components/Common/BodyText/BodyText.tsx | 2 +- src/components/Common/Container/Container.tsx | 2 +- src/components/Common/Navbar/Navbar.tsx | 2 +- src/components/Common/TitleText/TitleText.tsx | 2 +- src/components/MSE/HomeSection.tsx | 7 +++++-- src/components/MSE/JoinSection.tsx | 4 ++-- src/components/Ui/SquareBox/SquareBox.tsx | 2 +- 9 files changed, 13 insertions(+), 10 deletions(-) diff --git a/bun.lockb b/bun.lockb index bf5201f78c8c9abc4185bb4e5370000d54383bf1..c36421558242781fc334484ccf2e7bccb978bb22 100755 GIT binary patch delta 34 qcmZ3pN^H$4v4$4L7N#xCPj_=L#+m3D8tNIezunEe{q1fR`O$>4X diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a87b80f..a1a647f 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,6 @@ import Navbar from "@/components/Common/Navbar/Navbar"; import { bodyFont } from "@/fonts/fonts"; -import { cn } from "@/lib/utils"; +import { cn } from "@/utils"; import styles from "@/styles/styles"; import type { Metadata } from "next"; import APP_CONFIG from "@/config/config"; diff --git a/src/components/Common/BodyText/BodyText.tsx b/src/components/Common/BodyText/BodyText.tsx index 9a5f2f1..58bbd0f 100644 --- a/src/components/Common/BodyText/BodyText.tsx +++ b/src/components/Common/BodyText/BodyText.tsx @@ -1,5 +1,5 @@ import { bodyFont } from "@/fonts/fonts"; -import { cn } from "@/lib/utils"; +import { cn } from "@/utils"; import { PropsWithChildren } from "react"; type TBodyText = PropsWithChildren<{ diff --git a/src/components/Common/Container/Container.tsx b/src/components/Common/Container/Container.tsx index f735a8e..ae70a59 100644 --- a/src/components/Common/Container/Container.tsx +++ b/src/components/Common/Container/Container.tsx @@ -1,4 +1,4 @@ -import { cn } from "@/lib/utils"; +import { cn } from "@/utils"; import styles from "@/styles/styles"; import { PropsWithChildren } from "react"; diff --git a/src/components/Common/Navbar/Navbar.tsx b/src/components/Common/Navbar/Navbar.tsx index d3447ba..43af387 100644 --- a/src/components/Common/Navbar/Navbar.tsx +++ b/src/components/Common/Navbar/Navbar.tsx @@ -1,6 +1,6 @@ import MseLink from "@/components/Ui/MseLink/MseLink"; import MseLogo from "@/components/Ui/MseLogo/MseLogo"; -import { cn } from "@/lib/utils"; +import { cn } from "@/utils"; import Container from "../Container/Container"; const Navbar = () => { diff --git a/src/components/Common/TitleText/TitleText.tsx b/src/components/Common/TitleText/TitleText.tsx index 100a216..c9f6efb 100644 --- a/src/components/Common/TitleText/TitleText.tsx +++ b/src/components/Common/TitleText/TitleText.tsx @@ -1,5 +1,5 @@ import { titleFont } from "@/fonts/fonts"; -import { cn } from "@/lib/utils"; +import { cn } from "@/utils"; import { PropsWithChildren } from "react"; type TTitleText = PropsWithChildren<{ diff --git a/src/components/MSE/HomeSection.tsx b/src/components/MSE/HomeSection.tsx index 8490635..0b36f3b 100644 --- a/src/components/MSE/HomeSection.tsx +++ b/src/components/MSE/HomeSection.tsx @@ -1,6 +1,6 @@ "use client"; import { titleFont } from "@/fonts/fonts"; -import { cn } from "@/lib/utils"; +import { cn } from "@/utils"; import { Variants, motion, useInView } from "framer-motion"; import Link from "next/link"; import { ReactNode, useRef } from "react"; @@ -76,7 +76,10 @@ const HomeSection = () => { )} > {title.map((title, index) => ( - + ))} diff --git a/src/components/MSE/JoinSection.tsx b/src/components/MSE/JoinSection.tsx index 3bef035..4e9bc21 100644 --- a/src/components/MSE/JoinSection.tsx +++ b/src/components/MSE/JoinSection.tsx @@ -6,7 +6,7 @@ import BodyText from "../Common/BodyText/BodyText"; import SquareBox from "../Ui/SquareBox/SquareBox"; import TitleText from "../Common/TitleText/TitleText"; import APP_CONFIG from "@/config/config"; -import { cn } from "@/lib/utils"; +import { cn } from "@/utils"; import FacebookArrows from "../Ui/Arrows/FacebookArrows"; const JoinSection = () => { @@ -34,7 +34,7 @@ const JoinSection = () => { diff --git a/src/components/Ui/SquareBox/SquareBox.tsx b/src/components/Ui/SquareBox/SquareBox.tsx index d77de38..d3750c5 100644 --- a/src/components/Ui/SquareBox/SquareBox.tsx +++ b/src/components/Ui/SquareBox/SquareBox.tsx @@ -1,4 +1,4 @@ -import { cn } from "@/lib/utils"; +import { cn } from "@/utils"; import { PropsWithChildren } from "react"; import styles from "@/styles/styles";