Skip to content

Commit

Permalink
Update/fix image references (#28)
Browse files Browse the repository at this point in the history
* Add blog theme files

* Readability improvements

* Display posts list as summary

* Adding defaults

* Sample conent

* List styling

* Header improvement

* Adding new tags

* Update theme info

* Styling improvement

* Better styling

* Homepage sample

* Remove extra files

* Fix caching for even images

* Fix image reference
  • Loading branch information
zetxek authored Jun 25, 2024
1 parent 4cde46a commit c5410c5
Show file tree
Hide file tree
Showing 37 changed files with 18 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/works/radity-finance.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/works/[email protected]
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/works/robo-advisor.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/works/[email protected]
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Empty file modified assets/images/works/swissfintech.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/images/works/[email protected]
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 18 additions & 7 deletions layouts/partials/client-and-work.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,24 @@ <h3>{{ .title }}</h3>
</div>
{{ else }}
<div class="col-12 col-md-7 pl-md-0 text-right">
<img
class='lozad img-responsive {{ cond (eq ( mod $index 4) 1) "img-clip-right-backward" "img-clip-right-forward" }}'
src="data:image/gif;base64,R0lGODlhBwACAIAAAP///wAAACH5BAEAAAEALAAAAAAHAAIAAAIDjI9YADs="
data-src="{{ .image.x | absURL }}"
data-srcset="{{ .image.x | absURL }} 1x, {{ .image._2x | absURL }} 2x"
alt="{{ .title }}"
/>
{{ $img := resources.Get .image.x }}
{{ $img2x := resources.Get .image._2x }}
{{ $imgWebp := $img.Resize (printf "%dx%d webp q75 Lanczos picture" $img.Width $img.Height) }}
{{ $img2xWebp := $img2x.Resize (printf "%dx%d webp q75 Lanczos picture" $img2x.Width $img2x.Height) }}
<picture>
<source srcset="{{ $imgWebp.RelPermalink }} 1x, {{ $img2xWebp.RelPermalink }} 2x" type="image/webp" />
<source srcset="{{ $img.RelPermalink }} 1x, {{ $img2x.RelPermalink }} 2x" type="image/webp">
<img
width="{{ $img.Width }}"
height="{{ $img.Height }}"
class="lozad img-responsive"
src="data:image/gif;base64,R0lGODlhBwACAIAAAP///wAAACH5BAEAAAEALAAAAAAHAAIAAAIDjI9YADs="
srcset="{{ $img.RelPermalink }} 1x, {{ $img2x.RelPermalink }} 2x"
data-src="{{ $img.RelPermalink }}"
data-srcset="{{ $img.RelPermalink }} 1x, {{ $img2x.RelPermalink }} 2x"
alt="{{ .title }}"
/>
</picture>
</div>
<div class="col-12 col-md-5 mt-4 mt-md-0 my-md-auto">
<h3>{{ .title }}</h3>
Expand Down
Binary file removed static/img/clients/asgardia.png
Binary file not shown.
Binary file removed static/img/clients/[email protected]
Binary file not shown.
Binary file removed static/img/clients/earth-2.png
Binary file not shown.
Binary file removed static/img/clients/[email protected]
Binary file not shown.
Binary file removed static/img/clients/goldline.png
Binary file not shown.
Binary file removed static/img/clients/[email protected]
Binary file not shown.
Binary file removed static/img/clients/kanba.png
Binary file not shown.
Binary file removed static/img/clients/[email protected]
Binary file not shown.
Binary file removed static/img/clients/zoo-tv.png
Binary file not shown.
Binary file removed static/img/clients/[email protected]
Binary file not shown.
Binary file removed static/img/clients/ztos.png
Binary file not shown.
Binary file removed static/img/clients/[email protected]
Binary file not shown.
Binary file removed static/img/showcase/showcase-mobile.jpg
Binary file not shown.
Binary file removed static/img/showcase/showcase.png
Binary file not shown.
Binary file removed static/img/showcase/[email protected]
Binary file not shown.
Binary file removed static/img/testimonials/antonio-willis.jpg
Binary file not shown.
Binary file removed static/img/testimonials/[email protected]
Binary file not shown.
Binary file removed static/img/testimonials/daniel-jordan.jpg
Diff not rendered.
Binary file removed static/img/testimonials/[email protected]
Diff not rendered.
Binary file removed static/img/testimonials/jonathan-peters.jpg
Diff not rendered.
Binary file removed static/img/testimonials/[email protected]
Diff not rendered.
Binary file removed static/img/who-am-i/user-picture.png
Diff not rendered.
Binary file removed static/img/who-am-i/[email protected]
Diff not rendered.
Binary file removed static/img/works/radity-finance.jpg
Diff not rendered.
Binary file removed static/img/works/[email protected]
Diff not rendered.
Binary file removed static/img/works/[email protected]
Diff not rendered.
Binary file removed static/img/works/swissfintech.jpg
Diff not rendered.
Binary file removed static/img/works/[email protected]
Diff not rendered.

0 comments on commit c5410c5

Please sign in to comment.