From 89ce04e9d59a5d05b085aec99a592c775106ce09 Mon Sep 17 00:00:00 2001 From: ImJustLucas Date: Mon, 28 Oct 2024 18:53:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20changes=20components=20?= =?UTF-8?q?dir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/ClientLayout.tsx | 2 +- app/layout.tsx | 13 +++++++++---- {app/components => components}/sidebar/Sidebar.tsx | 0 .../sidebar/menu/MenuContainer.tsx | 0 .../sidebar/menu/MenuFooter.tsx | 0 .../sidebar/menu/MenuItem.tsx | 0 tsconfig.json | 3 ++- 7 files changed, 12 insertions(+), 6 deletions(-) rename {app/components => components}/sidebar/Sidebar.tsx (100%) rename {app/components => components}/sidebar/menu/MenuContainer.tsx (100%) rename {app/components => components}/sidebar/menu/MenuFooter.tsx (100%) rename {app/components => components}/sidebar/menu/MenuItem.tsx (100%) diff --git a/app/ClientLayout.tsx b/app/ClientLayout.tsx index e7b1749..8f967b5 100644 --- a/app/ClientLayout.tsx +++ b/app/ClientLayout.tsx @@ -1,7 +1,7 @@ "use client"; import { useMobileMenu } from "@/contexts/menu-mobile.context"; -import { Sidebar } from "./components/sidebar/Sidebar"; +import { Sidebar } from "../components/sidebar/Sidebar"; interface ClientLayoutProps { children: React.ReactNode; diff --git a/app/layout.tsx b/app/layout.tsx index aea873f..44a7f8b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,8 +1,12 @@ +import "./globals.css"; + import type { Metadata } from "next"; import localFont from "next/font/local"; -import "./globals.css"; -import ClientLayout from "./ClientLayout"; + +import { Analytics } from "@vercel/analytics/react"; + import { MobileMenuProvider } from "@/contexts/menu-mobile.context"; +import ClientLayout from "./ClientLayout"; const geistSans = localFont({ src: "./fonts/GeistVF.woff", @@ -16,8 +20,9 @@ const geistMono = localFont({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "ImJustLucas", + description: + "I'm a software developer based in the heart of Paris, France, with a focus on crafting high-quality websites and applications.", }; export default function RootLayout({ diff --git a/app/components/sidebar/Sidebar.tsx b/components/sidebar/Sidebar.tsx similarity index 100% rename from app/components/sidebar/Sidebar.tsx rename to components/sidebar/Sidebar.tsx diff --git a/app/components/sidebar/menu/MenuContainer.tsx b/components/sidebar/menu/MenuContainer.tsx similarity index 100% rename from app/components/sidebar/menu/MenuContainer.tsx rename to components/sidebar/menu/MenuContainer.tsx diff --git a/app/components/sidebar/menu/MenuFooter.tsx b/components/sidebar/menu/MenuFooter.tsx similarity index 100% rename from app/components/sidebar/menu/MenuFooter.tsx rename to components/sidebar/menu/MenuFooter.tsx diff --git a/app/components/sidebar/menu/MenuItem.tsx b/components/sidebar/menu/MenuItem.tsx similarity index 100% rename from app/components/sidebar/menu/MenuItem.tsx rename to components/sidebar/menu/MenuItem.tsx diff --git a/tsconfig.json b/tsconfig.json index e7ff90f..b28481c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,8 @@ } ], "paths": { - "@/*": ["./*"] + "@/*": ["./*"], + "@assets/*": ["./assets/*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],