fix: apply background and blur to nav element for mobile menu
All checks were successful
Build and Push Docker Image to Gitea / build-and-push (push) Successful in 1m12s
All checks were successful
Build and Push Docker Image to Gitea / build-and-push (push) Successful in 1m12s
Move background styling to the nav element itself with rounded corners. - Add bg-background/95 backdrop-blur-md to nav element - Add rounded-lg and p-4 for better visual appearance - Creates frosted glass card effect for the mobile menu 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -117,8 +117,8 @@ export function Navbar() {
|
|||||||
{/* Mobile Menu Drawer */}
|
{/* Mobile Menu Drawer */}
|
||||||
{mobileMenuOpen && (
|
{mobileMenuOpen && (
|
||||||
<div className="md:hidden fixed inset-0 top-16 z-50">
|
<div className="md:hidden fixed inset-0 top-16 z-50">
|
||||||
<div className="container px-4 py-6 bg-background/95 backdrop-blur-md h-full">
|
<div className="container px-4 py-6">
|
||||||
<nav className="flex flex-col gap-2">
|
<nav className="flex flex-col gap-2 bg-background/95 backdrop-blur-md rounded-lg p-4">
|
||||||
{navItems.map((item) => (
|
{navItems.map((item) => (
|
||||||
<Link key={item.href} href={item.href}>
|
<Link key={item.href} href={item.href}>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user