Skip to content

Commit

Permalink
feat(web): top loading indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed May 23, 2024
1 parent 92a1256 commit 46adc66
Show file tree
Hide file tree
Showing 4 changed files with 9,964 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"moment": "^2.30.1",
"next": "^14.2.0",
"next-auth": "beta",
"nextjs-toploader": "^1.6.12",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-icons": "^5.2.0",
Expand Down
2 changes: 2 additions & 0 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Metadata, Viewport } from "next";
import { Analytics } from "@vercel/analytics/react";
import { GeistMono } from "geist/font/mono";
import { GeistSans } from "geist/font/sans";
import NextTopLoader from "nextjs-toploader";

import { cn } from "@tanya.in/ui";
import { ThemeToggle } from "@tanya.in/ui/theme";
Expand Down Expand Up @@ -71,6 +72,7 @@ export default async function RootLayout(props: { children: React.ReactNode }) {
GeistMono.variable,
)}
>
<NextTopLoader color="#FFBC05" showSpinner={false} />
<Providers>
<SessionProvider session={session}>
{props.children}
Expand Down
Binary file modified bun.lockb
Binary file not shown.
Loading

0 comments on commit 46adc66

Please sign in to comment.