+
);
diff --git a/src/components/TopBanners.tsx b/src/components/TopBanners.tsx
index 80449fe..2d8a872 100644
--- a/src/components/TopBanners.tsx
+++ b/src/components/TopBanners.tsx
@@ -1,7 +1,7 @@
import { TopBanner } from "@site/src/components/Sponsors/TopBanner";
import { useEffect, useState } from "react";
-export const TopBanners = () => {
+export const TopBanners = ({bannerClassName = 'h-18', label= true, description= true, mobile = true }) => {
const items = [
{
imgSrc: "/sponsors/banners/n8n-banner.png",
@@ -80,5 +80,5 @@ export const TopBanners = () => {
}, []);
- return
;
+ return
;
};
diff --git a/src/css/custom.css b/src/css/custom.css
index 4bb8886..d5ef345 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -34,6 +34,13 @@
--ifm-global-shadow-md: 0px; /* Remove shadow on the left */
}
+/** In mobile view, reduce the padding */
+@media screen and (max-width: 996px) {
+ :root {
+ --ifm-navbar-height: 100%;
+ }
+}
+
[data-theme="light"] {
--ifm-menu-color: #000;
}
diff --git a/src/theme/Navbar/Content/index.tsx b/src/theme/Navbar/Content/index.tsx
new file mode 100644
index 0000000..83d386d
--- /dev/null
+++ b/src/theme/Navbar/Content/index.tsx
@@ -0,0 +1,35 @@
+import React from 'react';
+import Content from '@theme-original/Navbar/Content';
+import type ContentType from '@theme/Navbar/Content';
+import type {WrapperProps} from '@docusaurus/types';
+import { TopBanners } from '@site/src/components/TopBanners';
+
+type Props = WrapperProps
;
+
+export default function ContentWrapper(props: Props): JSX.Element {
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+}