diff --git a/src/app/(public)/_components/button.tsx b/src/app/(public)/_components/button.tsx index 93b78dd..0c66a4d 100644 --- a/src/app/(public)/_components/button.tsx +++ b/src/app/(public)/_components/button.tsx @@ -14,13 +14,13 @@ export function Button({
diff --git a/src/app/(public)/_components/header.tsx b/src/app/(public)/_components/header.tsx index cfc4c10..6c83793 100644 --- a/src/app/(public)/_components/header.tsx +++ b/src/app/(public)/_components/header.tsx @@ -16,26 +16,26 @@ export async function Header() { return (
-
- +
+ {/* Desktop Search - Hidden on mobile */} -
+
{/* Desktop Navigation - Hidden on mobile */} -
+
-
@@ -44,7 +44,7 @@ export async function Header() { href="https://github.com/max-programming/hacktoberfest-projects" target="_blank" rel="noreferrer" - className="btn btn-square btn-ghost umami--click--github-button hover:text-hacktoberfest-light transition-colors" + className="btn btn-square btn-ghost umami--click--github-button hover:text-hacktoberfest-light transition-colors flex-shrink-0" > @@ -55,7 +55,7 @@ export async function Header() {
{/* Mobile Search - Visible only on mobile */} -
+
diff --git a/src/app/(public)/_components/hero.tsx b/src/app/(public)/_components/hero.tsx index 1e37ce7..c87c664 100644 --- a/src/app/(public)/_components/hero.tsx +++ b/src/app/(public)/_components/hero.tsx @@ -1,5 +1,3 @@ -'use client'; - import { useRouter } from 'next/navigation'; import { Search } from 'lucide-react'; @@ -27,12 +25,12 @@ export function Hero() { return (
-
-

+
+

Search your language

@@ -41,29 +39,29 @@ export function Hero() { type="text" placeholder="Search for your language" className="w-full max-w-xs bg-transparent rounded-tr-none rounded-br-none input input-bordered text-hacktoberfest-light border-hacktoberfest-light - focus:border-hacktoberfest-light focus:!outline-none focus-visible:!outline-none placeholder:text-hacktoberfest-light" + focus:border-hacktoberfest-light focus:!outline-none focus-visible:!outline-none placeholder:text-hacktoberfest-light text-sm sm:text-base" name="search" />
-

+

Or select the programming language you would like to find repositories for.

-
+
{mainLanguages.map(language => ( ))}
- @@ -75,7 +73,7 @@ export function Hero() {
  • {language} diff --git a/src/app/(public)/_components/mobile-menu.tsx b/src/app/(public)/_components/mobile-menu.tsx index 1e7f2e2..fecf24d 100644 --- a/src/app/(public)/_components/mobile-menu.tsx +++ b/src/app/(public)/_components/mobile-menu.tsx @@ -20,32 +20,32 @@ export function MobileMenu({ session }: MobileMenuProps) { const toggleMenu = () => setIsOpen(!isOpen); return ( -
    +
    {/* Hamburger Button */} {/* Mobile Menu Overlay */} {isOpen && ( -
    -
    +
    +
    -
    setIsOpen(false)} > - + Contributors @@ -53,10 +53,10 @@ export function MobileMenu({ session }: MobileMenuProps) { href="https://github.com/max-programming/hacktoberfest-projects" target="_blank" rel="noreferrer" - className="flex items-center gap-3 text-white hover:text-hacktoberfest-light transition-colors p-3 rounded-lg" + className="flex items-center gap-3 text-white hover:text-hacktoberfest-light transition-colors p-2 rounded-lg" onClick={() => setIsOpen(false)} > - + GitHub
    diff --git a/src/app/(public)/_components/search-form.tsx b/src/app/(public)/_components/search-form.tsx index ecd3668..8eb9364 100644 --- a/src/app/(public)/_components/search-form.tsx +++ b/src/app/(public)/_components/search-form.tsx @@ -1,5 +1,3 @@ -'use client'; - import { usePathname, useSearchParams, useRouter } from 'next/navigation'; import { useForm } from 'react-hook-form'; import { GoX } from 'react-icons/go'; @@ -35,21 +33,21 @@ export function SearchForm() { } return ( -
    +
    {searchQuery && searchQuery.trim() !== '' && (