This is the job test if you wish to be a front-end developer at Blazar Capital
When you have completed this test you will have demonstrated skills/knowledge in
- git
- html
- css
- javascript
- liquid
When building the different elements make sure to apply responsivness, so the page looks good on the following media queries:
- Mobile - 375px
- Tablet/Desktop - 768px
Hero banner:
- Show
Collection title
- Show
Collection image
- File located in
theme/snippets/collection-collection-hero.liquid
Product list:
- Iterate over the products in the collection.
- Use
product-card
snippet to render product and prevent repetitive code. - File located in
theme/snippets/collection-product-list.liquid
Product card:
- Show
Product title
- Show
Product size
andProduct color
. Only included in the product title.- Find a smart way to show them display them separately.
- The
Product price
. - The 'Add to cart' button should only show on hover for desktop and always be visible for mobile.
- File located in
theme/snippets/product-card.liquid
Add to cart button:
- Use a click event to add the product to the cart.
- A product id and quantity is required when adding an item to the cart.
Mini cart:
- Should always show the current number of products in the cart.
- File located in
theme/snippets/mini-cart.liquid
Stylesheets
- Located in
theme/assets/theme.scss.liquid
Scripts:
- Located in
theme/assets/theme.js.liquid
Pagination:
- You should be able to navigate through the products. Make sure you have at least 10 products.
- Note: Shopify allows a maximum of 50 products per page.
To complete this test.
- Fork this repository
- Create a website based on the supplied PSD-file (it is not required to use the images from the PSD-file)
- Create a pull request to this repository
Note: Both products and collection have already been created in Shopify and available through Liquid. So there's no need to upload any assets.
ThemeKit allows you sync your local theme files to your Shopify store. You will be provided with
- A
config.yml
file to connect to your store to be placed in your root of yourtheme
directory. - A preview link to view your changes.
How to use:
- Navigate to your
theme
directory and runtheme watch -a
to start the sync between your local theme files and the store.
To complete this test.
- Fork this repository
- Create a website based on the supplied desig files in the
design
directory (All images and icons are already in theme or available from Shopify) - Create a pull request to this repository