-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vacms 15315 front end match style to sketch, testing #1790
Changes from 16 commits
a43b9f1
ef5bb45
082cc12
6b8b57a
e5c35af
56493a0
9008b5b
210a9d5
6f77f73
d189423
1f54c5f
dd1bb1c
bc5c687
917fa58
96c0354
469c23e
50034de
cf7e597
25f2008
c44c90f
72d70ce
cdcf912
437a0eb
01aea4e
994a345
9e7099c
cc23713
67529e1
4ec8a0a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,33 @@ | ||
{% comment %} | ||
This is used for Region Landing page and Contact us page | ||
Also used for VBA with parameter | ||
{% endcomment %} | ||
<div data-template="facilities/main_buttons"> | ||
<div> | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/make-an-appointment">Make an appointment</a> | ||
</div> | ||
<div class="vads-u-margin-y--2"> | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/health-services">View all health services</a> | ||
</div> | ||
<div> | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/register-for-care">Register for care</a> | ||
</div> | ||
{% if buttonType == 'vba' %} | ||
<div> | ||
<a class="vads-c-action-link--blue" href="https://va.my.site.com/VAVERA/s/">Make an appointment</a> | ||
</div> | ||
{% else %} | ||
<div> | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/make-an-appointment">Make an appointment</a> | ||
</div> | ||
{% endif %} | ||
{% if buttonType == 'vba' %} | ||
<div class="vads-u-margin-y--2"> | ||
<a class="vads-c-action-link--blue" href="https://ask.va.gov">Ask a benefit question</a> | ||
</div> | ||
{% else %} | ||
<div class="vads-u-margin-y--2"> | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/health-services">View all health services</a> | ||
</div> | ||
{% endif %} | ||
{% if buttonType == 'vba' %} | ||
<div> | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/claim-or-appeal-status">Check a claim status</a> | ||
</div> | ||
{% else %} | ||
<div> | ||
<a class="vads-c-action-link--blue" href="/{{ path }}/register-for-care">Register for care</a> | ||
</div> | ||
{% endif %} | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<section data-template="facilities/facility_social_links" class="feature vads-u-background-color--gray-lightest vads-u-margin-top--4 small-screen:vads-u-margin-top--6 vads-u-padding-x--3 vads-u-padding-y--2p5"> | ||
<h2 class="vads-u-margin-bottom--2">Get updates from {{ regionNickname }}</h2> | ||
<div class="va-c-list-link-teasers usa-grid usa-grid-full"> | ||
|
||
<div class="usa-width-one-half social-links"> | ||
{% if fieldNews != empty %} | ||
<div class="social-links-email vads-u-margin-bottom--2"> | ||
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" | ||
href="{{fieldNews.uri}}"> | ||
<i class="fas fa-envelope vads-u-margin-right--1"></i> | ||
<span class="vads-u-text-decoration--underline">{{ fieldNews.title }}</span> | ||
</a> | ||
</div> | ||
{% endif %} | ||
{% if fieldFacebook != empty %} | ||
<div class="social-links social-links-facebook vads-u-margin-bottom--2"> | ||
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldFacebook.uri }}"> | ||
<i class="fab fa-facebook-square vads-u-margin-right--1"></i> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. icon found |
||
<span class="vads-u-text-decoration--underline">{{ fieldFacebook.title }}</span> | ||
</a> | ||
</div> | ||
{% endif %} | ||
</div> | ||
{% if fieldTwitter != empty || fieldFlickr != empty || fieldInstagram != empty %} | ||
<div class="usa-width-one-half social-links"> | ||
<div class=""> | ||
{% if fieldTwitter != empty %} | ||
<div class="social-links social-links-twitter vads-u-margin-bottom--2"> | ||
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldTwitter.uri }}"> | ||
<i class="fab fa-twitter vads-u-text-decoration--none vads-u-margin-right--1"></i> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. icon found |
||
<span class="vads-u-text-decoration--underline">{{ fieldTwitter.title }}</span> | ||
</a> | ||
</div> | ||
{% endif %} | ||
{% if fieldFlickr != empty %} | ||
<div class="social-links social-links-flickr vads-u-margin-bottom--2"> | ||
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldFlickr.uri }}"> | ||
<i class="fab fa-flickr vads-u-text-decoration--none vads-u-margin-right--1"></i> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. icon found |
||
<span class="vads-u-text-decoration--underline">{{ fieldFlickr.title }}</span> | ||
</a> | ||
</div> | ||
{% endif %} | ||
|
||
{% if fieldInstagram != empty %} | ||
<div class="social-links social-links-instagram vads-u-margin-bottom--2"> | ||
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldInstagram.uri }}"> | ||
<i class="fab fa-instagram vads-u-text-decoration--none vads-u-margin-right--1"></i> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. icon found |
||
<span class="vads-u-text-decoration--underline">{{ fieldInstagram.title }}</span> | ||
</a> | ||
</div> | ||
{% endif %} | ||
|
||
{% if fieldYoutube != empty %} | ||
<div class="social-links social-links-youtube vads-u-margin-bottom--2"> | ||
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldYoutube.uri }}"> | ||
<i class="fab fa-youtube vads-u-text-decoration--none vads-u-margin-right--1"></i> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. icon found |
||
<span class="vads-u-text-decoration--underline">{{ fieldYoutube.title }}</span> | ||
</a> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</section> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div class="feature featured-content-list-item vads-u-flex--fill vads-u-padding-y--1p5 vads-u-padding-x--1p5 vads-u-margin-bottom--0 medium-screen:vads-u-margin-bottom--2"> | ||
<script>console.log({{entity.fieldCta|json}})</script> | ||
|
||
{% if entity.fieldSectionHeader != empty %} | ||
<h3 class="force-small-header vads-u-margin-bottom--2">{{ entity.fieldSectionHeader }}</h3> | ||
<hr class="featured-content-hr vads-u-margin-y--1p5 vads-u-border-color--primary"> | ||
{% endif %} | ||
{% if entity.fieldDescription %} | ||
<div id="featured-content-description{{ entity.fieldSectionHeader }}}}"> | ||
maxx1128 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
{{ entity.fieldDescription.processed | drupalToVaPath | phoneLinks }} | ||
</div> | ||
{% endif %} | ||
{% if entity.fieldCta.entity.fieldButtonLink %} | ||
{% if entity.fieldCta.entity.fieldButtonLink.url %} | ||
<div class="vads-u-padding-top--1"> | ||
maxx1128 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<p> | ||
<a class="vads-u-display--block" href="{{ entity.fieldCta.entity.fieldButtonLink.url }}" > | ||
<span> {{ entity.fieldCta.entity.fieldButtonLabel }} <i class="fa fa-chevron-right vads-facility-hub-cta-arrow" aria-hidden="true"></i></span> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. icon found |
||
</a> | ||
</p> | ||
</div> | ||
{% endif %} | ||
{% endif %} | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"fetched": { | ||
"fieldPhoneExtension": [ | ||
{ | ||
"value": "4023022840" | ||
} | ||
], | ||
"fieldPhoneLabel": [ | ||
{ | ||
"value": "VA benefits hotline" | ||
} | ||
], | ||
"fieldPhoneNumber": [ | ||
{ | ||
"value": "800-827-1000" | ||
} | ||
], | ||
"fieldPhoneNumberType": [ | ||
{ | ||
"value": "tel" | ||
} | ||
] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"fetched": { | ||
"fieldCta": [ | ||
{ | ||
"entity": { | ||
"targetId": "139797", | ||
"targetRevisionId": "1104167", | ||
"entityType": "paragraph", | ||
"entityBundle": "button", | ||
"pid": "139797", | ||
"label": "VBA -- benefit office content > Content > Call to Action", | ||
"status": true, | ||
"langcode": "en", | ||
"fieldButtonLabel": [ | ||
{ | ||
"value": "Find a VA benefits location" | ||
} | ||
], | ||
"fieldButtonLink": [ | ||
{ | ||
"uri": "https://www.va.gov/find-locations/?facilityType=benefits", | ||
"title": "", | ||
"options": { | ||
"href": "https://www.va.gov/find-locations/?facilityType=benefits", | ||
"dataEntityType": "", | ||
"dataEntityUuid": "", | ||
"dataEntitySubstitution": "" | ||
}, | ||
"url": { | ||
"path": "https://www.va.gov/find-locations/?facilityType=benefits" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"fieldDescription": [ | ||
{ | ||
"value": "<p>Call our VA benefits hotline at <a aria-label=\"8 0 0. 8 2 7. 1 0 0 0.\" href=\"tel:+18008271000\">800-827-1000</a> (<a aria-label=\"TTY. 7 1 1.\" href=\"tel:711\">TTY: 711</a>). We’re here 8:00 a.m. to 9:00 p.m. ET, Monday through Friday.</p>\r\n\r\n<p> </p>\r\n", | ||
"format": "rich_text_limited", | ||
"processed": "<p>Call our VA benefits hotline at <a aria-label=\"8 0 0. 8 2 7. 1 0 0 0.\" href=\"tel:+18008271000\">800-827-1000</a> (<a aria-label=\"TTY. 7 1 1.\" href=\"tel:711\">TTY: 711</a>). We’re here 8:00 a.m. to 9:00 p.m. ET, Monday through Friday.</p>\n<p> </p>\n" | ||
} | ||
], | ||
"fieldSectionHeader": [ | ||
{ | ||
"value": "Can't find the service you're looking for?" | ||
} | ||
] | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
icon found
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laflannery since we're using raw anchor tags here, is there some description about how these should be conveyed textually?