fixed img bug and replaced images

This commit is contained in:
timurgordon 2022-02-22 13:24:33 +03:00
parent 36c0f5bc00
commit 97afd6c252
18 changed files with 5 additions and 8 deletions

3
.gitignore vendored
View File

@ -3,5 +3,4 @@
# Local Netlify folder
/.netlify
/node_modules
/static/css
/static/images
/static/css

View File

@ -10,7 +10,7 @@ taxonomies:
extra:
subtitle: "The UNIQUE Post 1 subtitle" # Quotation marks allow colons, semicolons, etc.
author: HANNAH CORDES
imgPath: images/sphere-thing.png
imgPath: images/ourworld_mycellium.png
date: 2018-10-17T14:40:00-05:00
---

View File

@ -3,11 +3,9 @@ title: "Careers"
description: "NEAR is on a mission to empower everyone to take back control of their money, their data, and their identity. Join us."
insert_anchor_links: "left"
template: "page.html"
extra:
imgPath: "/images/careers-hero.jpg"
---
{% row(bgPath="/images/careers-hero.jpg#background") %}
{% row(bgPath="/images/bernhard-eisenmann-unsplash.jpg") %}
# Rebuild the web

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

BIN
static/images/tf_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
static/images/tf_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -8,8 +8,8 @@
{% set styles = "" %}
{% if bgPath %}
{% set styles = "background: url('" ~ bgPath ~ "')" %}
{% set classes = classes ~ " bg-cover lg:py-40" %}
{% set styles = "background: url('" ~ bgPath ~ "'); background-size: cover" %}
{% set classes = classes ~ " lg:py-40" %}
{% endif %}
<div class="{{classes}}" style="{{styles}}">