From a8fa457923cf324d351f93b9491f9e6cc7e240d8 Mon Sep 17 00:00:00 2001 From: Huzaifa785 Date: Mon, 2 Oct 2023 22:26:18 +0530 Subject: [PATCH 1/2] remove next-font warning --- package-lock.json | 6 ------ package.json | 1 - 2 files changed, 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index dd3cef0..64b9191 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,6 @@ "name": "frontend-freaks-website", "version": "0.1.0", "dependencies": { - "@next/font": "^13.4.7", "@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-dialog": "^1.0.4", "@radix-ui/react-dropdown-menu": "^2.0.5", @@ -872,11 +871,6 @@ "glob": "7.1.7" } }, - "node_modules/@next/font": { - "version": "13.4.7", - "resolved": "https://registry.npmjs.org/@next/font/-/font-13.4.7.tgz", - "integrity": "sha512-l28ifb3pjKznQeXmiCD5VXkmqdpMrcUQMr4ZChAgTKrjckl/aGyRLOIlL/ABhTHmzMujdt/TTWUsdABArNK5gA==" - }, "node_modules/@next/swc-darwin-arm64": { "version": "13.4.7", "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.7.tgz", diff --git a/package.json b/package.json index eb20e56..8661ff2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "lint": "next lint" }, "dependencies": { - "@next/font": "^13.4.7", "@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-dialog": "^1.0.4", "@radix-ui/react-dropdown-menu": "^2.0.5", From ee1848f36fe67229a35243325375b3bd1df35ed6 Mon Sep 17 00:00:00 2001 From: Huzaifa785 Date: Wed, 4 Oct 2023 19:03:21 +0530 Subject: [PATCH 2/2] docs nav option available on all pages --- app/(batches)/layout.tsx | 2 +- components/layout/main-nav.tsx | 2 +- config/nav.ts | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/(batches)/layout.tsx b/app/(batches)/layout.tsx index ac90665..834d15b 100644 --- a/app/(batches)/layout.tsx +++ b/app/(batches)/layout.tsx @@ -15,7 +15,7 @@ const CourseRootLayout = ({ children }: BatchRootLayoutProps) => {
- + diff --git a/components/layout/main-nav.tsx b/components/layout/main-nav.tsx index 6d926b2..03317ca 100644 --- a/components/layout/main-nav.tsx +++ b/components/layout/main-nav.tsx @@ -21,7 +21,7 @@ export default function MainNav({ items, children }: MainNavProps) {
- Frontend Freaks + Frontend Freaks diff --git a/config/nav.ts b/config/nav.ts index a81b69e..08d707b 100644 --- a/config/nav.ts +++ b/config/nav.ts @@ -13,5 +13,8 @@ export const navConfig: NavItem[] = [ title: "Hire", href: "/batch/hire/hire", }, - + { + title: "Docs", + href: "/docs", + } ];