This page is a personal project to learn about Vue.js and a11y.
- Vue.js
- Vue-cli
- Sass
- Marvel API
- Get an API key by sign in here: https://developer.marvel.com/signup
- Create a
credentials.js
file insidesrc
folder with the following structure:
const MARVEL_KEY_PUBLIC = 'YOUR_PUBLIC_KEY_HERE';
const MARVEL_KEY_PRIVATE = 'YOUR_PRIVATE_KEY_HERE';
const urlAPI = 'https://gateway.marvel.com:443/v1/public/';
export { MARVEL_KEY_PUBLIC, MARVEL_KEY_PRIVATE, urlAPI };
- Read the terms of use for the Marvel Comics API here: https://developer.marvel.com/terms
- Observe the attribution and linking guidelines when displaying data from the API here: https://developer.marvel.com/documentation/attribution
The next are the breakpoints defined in the project
Breakpoint | Purpose |
---|---|
(default) | Mobile-portrait |
min-width: 480px | Mobile-landscape (and larger) |
min-width: 768px | Tablet-portrait (and larger) |
min-width: 992px | Tablet-landscape (and larger) |
min-width: 1200px | Laptops (and larger) |
A mixin called breakpoint
was created to handle the responsive behavior of the page.
The available parameters for the mixin are:
sm: 480px // Small devices
md: 768px // Medium devices
lg: 992px // Large devices
xl: 1200px // X-large devices
yarn install
yarn run serve
yarn run build
yarn run test
yarn run lint