Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Update docs

Vasek Mlejnsky51aa65f8ebdc
diff --git a/apps/web/src/components/Header.tsx b/apps/web/src/components/Header.tsx
index b70a1bc7e..f08ebcb9d 100644
--- a/apps/web/src/components/Header.tsx
+++ b/apps/web/src/components/Header.tsx
@@ -97,6 +97,7 @@ export const Header = forwardRef(function Header({ className }, ref) {
<div className='flex items-center gap-1'>
<DocumentationTypeLink pathname={pathname} href="/docs" title="Documentation" />
<DocumentationTypeLink pathname={pathname} href="/docs/reference" title="* Reference" />
+ <DocumentationTypeLink pathname={pathname} href="/dashboard" title="Dashboard" />
</div>
</div>
{/* {isDocs && <Search />} */}
diff --git a/apps/web/src/components/Layout.tsx b/apps/web/src/components/Layout.tsx
index 0bdcb2bdb..92ee0e9e8 100644
--- a/apps/web/src/components/Layout.tsx
+++ b/apps/web/src/components/Layout.tsx
@@ -39,10 +39,9 @@ export function Layout({
lg:w-[var(--sidebar-nav-width)]
lg:overflow-y-auto
lg:px-4
- lg:pb-8
"
>
- {isDocs && <Navigation className="hidden lg:my-4 lg:block" />}
+ {isDocs && <div className="hidden lg:block lg:mt-4"><Navigation /></div>}
</div>
</motion.header>
)}
diff --git a/apps/web/src/components/Navigation/index.tsx b/apps/web/src/components/Navigation/index.tsx
index d1ce2fde0..9511180d0 100644
--- a/apps/web/src/components/Navigation/index.tsx
+++ b/apps/web/src/components/Navigation/index.tsx
@@ -79,7 +79,7 @@ function NavigationGroup({ group, className, isLast }: { group: NavGroup; classN
export function Navigation(props) {
return (
- <nav {...props} className="border-r border-white/10">
+ <nav {...props} className="border-r border-white/10 lg:pb-4">
<ul role="list">
{routes.map((group, groupIndex) => (
<NavigationGroup