返回 Skill 列表
extension
分类: 开发与工程无需 API Key

managing-layouts-navigation

管理根布局、持久导航栏和页脚。在定义应用程序的全局外壳时使用。

person作者: jakexiaohubgithub

Global Layout and Navigation

When to use this skill

  • Editing layout.tsx.
  • Building responsive navigation.

Components

  • Navbar: Sticky top, glassmorphism, dynamic links (Auth state dependent).
  • Mobile Menu: Hamburger icon, full-screen overlay or slide-out tray.
  • Footer: Multi-column (destinations, support, social links).

Instructions

  • Active State: Highlight current route in the navbar.
  • Responsive: Ensure the navbar transitions smoothly from desktop links to mobile burger menu.