File tree 2 files changed +10
-17
lines changed
2 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 58
58
vads-u-margin--0
59
59
vads-u-margin-bottom--0p5
60
60
vads-u-font-weight--regular" >
61
- <span class =" vads-u-font-weight--bold" >Email:</span > <a target =" blank"
62
- href =" mailto:{{ fieldEmailAddress }}" >{{ fieldEmailAddress }}</a >
63
- </p >
61
+ <span class =" vads-u-font-weight--bold" >Email:</span > <va-link type =" email" href =" mailto:{{ fieldEmailAddress }}" text =" {{ fieldEmailAddress }}" ></va-link ></p >
64
62
{% endif %}
65
63
{% if fieldPhoneNumber %}
66
64
<p class ="
74
72
</div >
75
73
</div >
76
74
77
-
78
75
{% if fieldCompleteBiographyCreate %}
79
76
<div class =" va-introtext vads-u-margin-bottom--2" >
80
77
<p class =" va-introtext vads-u-margin-bottom--0" >{{ fieldIntroText }}</p >
86
83
87
84
{% if fieldPhotoAllowHiresDownload and fieldMedia %}
88
85
<div class =" vads-u-align-content--flex-end va-c-margin-top--auto vads-u-margin-bottom--2" id =" download-full-size-photo-link" >
89
- <i class =" va-c-social-icon fas fa-download" aria-hidden =" true" ></i > <a href =" {{ fieldMedia .hiRes .image .derivative .url }}"
90
- download >Download full size photo</a >
86
+ <va-link filetype =" JPG" href =" {{ fieldMedia .hiRes .image .derivative .url }}" download text =" Download full size photo" />
91
87
</div >
92
88
{% endif %}
93
89
{% if fieldCompleteBiography %}
94
90
<div class =" vads-u-align-content--flex-end va-c-margin-top--auto vads-u-margin-bottom--2" >
95
- <i class =" va-c-social-icon fas fa-download" ></i > <a href =" {{ fieldCompleteBiography .entity .url }}"
96
- download >Download full bio (PDF)</a >
91
+ <va-link filetype =" PDF" href =" {{ fieldCompleteBiography .entity .url }}" download text =" Download full bio" />
97
92
</div >
98
93
{% endif %}
99
94
{% endif %}
Original file line number Diff line number Diff line change @@ -49,13 +49,11 @@ Example data:
49
49
{% endif %}
50
50
<div >
51
51
{% if node .entityUrl .path != empty and node .fieldIntroText and node .fieldBody .processed %}
52
- <a class ="
53
- vads-u-font-family--serif
54
- vads-u-font-weight--bold
55
- vads-u-display--block
56
- vads-u-margin-bottom--1
57
- vads-u-font-size--lg"
58
- href =" {{ node .entityUrl .path }}" >{{ node .fieldNameFirst }} {{ node .fieldLastName }} {{ node .fieldSuffix }}</a >
52
+ <va-link
53
+ class =" vads-u-display--block vads-u-margin-bottom--1 vads-u-font-family--serif vads-u-font-weight--bold vads-u-font-size--lg"
54
+ href =" {{ node .entityUrl .path }}"
55
+ text =" {{ node .fieldNameFirst }} {{ node .fieldLastName }} {{ node .fieldSuffix }}"
56
+ ></va-link >
59
57
{% else %}
60
58
<span class ="
61
59
vads-u-font-family--serif
@@ -103,8 +101,8 @@ Example data:
103
101
vads-u-margin-bottom--0
104
102
vads-u-font-size--base
105
103
medium-screen:vads-u-font-size--lg" >
106
- <b >Email:</b > < a target = " blank "
107
- href =" {{ node .fieldEmailAddress }}" > {{ node .fieldEmailAddress }}</ a >
104
+ <b >Email:</b >
105
+ < va-link type = " email " href =" mailto: {{ node .fieldEmailAddress }}" text = " {{ node .fieldEmailAddress }}" ></ va-link >
108
106
</p >
109
107
{% endif %}
110
108
</div >
You can’t perform that action at this time.
0 commit comments