Merge branch 'assets' into dev

This commit is contained in:
Ricardo García Jiménez 2021-09-27 19:37:10 -05:00
commit d2e6f932bc
5 changed files with 1 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
assets/images/hero.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 11 KiB

BIN
assets/images/hero1_5x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
assets/images/hero2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -17,6 +17,7 @@
<?php require_once 'views/components/navbar.php' ?>
<div class="hero">
<picture class="hero__img-wrapper">
<source srcset="<?= NABU_DIRECTORY['images'] ?>/hero-desktop.png" media="(min-width: 600px)">
<img src="<?= NABU_DIRECTORY['images'] ?>/hero.png" alt="Imagen inspiración en cualquier momento y cualquier lugar" class="hero__img">
</picture>
<h1 class="hero__CTA">Lee, inspírate y escribe</h1>