Skip to content

Commit

Permalink
inconsistent-footer-bug-fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AKACHI-4 committed Oct 25, 2023
1 parent a11256b commit 7f00965
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 7f00965

Please sign in to comment.