Skip to content

Commit

Permalink
Merge pull request #247 from AKACHI-4/master
Browse files Browse the repository at this point in the history
[Fix] : Inconsistent footer fixed !!
  • Loading branch information
Vishal-raj-1 authored Oct 26, 2023
2 parents a11256b + ce783c4 commit 450ff20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/(batches)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import SiteFooter from "@/components/layout/site-footer";
import { ModeToggle } from "@/components/mode-toggle";
import { navConfig } from "@/config/nav";
import { docsConfig } from "@/config/sidebar";
import { socialConfig } from "@/config/social";
import Link from "next/link";


Expand Down Expand Up @@ -38,7 +39,7 @@ const CourseRootLayout = ({ children }: BatchRootLayoutProps) => {
</div>
</header>
<div className="container flex-1">{children}</div>
<SiteFooter />
<SiteFooter items={socialConfig} />
</div>
);
};
Expand Down
3 changes: 2 additions & 1 deletion app/(docs)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { DocumentationConfig } from "@/config/docs";
import { docsConfig } from "@/config/sidebar";
import Link from "next/link";
import SiteFooter from "@/components/layout/site-footer";
import { socialConfig } from "@/config/social";

interface BatchRootLayoutProps {
children: React.ReactNode;
Expand Down Expand Up @@ -37,7 +38,7 @@ const CourseRootLayout = ({ children }: BatchRootLayoutProps) => {
</div>
</header>
<div className="container flex-1">{children}</div>
<SiteFooter />
<SiteFooter items={socialConfig} />
</div>
);
};
Expand Down

0 comments on commit 450ff20

Please sign in to comment.