AlexanderK88 / A4_biografSajt

Arbetsmetodik och agila projektmetoder Uppgift 2 - en biograf-sajt
3 stars 1 forks source link

Build hamburger menu #48

Closed AlexanderK88 closed 8 months ago

AlexanderK88 commented 8 months ago

I have successfully developed the hamburger menu in line with the stylistic preferences outlined in our Figma document. Additionally, I want to highlight that the header has now been optimized for a mobile-first approach, in accordance with contemporary design principles. Please refer to the images below:

Screenshot 2023-12-28 231155 Screenshot 2023-12-28 231202 Screenshot 2023-12-28 231207 Screenshot 2023-12-28 231211

Do note that when you take the header from the headerAndFooter.html you will need to add this class and add the script src in the head: Screenshot 2023-12-28 231422 Screenshot 2023-12-28 231428

Also you will need to insert the href links to the pages when they have been created on line 18, 19, 20, 29, 30 and 31:

Screenshot 2023-12-28 231927 Screenshot 2023-12-28 231932

AlexanderK88 commented 8 months ago

I also added a additional breakpoint that i needed for the hamburger menu to look good in all different screen sizes:

$small: 480px; $medium: 750px; <------ Added this one $large: 998px; $extraLarge: 1200px;

And i also moved the mixins above the imports otherwise they didnt work.

AlexanderK88 commented 8 months ago

I added a template folder where I put the header and footer file and the template for the movie cards will also be there. Also made all paths relative so that i can have the headerAndFooter.html file in a subfolder but might have to be changed when its implemented on the different pages.

Like this:

Screenshot 2023-12-29 000107 Screenshot 2023-12-29 000259 Screenshot 2023-12-29 000307 Screenshot 2023-12-29 000311 Screenshot 2023-12-29 000315 Screenshot 2023-12-29 000320