Skip to content

Commit

Permalink
Add products I'm selling
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagogabriel committed Mar 18, 2018
1 parent 2ae7a86 commit 8093ddc
Show file tree
Hide file tree
Showing 18 changed files with 85 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ github_username: thiagogabriel
markdown: kramdown
permalink: /blog/:year/:month/:day/:title/

gems:
plugins:
- jemoji
47 changes: 47 additions & 0 deletions _data/products.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
- title: Cafeteira French Press 1L com filtro duplo
url: http://pr.olx.com.br/regiao-de-londrina/utilidades-domesticas/cafeteira-french-press-1-l-com-filtro-duplo-460760305
image: cafeteira-french-press.jpg

- title: Cadeira Presidente Airys com Regulagens Avançadas
url: http://pr.olx.com.br/regiao-de-londrina/moveis/cadeira-de-escritorio-profissional-ultra-confortavel-459770747
image: cadeira-presidente-airys.jpg

- title: Mesa de madeira com 4 cadeiras
url: http://pr.olx.com.br/regiao-de-londrina/moveis/mesa-de-madeira-com-4-cadeiras-456675016
image: mesa-4-cadeiras.jpg

- title: Ar Condicionado portátil
url: http://pr.olx.com.br/regiao-de-londrina/eletrodomesticos/ar-condicionado-portatil-tcl-456682859
image: ar-condicionado-portatil-tcl.jpg

- title: Cama de casal
url: http://pr.olx.com.br/regiao-de-londrina/moveis/cama-box-casal-usada-456909278
image: cama-de-casal.jpg

- title: Abridor de vinhos elétrico
url: http://pr.olx.com.br/regiao-de-londrina/utilidades-domesticas/abridor-de-vinhos-eletrico-457044870
image: abridor-de-vinho.jpg

- title: Escrivaninha de madeira com gaveta
url: http://pr.olx.com.br/regiao-de-londrina/moveis/escrivaninha-de-madeira-com-gaveta-459764865
image: escrivaninha-de-madeira.jpg

- title: Suporte multifuncional articulado
url: http://pr.olx.com.br/regiao-de-londrina/computadores-e-acessorios/suporte-multifuncional-articulado-459780281
image: suporte-articulado.jpg

- title: Mochila para notebook Chenson
url: http://pr.olx.com.br/regiao-de-londrina/computadores-e-acessorios/mochila-para-notebook-chenson-usada-459782644
image: mochila-notebook.jpg

- title: Tabua de passar roupa
url: http://pr.olx.com.br/regiao-de-londrina/utilidades-domesticas/tabua-de-passar-roupa-usada-459837818
image: tabua-de-passar.jpg

- title: Monitor 4K 28" Gamer Samsung
url: http://pr.olx.com.br/regiao-de-londrina/computadores-e-acessorios/monitor-led-28-gamer-mode-samsung-lu28e590ds-ultra-hd-4k-460655441
image: monitor-4k-28.jpg

- title: SSD Samsung 840 120GB
url: http://pr.olx.com.br/regiao-de-londrina/computadores-e-acessorios/ssd-samsung-840-120gb-460761871
image: ssd-samsung-840-120gb.jpg
11 changes: 11 additions & 0 deletions _layouts/store.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>
</body>
</html>
7 changes: 7 additions & 0 deletions _sass/_products.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.product-image {
max-width: 300px;
}

h2.product-name {
font-size: 30px;
}
3 changes: 2 additions & 1 deletion css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ $on-laptop: 800px;
"base",
"layout",
"syntax-highlighting",
"custom"
"custom",
"products"
;
Binary file added images/products/abridor-de-vinho.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/ar-condicionado-portatil-tcl.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/cadeira-presidente-airys.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/cafeteira-french-press.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/cama-de-casal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/escrivaninha-de-madeira.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/mesa-4-cadeiras.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/mochila-notebook.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/monitor-4k-28.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/ssd-samsung-840-120gb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/suporte-articulado.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/products/tabua-de-passar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions loja.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: store
permalink: /loja/
---

<p>Clique no link para ver os preços e mais imagens. Valores negociáveis.</p>

<article class="post">
{% for product in site.data.products %}
<header class="post-header">
<a href="{{ product.url}}">
<h2 class="product-name">{{ product.title }}</h2>
<img class="product-image" src="/images/products/{{ product.image }}"></img>
</a>
</header>
{% endfor %}
</article>

0 comments on commit 8093ddc

Please sign in to comment.