@@ -113,10 +113,10 @@ const TopLevelAnchor = forwardRef(
href={href}
onClick={onClick}
className={clsx(
- 'flex items-center px-3 hover:text-gray-900 transition-colors duration-200',
+ 'flex items-center px-3 hover:text-gray-900 dark:hover:text-white dark:text-gray-400 transition-colors duration-200',
className,
{
- 'text-gray-900': isActive,
+ 'text-gray-900 dark:text-white': isActive,
}
)}
>
@@ -294,7 +294,7 @@ export function SidebarLayout({ children, navIsOpen, setNavIsOpen, nav, sidebar,
{
Router.events.off('routeChangeComplete', handleRouteChange)
}
- }, [navIsOpen],[router.events])
+ }, [navIsOpen], [router.events])
const Layout = Component.layoutProps?.Layout || Fragment
const layoutProps = Component.layoutProps?.Layout
@@ -65,36 +66,38 @@ export default function App({ Component, pageProps, router }) {
return (
<>
-
{meta.metaTitle || meta.title}
-
-
-
-
-
-
-
-
-
-
-
- {router.pathname !== '/' && (
-
setNavIsOpen(isOpen)} />
- )}
-
-
-
+
+ {meta.metaTitle || meta.title}
+
+
+
+
+
+
+
+
+
+
+
+ {router.pathname !== '/' && (
+ setNavIsOpen(isOpen)} />
+ )}
+
+
+
+
>
)
}
diff --git a/src/pages/_document.js b/src/pages/_document.js
index 1ecfb8e6..9723f989 100644
--- a/src/pages/_document.js
+++ b/src/pages/_document.js
@@ -11,7 +11,7 @@ export default class Document extends NextDocument {
@@ -40,7 +40,7 @@ export default class Document extends NextDocument {
}}
/>
-
+
diff --git a/src/pages/docs/index.js b/src/pages/docs/index.js
index 0d3fd44b..28489f84 100644
--- a/src/pages/docs/index.js
+++ b/src/pages/docs/index.js
@@ -20,8 +20,8 @@ export default function DocsLandingPage() {
-
Read the docs
-
+
Read the docs
+
Learn how to get Java set up in your project.
@@ -46,8 +46,8 @@ export default function DocsLandingPage() {
-
Java Programs
-
+
Java Programs
+
Start coding right now or go through Java code.
-
+
-
-
+
Learn{' '}
Java
@@ -92,7 +94,7 @@ export default function Home() {
-
@@ -115,7 +117,7 @@ export default function Home() {
-
+
“ Learning By Doing ” actually works.
diff --git a/src/pages/programs/index.js b/src/pages/programs/index.js
index 232e7020..31992feb 100644
--- a/src/pages/programs/index.js
+++ b/src/pages/programs/index.js
@@ -18,7 +18,7 @@ export default function ProgramsLandingPage() {
-
Java Programs
+
Java Programs
A bunch of Java programms for learning and practicing.
diff --git a/src/pages/sponsors/index.js b/src/pages/sponsors/index.js
index c04c210e..f36a0994 100644
--- a/src/pages/sponsors/index.js
+++ b/src/pages/sponsors/index.js
@@ -19,8 +19,8 @@ export default function Sponsors() {
-
-
+
+
@@ -46,7 +46,7 @@ export default function Sponsors() {
Visit Vercel
-
-
+
+