From 732cebecc405f38432c45983b671c23a094476ac Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Tue, 1 Mar 2022 04:23:19 +0530 Subject: [PATCH 1/2] Update ContentsLayout.js --- src/layouts/ContentsLayout.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/layouts/ContentsLayout.js b/src/layouts/ContentsLayout.js index 885442d6..66d39905 100644 --- a/src/layouts/ContentsLayout.js +++ b/src/layouts/ContentsLayout.js @@ -2,7 +2,7 @@ import { ClassTable } from '@/components/ClassTable' import { PageHeader } from '@/components/PageHeader' import { usePrevNext } from '@/hooks/usePrevNext' import { SidebarContext, SidebarLayout } from '@/layouts/SidebarLayout' -import { ArrowLeftIcon, ArrowRightIcon } from '@heroicons/react/outline' +import { ArrowLeftIcon, ArrowRightIcon, PencilAltIcon } from '@heroicons/react/outline' import clsx from 'clsx' import Link from 'next/link' import { useRouter } from 'next/router' @@ -208,23 +208,18 @@ export function ContentsLayout({ children, meta, classes, tableOfContents }) { )} )} -
+
- + Edit this page on GitHub +
- - - Powered by{' '} - â–²Vercel - -
-
+
{toc.length > 0 && (
From 0571a4dd180794c80af3b2f704b17d1bf4438682 Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Tue, 1 Mar 2022 04:23:24 +0530 Subject: [PATCH 2/2] Update SidebarLayout.js --- src/layouts/SidebarLayout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layouts/SidebarLayout.js b/src/layouts/SidebarLayout.js index 72a0e7af..591a6295 100644 --- a/src/layouts/SidebarLayout.js +++ b/src/layouts/SidebarLayout.js @@ -1,3 +1,4 @@ +import { Footer } from '@/components/home/Footer' import { Logo } from '@/components/Logo' import { useIsomorphicLayoutEffect } from '@/hooks/useIsomorphicLayoutEffect' import { gradients } from '@/utils/gradients' @@ -306,6 +307,7 @@ export function SidebarLayout({ children, navIsOpen, setNavIsOpen, nav, sidebar,
+