Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Nourmasrieh committed May 24, 2023
1 parent 9edc38b commit b89ec4c
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions templates/NourAlmasrieh/SocialWall/Includes/ElementHead.ss
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@
<div class="col-12 mb-3 mb-md-4">
<% if $ButtonCaption || $LinkedPage || $ExternalLink %>
<div class="row align-items-md-center mb-4">
<div class="col-lg-8 col-md-6">
<div class="col-12 col-md-6 col-lg-8">
<h2 class="mb-3 mb-lg-0">
$Title.RAW
</h2>
</div>
<div class="col-lg-4 col-md-6 text-md-end">
<div class="d-none d-md-block">
<a href="<% if $ExternalLink %>$ExternalLink <% else %>$LinkedPage.Link<% end_if %>" <% if $ExternalLink %> target="_blank" <% end_if %> class="btn btn-primary bg-green">
<% if $ButtonCaption %>
$ButtonCaption
<% else %>
<%t Page.READMORE 'Mehr erfahren' %>
<% end_if %>
</a>
</div>
<div class="col-12 col-md-6 col-lg-4 text-md-end">
<a href="<% if $ExternalLink %>$ExternalLink <% else %>$LinkedPage.Link<% end_if %>" <% if $ExternalLink %> target="_blank" <% end_if %> class="btn btn-primary bg-green">
<% if $ButtonCaption %>
$ButtonCaption
<% else %>
<%t Page.READMORE 'Mehr erfahren' %>
<% end_if %>
</a>
</div>
</div>
<% else %>
Expand All @@ -27,17 +25,6 @@
</h2>
<% end_if %>
$Content
<% if $ButtonCaption || $LinkedPage || $ExternalLink %>
<div class="d-block d-md-none my-2 my-md-0">
<a href="<% if $ExternalLink %>$ExternalLink <% else %>$LinkedPage.Link<% end_if %>" <% if $ExternalLink %> target="_blank" <% end_if %> class="btn btn-primary bg-green">
<% if $ButtonCaption %>
$ButtonDesc
<% else %>
<%t Page.READMORE 'Mehr erfahren' %>
<% end_if %>
</a>
</div>
<% end_if %>
</div>
</div>
</div>
Expand Down

0 comments on commit b89ec4c

Please sign in to comment.