Skip to content

gladeye/gladeye-burger-menu-dev-test

Repository files navigation

Gladeye Burger Menu Dev Test

Description

A mobile menu with a nested accordion style sub menu designed for screens 768px and smaller.

Task

Clone this repo and build out the menu to match the design file supplied (see below).

Figma Design File

https://www.figma.com/file/0UABz9KS3BEj43V93OR8u3/Gladeye-Burger-Menu-Dev-Test

Requirements

  • Use CSS Modules or Tailwind CSS
  • Use Framer Motion or React Transition Group/CSS Transitons for any animations
  • The menu must have some form of enter/exit animation
  • Burger style button opens the menu
  • Close (x) button closes the menu
  • Clicking a menu item with plus (+) icon opens the sub menu
  • Clicking a menu item with minus (-) icon close the sub menu
  • Esc key to close the menu

Bonuses

  • Animate the burger (menu) icon between the open and closed states
  • Clicking a menu item closes the menu
  • Accordion style sub menu open/close animation

Time estimate 2-4 hours.


This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published