Skip to content

Commit

Permalink
Merge pull request #573 from ssk090/feat/navbar-loader
Browse files Browse the repository at this point in the history
feat: added navbar loader
  • Loading branch information
hkirat authored May 12, 2024
2 parents e91505a + 4396829 commit f804b3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
},
"dependencies": {
"@auth/prisma-adapter": "^1.0.6",
"nextjs-toploader": "^1.6.11",
"@discordjs/core": "^1.1.1",
"@discordjs/next": "^0.1.1-dev.1673526225-a580768.0",
"@icons-pack/react-simple-icons": "^9.4.0",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { GoogleAnalytics } from '@/components/analytics/GoogleAnalytics';
import { siteConfig } from '@/config/site-config';
import Footer from '@/components/landing/footer/footer';
import { Toaster } from '@/components/ui/sonner';
import NextTopLoader from 'nextjs-toploader';

const fontSans = FontSans({
subsets: ['latin'],
Expand All @@ -29,6 +30,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {
<GoogleAnalytics />
<Providers>
<Appbar />
<NextTopLoader color="#2E78C7" height={2} />
{/* this is done as to keep footer in the bottom of the page */}
<div className="min-h-[calc(100vh-64px)]">{children}</div>
<Footer />
Expand Down

0 comments on commit f804b3e

Please sign in to comment.