-
-
+
);
};
-export default Header;
+export default Hero;
\ No newline at end of file
diff --git a/src/css/custom.css b/src/css/custom.css
index be920687..aacc5308 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -473,6 +473,29 @@ body {
/* ===== SECTION 11: CRITICAL FIX: TABLET/IPAD NAVBAR BEHAVIOR ===== */
@media screen and (max-width: 996px) {
+ :root {
+ --ifm-navbar-top-offset: 0px;
+ }
+
+ .theme-announcement-bar,
+ [class*="announcementBar"] {
+ display: none !important;
+ height: 0 !important;
+ min-height: 0 !important;
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+
+ .navbar--fixed-top {
+ position: fixed !important;
+ top: 0 !important;
+ left: 0 !important;
+ right: 0 !important;
+ width: 100% !important;
+ margin-top: 0 !important;
+ transform: none !important;
+ }
+
/* Hide TOP navbar items on mobile (not sidebar) */
/*
@@ -495,6 +518,7 @@ body {
/* Clean mobile navbar layout - prevent overflow */
.navbar {
+
padding: 0.5rem 0.5rem !important;
height: 56px !important;
}
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index e3368cbf..5b4cce33 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -2,9 +2,7 @@ import React, { useEffect, useState } from "react";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import type { ReactNode } from "react";
-
-import Head from "@docusaurus/Head";
-import Header from "../components/header/header";
+import Hero from "../components/hero/hero";
import ScrollBottomToTop from "../components/scroll/bottom-to-top";
import { BlogCarousel } from "../components/blogCarousel/blogCarousel";
@@ -41,14 +39,6 @@ export default function Home(): ReactNode {
title={`${siteConfig.title}`}
description="Welcome to recode hive. Learn the basics to advanced concepts of web development. sql, python, Cloud, GitHub and more."
>
-
-
-
-
{/* ✅ Wrap in solid background to fix light mode */}