Components
Navbar
The Navbar component is a responsive Angular component that displays a navigation menu. It supports smooth scrolling and external links, with mobile-specific visibility adjustments.
Features
- Responsive Design: Adjusts visibility and font sizes of menu items based on screen width.
- Mobile Optimization: Only the first two menu items are visible on mobile devices.
- Scroll Navigation: Smoothly scroll to specific sections of the page.
- External Links: Open links in a new browser tab.
- Customizable Menu: Accepts an array of menu items for flexible configuration.
Usage
Step 1: Import the Component
Add the NavbarComponent to your Angular project by including it in page component. Remember to add it into imports array.
Step 2: Add the Template
Include the component on your page:
Configuration
Menu Items
Customize the navigation menu by modifying the menuItems array.
Custom Menu Items
Logo
Add your own logo in the /assets/icons folder.