Skip to content

Commit

Permalink
Fix some component errors
Browse files Browse the repository at this point in the history
  • Loading branch information
randimays committed Mar 19, 2024
1 parent bb0ee18 commit 3f6194b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/site/includes/social-share.drupal.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@
</li>

<li class="vads-u-margin-bottom--2p5">
<i aria-hidden="true" class="va-c-social-icon fab fa-facebook vads-u-margin-right--0p5" role="presentation"></i>
<va-link
class="va-js-share-link"
href="https://www.facebook.com/sharer/sharer.php?href={{ hostUrl }}{{ entityUrl.path }}"
>
<i aria-hidden="true" class="va-c-social-icon fab fa-facebook vads-u-margin-right--0p5" role="presentation"></i>Share on Facebook
</va-link>
text="Share on Facebook"
/>
</li>

<li>
<i aria-hidden="true" class="va-c-social-icon fab fa-twitter vads-u-margin-right--0p5" role="presentation"></i>
<va-link
class="va-js-share-link"
href="https://twitter.com/intent/tweet?text={{ title }}&url={{ hostUrl }}{{ entityUrl.path }}"
>
<i aria-hidden="true" class="va-c-social-icon fab fa-twitter vads-u-margin-right--0p5" role="presentation"></i>Share on Twitter
</va-link>
text="Share on Twitter"
/>
</li>
</ul>
</div>
8 changes: 4 additions & 4 deletions src/site/layouts/event.drupal.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

<!-- CTA -->
{% if fieldLink or fieldEventCta or fieldAdditionalInformationAbo %}
<div class="registration vads-u-margin-top--4 vads-u-margin-bottom--1">
<div class="registration vads-u-margin-top--4 vads-u-margin-bottom--1 vads-u-padding-x--1p5">
{% if start_timestamp < current_timestamp %}
<p class="vads-u-margin--0 vads-u-color--secondary vads-u-font-weight--bold">This event already happened.</p>
{% else %}
Expand Down Expand Up @@ -218,7 +218,7 @@

<!-- Repeating event instances -->
{% if fieldDatetimeRangeTimezone.length > 1 %}
<va-accordion id="expand-recurring-events">
<va-accordion open-single id="expand-recurring-events">
<va-accordion-item
header="View other times for this event"
bordered
Expand Down Expand Up @@ -260,12 +260,12 @@
<!-- See more events. -->
<va-link
active
class="vads-u-padding-bottom--3 vads-u-margin-top--1"
class="vads-u-padding-bottom--3 vads-u-margin-top--2 vads-u-display--block"
disable-analytics
href="{{ fieldListing.entity.entityUrl.path }}"
onclick="recordEvent({ event: 'nav-secondary-button-click' });"
text="See more events"
/>
></va-link>
<!-- Last updated & feedback button-->
{% include "src/site/includes/above-footer-elements.drupal.liquid" %}
</div>
Expand Down

0 comments on commit 3f6194b

Please sign in to comment.