Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
Akhil Pillai committed Dec 27, 2024
1 parent af77e91 commit fb6bd6b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
8 changes: 7 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -54,6 +54,12 @@ export default function RootLayout({
<Link href='/'>
<Home />
</Link>
<Link href='/browse/'>
<BookOpenText />
</Link>
<Link href='/search/'>
<Search />
</Link>
</div>
{children}
</body>
Expand Down

0 comments on commit fb6bd6b

Please sign in to comment.