From fb6bd6b46087de70ad313629e43a5a5a97de0c54 Mon Sep 17 00:00:00 2001 From: Akhil Pillai Date: Fri, 27 Dec 2024 13:32:23 -0800 Subject: [PATCH] try this --- .github/workflows/nextjs.yml | 18 +++++++++--------- src/app/layout.tsx | 8 +++++++- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 7ea5dd1..4d5e6d2 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -7,7 +7,7 @@ name: Deploy Next.js site to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -21,7 +21,7 @@ permissions: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: - group: "pages" + group: 'pages' cancel-in-progress: false jobs: @@ -51,16 +51,16 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: "node" + node-version: 'node' cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v5 - with: - # Automatically inject basePath in your Next.js configuration file and disable - # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). - # - # You may remove this line if you want to manage the configuration yourself. - static_site_generator: next + #with: + # Automatically inject basePath in your Next.js configuration file and disable + # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). + # + # You may remove this line if you want to manage the configuration yourself. + #static_site_generator: next - name: Restore cache uses: actions/cache@v4 with: diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 24ce582..c2c9638 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -4,7 +4,7 @@ import { RootUrl } from '@/lib/constants'; import { cn } from '@/lib/utils'; import { Open_Sans as FontSans, Vollkorn as FontSerif } from 'next/font/google'; import Link from '@/components/misc/link'; -import { Home, Search } from 'lucide-react'; +import { BookOpenText, Home, Search } from 'lucide-react'; const fontSans = FontSans({ subsets: ['latin'], @@ -54,6 +54,12 @@ export default function RootLayout({ + + + + + + {children}