Coder Social home page Coder Social logo

alejandrovc67 / hb-multipage-site-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from milouri23/hb-multipage-site-1

0.0 1.0 0.0 27 KB

This exercise will help you to have a better understanding of the correct structure of a web project.

JavaScript 83.98% CSS 16.02%

hb-multipage-site-1's Introduction

hb-multipage-site

This exercise will help you to have a better understanding of the correct structure of a web project.

Rules

In this exercise you should separate the user interface from any kind of business logic. For this you can use separate modules that are connected using dependencies (import and export).

Take into consideration the following global rules for all components / features:

  • A separate branch should be created each time a new component or feature is implemented, and should only be merged into master using a Pull Request. Please add the Bootcamp Director to your repository so those PRs can be reviewed and merged. Branches should NOT be merged by the developer.
  • Each component should have it's one folder.
  • Each component should use the pug-loader to read the template and generate HTML.
  • Each component should be implemented using the mobile first approach.
  • Each component should be responsive using the following viewports:
    • Small: 320px - 639px
    • Medium: 640px - 1023px
    • Large: 1024px - โˆž

Components

Main Menu

This component should be present on every page since it is a global component that helps the user to navigate between different pages.

Data Structure

{
  "logo": {
    "img": "",
    "link": ""
  },
  "links": [
    {
      "label": "",
      "href": ""
    },
    {
      "label": "",
      "links": [
        {
          "label": "",
          "href": ""
        }
      ]
    }
  ]
}

User Interactions

  • Hamburguer Icon (Small and Medium):
    • Clicking should display or hide the menu depending on the current state.
  • Main Logo:
    • Clicking the main logo should redirect the user to the provided URL.
  • Links:
    • Clicking a link should:
      • Follow the provided link, if the link doesn't have a second level of links.
      • Display the second level of links if they were provided.
    • Hovering on a link should change it's visible state.

Hero (Content Images)

This component can be included on any page and should include images that should be treated as content instead of decorative images, meaning that you need to implement it using picture tags instead of setting the image as a background using CSS.

Data Structure

{
  "header": "",
  "description": "",
  "cta": {
    "label": "",
    "url": ""
  },
  "images": {
    "small": {
      "url": "",
      "description": ""
    },
    "medium": {
      "url": "",
      "description": ""
    },
    "large": {
      "url": "",
      "description": ""
    }
  }
}

User Interactions

  • The user can click the CTA to be redirected to the provided URL.

hb-multipage-site-1's People

Contributors

andrscrrn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.