Skip to content

Commit

Permalink
Trim spaces within anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlence committed Dec 3, 2024
1 parent 80c6923 commit 44d568c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
24 changes: 9 additions & 15 deletions layouts/about/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,12 @@ <h3 class="about--what-we-do-item-title">{{ .Title }}</h3>
<a
class="btn btn-big btn-with-arrow about--action-button"
onclick="window.talk.scrollIntoView({ behavior: 'smooth' })"
>
Let's talk
{{
>Let's talk{{
readFile "static/img/arrow-button.svg"
| strings.TrimSpace
| safeHTML
-}}
</a>
}}</a
>
<img
class="about--action-background"
src="/img/got-a-project-in-mind.svg"
Expand All @@ -104,14 +102,12 @@ <h2 class="about--title">What our clients say</h2>
class="about--testimonials-author-name"
href="{{ .Params.linkedin }}"
target="_blank"
>
{{ .Title }}
{{-
>{{ .Title }}{{
readFile "static/img/ico-linkedin.svg"
| strings.TrimSpace
| safeHTML
}}
</a>
}}</a
>
</div>
</div>
<div class="about--testimonials-body">
Expand Down Expand Up @@ -153,14 +149,12 @@ <h2 class="about--title">Team</h2>
href="https://www.instagram.com/ivelum_development/"
class="about--team-about-social-link"
target="_blank"
>
{{
>{{
readFile "static/img/ico-instagram.svg"
| strings.TrimSpace
| safeHTML
-}}
ivelum_development
</a>
}}ivelum_development</a
>
</div>
</div>
</div>
Expand Down
11 changes: 5 additions & 6 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
<a
class="header--logo{{ if eq .RelPermalink "/" }} is-disabled{{ end }}"
href="/"
><img src="/img/logo.svg" alt="ivelum"></a
>
<img src="/img/logo.svg" alt="ivelum">
{{- /* TODO: Light mode for Teamplify, Contact, and Privacy policy */}}
</a>
{{- /* TODO: Light mode for Teamplify, Contact, and Privacy policy */}}
<div class="header--menu" x-bind:class="isMenuOpen && 'is-open'">
<div class="header--menu-inner">
<div class="header--menu-items">
Expand All @@ -30,9 +29,9 @@
{{- end }}
</div>
<div class="header--button-wrapper">
<a class="header--button" x-on:click="talkToUs">
<img src="/img/ico-talk.svg" alt="ivelum">Talk to us
</a>
<a class="header--button" x-on:click="talkToUs"
><img src="/img/ico-talk.svg" alt="ivelum">Talk to us</a
>
</div>
</div>
</div>
Expand Down

0 comments on commit 44d568c

Please sign in to comment.