Skip to content

Commit

Permalink
Merge pull request #28 from diogofranciscop/development
Browse files Browse the repository at this point in the history
Update images for cellphone
  • Loading branch information
diogofranciscop authored Dec 24, 2024
2 parents d5c8967 + dc5a36d commit 840eb10
Show file tree
Hide file tree
Showing 58 changed files with 17 additions and 3 deletions.
10 changes: 10 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@
<link rel="preload" as="image" href="/assets/img/almondegas-180px.webp">
<link rel="preload" as="image" href="/assets/img/soja-alentejana-180px.webp">
<link rel="preload" as="image" href="/assets/img/carbonara-tempeh-180px.webp">
<link rel="preload" as="image" href="/assets/img/bowl-quinoa-180px.webp">
<link rel="preload" as="image" href="/assets/img/yakisoba-180px.webp">


<link rel="preload" as="image" href="/assets/img/salada-sem-polvo-126px.webp">
<link rel="preload" as="image" href="/assets/img/bolo-chocolate-126px.webp">
<link rel="preload" as="image" href="/assets/img/francesinha-126px.webp">
<link rel="preload" as="image" href="/assets/img/almondegas-126px.webp">
<link rel="preload" as="image" href="/assets/img/soja-alentejana-126px.webp">
<link rel="preload" as="image" href="/assets/img/carbonara-tempeh-126px.webp">


<link rel="preload" href="/assets/js/version.js" as="script">
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_sass/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ display: none;
}

.card__img {
width: 128px !important; /* Reduced width */
width: 126px !important; /* Reduced width */
height: 140px !important; /* Reduced height */
margin-top: 5px; /* Reduced margin */
}
Expand Down
Binary file added assets/img/almondegas-126px.webp
Binary file not shown.
Binary file added assets/img/arroz-sem-pato-126px.webp
Binary file not shown.
Binary file modified assets/img/arroz-sem-pato-180px.webp
Binary file not shown.
Binary file added assets/img/arroz-tomate-com-panados-126px.webp
Binary file not shown.
Binary file modified assets/img/arroz-tomate-com-panados-180px.webp
Binary file not shown.
Binary file added assets/img/assado-batata-grao-126px.webp
Binary file not shown.
Binary file modified assets/img/assado-batata-grao-180px.webp
Binary file not shown.
Binary file added assets/img/batata-doce-feijao-preto-126px.webp
Binary file not shown.
Binary file modified assets/img/batata-doce-feijao-preto-180px.webp
Binary file not shown.
Binary file added assets/img/bolachas_aveia-126px.webp
Binary file not shown.
Binary file modified assets/img/bolachas_aveia-180px.webp
Binary file not shown.
Binary file added assets/img/bolo-chocolate-126px.webp
Binary file not shown.
Binary file added assets/img/bolonhesa-tofu-126px.webp
Binary file not shown.
Binary file modified assets/img/bolonhesa-tofu-180px.webp
Binary file not shown.
Binary file added assets/img/bowl-quinoa-126px.webp
Binary file not shown.
Binary file modified assets/img/bowl-quinoa-180px.webp
Binary file not shown.
Binary file added assets/img/caldo-verde-126px.webp
Binary file not shown.
Binary file modified assets/img/caldo-verde-180px.webp
Binary file not shown.
Binary file added assets/img/carbonara-tempeh-126px.webp
Binary file not shown.
Binary file added assets/img/carbonara2-126px.webp
Binary file not shown.
Binary file modified assets/img/carbonara2-180px.webp
Binary file not shown.
Binary file added assets/img/crepioca-126px.webp
Binary file not shown.
Binary file modified assets/img/crepioca-180px.webp
Binary file not shown.
Binary file added assets/img/francesinha-126px.webp
Binary file not shown.
Binary file added assets/img/guisado-soja-126px.webp
Binary file not shown.
Binary file modified assets/img/guisado-soja-180px.webp
Binary file not shown.
Binary file added assets/img/kebab-jaca-126px.webp
Binary file not shown.
Binary file modified assets/img/kebab-jaca-180px.webp
Binary file not shown.
Binary file added assets/img/mousse-126px.webp
Binary file not shown.
Binary file modified assets/img/mousse-180px.webp
Binary file not shown.
Binary file added assets/img/overnight-weetabix-126px.webp
Binary file not shown.
Binary file modified assets/img/overnight-weetabix-180px.webp
Binary file not shown.
Binary file added assets/img/pataniscas-126px.webp
Binary file not shown.
Binary file modified assets/img/pataniscas-180px.webp
Binary file not shown.
Binary file added assets/img/salada-sem-polvo-126px.webp
Binary file not shown.
Binary file added assets/img/sandes-grão-bico-126px.webp
Binary file not shown.
Binary file modified assets/img/sandes-grão-bico-180px.webp
Binary file not shown.
Binary file added assets/img/sem-bacalhau-sem-natas-126px.webp
Binary file not shown.
Binary file modified assets/img/sem-bacalhau-sem-natas-180px.webp
Binary file not shown.
Binary file added assets/img/soja-alentejana-126px.webp
Binary file not shown.
Binary file added assets/img/sopa-feijão-couve-126px.webp
Binary file not shown.
Binary file modified assets/img/sopa-feijão-couve-180px.webp
Binary file not shown.
Binary file added assets/img/tofu-forno-batata-pimento-126px.webp
Binary file not shown.
Binary file modified assets/img/tofu-forno-batata-pimento-180px.webp
Binary file not shown.
Binary file added assets/img/tofu-mexido-126px.webp
Binary file not shown.
Binary file modified assets/img/tofu-mexido-180px.webp
Binary file not shown.
Binary file added assets/img/tofu-na-cerveja-126px.webp
Binary file not shown.
Binary file modified assets/img/tofu-na-cerveja-180px.webp
Binary file not shown.
Binary file added assets/img/tofu-sticky-126px.webp
Binary file not shown.
Binary file modified assets/img/tofu-sticky-180px.webp
Binary file not shown.
Binary file not shown.
Binary file modified assets/img/tosta-abacate-grão-de-bico-cogumelo-180px.webp
Binary file not shown.
Binary file added assets/img/yakisoba-126px.webp
Binary file not shown.
Binary file modified assets/img/yakisoba-180px.webp
Binary file not shown.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@
</div>
<div class="card__img-container">
<!-- Optionally handle initial lazy-loading logic as you wish -->
<img src="{{ post.image | replace: '.webp', '-180px.webp' }}" class="card__img" alt="{{ post.title }}" loading="auto">
<picture>
<source srcset="{{ post.image | replace: '.webp', '-126px.webp' }}" media="(max-width: 768px)">
<source srcset="{{ post.image | replace: '.webp', '-180px.webp' }}" media="(max-width: 1500px)">
<img src="{{ post.image }}" class="card__img" alt="{{ post.title }}" loading="auto">
</picture>
</div>
<div class="card__footer">
<span class="title-card">{{ post.title | upcase }}</span>
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.0.55"
"version": "1.0.56"
}

0 comments on commit 840eb10

Please sign in to comment.