Skip to content

Commit

Permalink
build: update nextjs (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlnf authored Jun 3, 2024
1 parent 2c46b15 commit 622b02a
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 63 deletions.
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"color-convert": "^2.0.1",
"contentlayer": "^0.3.4",
"lodash.clonedeepwith": "^4.5.0",
"next": "14.1.4",
"next": "14.2.3",
"next-contentlayer": "^0.3.4",
"next-themes": "^0.3.0",
"react": "^18.3.1",
Expand Down
17 changes: 7 additions & 10 deletions apps/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { Metadata } from 'next';
import { Lato } from 'next/font/google';
import { ThemeProvider } from 'next-themes';
import './globals.css';
import '@govie-ds/theme-govie/theme.css';
import { Container } from '@/components/chrome/container';
Expand Down Expand Up @@ -30,15 +29,13 @@ export default function RootLayout({
className={`${lato.className} transition duration-500 bg-white h-full`}
// style={{ backgroundColor: "var(--ods-surface-primary)" }}
>
<ThemeProvider>
<div className="flex flex-col gap-2xl h-full">
<TopBar />
<Container as="main" className="grow">
{children}
</Container>
<Footer />
</div>
</ThemeProvider>
<div className="flex flex-col gap-2xl h-full">
<TopBar />
<Container as="main" className="grow">
{children}
</Container>
<Footer />
</div>
</body>
</html>
);
Expand Down
113 changes: 61 additions & 52 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 622b02a

Please sign in to comment.