This project contains a responsive navbar design that adapts dynamically based on data retrieved from a database. The content of the navbar is structured according to types such as "mainButton", "parentButton", "childButton", and "greatChildButton".
- The navbar adapts automatically based on data fetched from the database.
- Buttons and sub-buttons are populated from the database.
- Technologies used: React, Tailwind CSS.
- Clone the project folder to your computer.
- Open the terminal and navigate to the project folder:
cd dynamic-responsive-navbar
- Install the necessary dependencies:
npm install
- Start the project:
npm start
- View the project in your browser:
http://localhost:3000
- "mainButton": Represents the main navigation button, may contain "parentButton" or "childButton" underneath.
- "parentButton": Represents a dropdown-style button under the main button, can contain other buttons.
- "childButton": Represents buttons at a lower level under a "parentButton".
- "greatChildButton": Represents the lowest-level buttons.