@solexllc/usx-react 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +231 -98
- package/dist/index.js +231 -98
- package/package.json +5 -5
- package/src/components/accordion/accordion.html +596 -291
- package/src/components/alert/alert.html +112 -148
- package/src/components/attribution/attribution.html +50 -21
- package/src/components/avatar/avatar.html +86 -51
- package/src/components/breadcrumb/breadcrumb.html +45 -66
- package/src/components/button/button.html +363 -226
- package/src/components/callout/Callout.tsx +1 -2
- package/src/components/callout/callout.django.html +2 -2
- package/src/components/callout/callout.html +0 -5
- package/src/components/callout/config.json +1 -5
- package/src/components/card/Card.tsx +6 -3
- package/src/components/card/card.django.html +2 -2
- package/src/components/card/card.html +1032 -35
- package/src/components/card/config.json +6 -2
- package/src/components/card-group/card-group.html +388 -95
- package/src/components/carousel/Carousel.tsx +42 -71
- package/src/components/carousel/carousel.django.html +22 -46
- package/src/components/carousel/carousel.html +715 -32
- package/src/components/carousel/config.json +25 -12
- package/src/components/character-count/character-count.html +231 -26
- package/src/components/checkbox/checkbox.html +313 -241
- package/src/components/checkbox-group/checkbox-group.html +346 -26
- package/src/components/clickable/clickable.html +168 -83
- package/src/components/code/Code.tsx +4 -3
- package/src/components/code/code.django.html +1 -1
- package/src/components/code/config.json +4 -0
- package/src/components/collection/collection.html +203 -379
- package/src/components/combobox/combobox.html +21 -9
- package/src/components/container/container.html +2616 -80
- package/src/components/copy-to-clipboard/copy-to-clipboard.html +48 -20
- package/src/components/details/Details.tsx +69 -0
- package/src/components/details/config.json +73 -0
- package/src/components/details/details.django.html +7 -0
- package/src/components/details/details.html +186 -0
- package/src/components/error-message/error-message.html +15 -2
- package/src/components/error-page/ErrorPage.tsx +169 -0
- package/src/components/error-page/config.json +152 -0
- package/src/components/error-page/error-page.django.html +80 -0
- package/src/components/error-page/error-page.html +437 -0
- package/src/components/eyebrow/eyebrow.html +8 -4
- package/src/components/fieldset/fieldset.html +33 -7
- package/src/components/file-input/file-input.html +310 -31
- package/src/components/file-list/file-list.html +191 -7
- package/src/components/footer/footer.html +611 -232
- package/src/components/header/header.html +2553 -611
- package/src/components/hero/hero.html +300 -38
- package/src/components/hint/hint.html +7 -2
- package/src/components/identifier/identifier.html +483 -255
- package/src/components/image/Image.tsx +2 -2
- package/src/components/image/image.django.html +4 -10
- package/src/components/image/image.html +144 -29
- package/src/components/indicator/indicator.html +25 -23
- package/src/components/label/label.html +15 -16
- package/src/components/language-selector/language-selector.html +74 -25
- package/src/components/layout/layout.html +991 -21
- package/src/components/legend/legend.html +10 -9
- package/src/components/list/list.html +45 -25
- package/src/components/page/Page.tsx +15 -2
- package/src/components/page/config.json +13 -1
- package/src/components/page/page.django.html +2 -2
- package/src/components/page/page.html +29 -8
- package/src/components/pagination/pagination.html +907 -305
- package/src/components/prose/prose.html +244 -85
- package/src/components/quote/Quote.tsx +1 -1
- package/src/components/quote/config.json +1 -2
- package/src/components/quote/quote.html +2 -7
- package/src/components/radio-buttons/radio-buttons.html +623 -127
- package/src/components/required/required.html +3 -4
- package/src/components/search/search.html +336 -54
- package/src/components/section/section.html +73 -11
- package/src/components/select/select.html +112 -58
- package/src/components/skipnav/skipnav.html +40 -1
- package/src/components/spinner/spinner.html +143 -23
- package/src/components/step-indicator/step-indicator.html +26 -68
- package/src/components/swap/swap.html +99 -154
- package/src/components/table/table.html +2168 -988
- package/src/components/tag/tag.html +73 -17
- package/src/components/task-list/task-list.html +252 -15
- package/src/components/theme-picker/theme-picker.html +26 -8
- package/src/components/toggle/toggle.html +64 -5
- package/src/index.js +2 -0
|
@@ -1,37 +1,141 @@
|
|
|
1
|
-
<h3 class="site-preview-heading">
|
|
2
|
-
<section
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
|
+
<section
|
|
3
|
+
class="usx-hero usx-hero--has-overlay"
|
|
4
|
+
aria-label="Introduction"
|
|
5
|
+
style="
|
|
6
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
7
|
+
"
|
|
8
|
+
>
|
|
3
9
|
<div class="usx-hero__inner">
|
|
4
10
|
<div class="usx-hero__callout">
|
|
5
11
|
<h1 class="usx-hero__heading">
|
|
6
|
-
<span class="usx-hero__heading--alt">
|
|
7
|
-
Public services
|
|
12
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
8
13
|
</h1>
|
|
9
|
-
<p class="usx-hero__paragraph">
|
|
10
|
-
|
|
14
|
+
<p class="usx-hero__paragraph">
|
|
15
|
+
A short description of the hero section that provides context for the call to action.
|
|
16
|
+
</p>
|
|
17
|
+
<a class="usa-button usx-button usa-button--primary" href="#">Call to action</a>
|
|
11
18
|
</div>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
</div>
|
|
20
|
+
</section>
|
|
21
|
+
|
|
22
|
+
<h3 class="site-preview-heading">No background image</h3>
|
|
23
|
+
<section class="usx-hero usx-hero--has-overlay" aria-label="Introduction">
|
|
24
|
+
<div class="usx-hero__inner">
|
|
25
|
+
<div class="usx-hero__callout">
|
|
26
|
+
<h1 class="usx-hero__heading">
|
|
27
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
28
|
+
</h1>
|
|
29
|
+
<p class="usx-hero__paragraph">
|
|
30
|
+
A short description of the hero section that provides context for the call to action.
|
|
31
|
+
</p>
|
|
32
|
+
<a class="usa-button usx-button usa-button--primary" href="#">Call to action</a>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</section>
|
|
36
|
+
|
|
37
|
+
<h3 class="site-preview-heading">Without callout</h3>
|
|
38
|
+
<section
|
|
39
|
+
class="usx-hero usx-hero--has-overlay"
|
|
40
|
+
aria-label="Introduction"
|
|
41
|
+
style="
|
|
42
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
43
|
+
"
|
|
44
|
+
>
|
|
45
|
+
<div class="usx-hero__inner">
|
|
46
|
+
<div class="usx-hero__callout">
|
|
47
|
+
<h1 class="usx-hero__heading">The hero heading</h1>
|
|
48
|
+
<p class="usx-hero__paragraph">
|
|
49
|
+
A short description of the hero section that provides context for the call to action.
|
|
50
|
+
</p>
|
|
51
|
+
<a class="usa-button usx-button usa-button--primary" href="#">Call to action</a>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</section>
|
|
55
|
+
|
|
56
|
+
<h3 class="site-preview-heading">Without button</h3>
|
|
57
|
+
<section
|
|
58
|
+
class="usx-hero usx-hero--has-overlay"
|
|
59
|
+
aria-label="Introduction"
|
|
60
|
+
style="
|
|
61
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
62
|
+
"
|
|
63
|
+
>
|
|
64
|
+
<div class="usx-hero__inner">
|
|
65
|
+
<div class="usx-hero__callout">
|
|
66
|
+
<h1 class="usx-hero__heading">
|
|
67
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
68
|
+
</h1>
|
|
69
|
+
<p class="usx-hero__paragraph">
|
|
70
|
+
A short description of the hero section that provides context for the call to action.
|
|
71
|
+
</p>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</section>
|
|
75
|
+
|
|
76
|
+
<h3 class="site-preview-heading">No overlay</h3>
|
|
77
|
+
<section
|
|
78
|
+
class="usx-hero"
|
|
79
|
+
aria-label="Introduction"
|
|
80
|
+
style="
|
|
81
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
82
|
+
"
|
|
83
|
+
>
|
|
84
|
+
<div class="usx-hero__inner">
|
|
85
|
+
<div class="usx-hero__callout">
|
|
86
|
+
<h1 class="usx-hero__heading">
|
|
87
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
88
|
+
</h1>
|
|
89
|
+
<p class="usx-hero__paragraph">
|
|
90
|
+
A short description of the hero section that provides context for the call to action.
|
|
91
|
+
</p>
|
|
92
|
+
<a class="usa-button usx-button usa-button--primary" href="#">Call to action</a>
|
|
16
93
|
</div>
|
|
17
94
|
</div>
|
|
18
95
|
</section>
|
|
19
96
|
|
|
20
97
|
<h3 class="site-preview-heading">With search</h3>
|
|
21
|
-
<section
|
|
98
|
+
<section
|
|
99
|
+
class="usx-hero usx-hero--has-overlay"
|
|
100
|
+
aria-label="Introduction"
|
|
101
|
+
style="
|
|
102
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
103
|
+
"
|
|
104
|
+
>
|
|
22
105
|
<div class="usx-hero__inner">
|
|
23
106
|
<div class="usx-hero__callout">
|
|
24
107
|
<h1 class="usx-hero__heading">
|
|
25
|
-
<span class="usx-hero__heading--alt">A callout heading</span>
|
|
26
|
-
The hero heading
|
|
108
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
27
109
|
</h1>
|
|
28
|
-
<p class="usx-hero__paragraph">
|
|
110
|
+
<p class="usx-hero__paragraph">
|
|
111
|
+
A short description of the hero section that provides context for the call to action.
|
|
112
|
+
</p>
|
|
29
113
|
<section aria-label="Search">
|
|
30
|
-
<form
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
114
|
+
<form
|
|
115
|
+
id="html-hero-with-search-hero-search-form"
|
|
116
|
+
class="usa-search usa-search--big"
|
|
117
|
+
method="get"
|
|
118
|
+
role="search"
|
|
119
|
+
>
|
|
120
|
+
<label class="usa-label usx-label usa-sr-only" for="html-hero-with-search-hero-search"
|
|
121
|
+
>Search</label
|
|
122
|
+
><input
|
|
123
|
+
id="html-hero-with-search-hero-search"
|
|
124
|
+
class="usa-input usx-input"
|
|
125
|
+
placeholder="Search..."
|
|
126
|
+
type="search"
|
|
127
|
+
name="q"
|
|
128
|
+
value=""
|
|
129
|
+
/><button type="submit" class="usa-button usx-button usa-button--primary">
|
|
130
|
+
<svg
|
|
131
|
+
class="usa-icon usa-icon--size-2 usa-search__submit-icon display-inline-block"
|
|
132
|
+
aria-hidden="true"
|
|
133
|
+
aria-label="Search"
|
|
134
|
+
focusable="false"
|
|
135
|
+
role="img"
|
|
136
|
+
>
|
|
137
|
+
<use href="/img/sprite.svg#search"></use>
|
|
138
|
+
</svg>
|
|
35
139
|
</button>
|
|
36
140
|
</form>
|
|
37
141
|
</section>
|
|
@@ -39,56 +143,214 @@
|
|
|
39
143
|
</div>
|
|
40
144
|
</section>
|
|
41
145
|
|
|
146
|
+
<h3 class="site-preview-heading">Right Aligned</h3>
|
|
147
|
+
<section
|
|
148
|
+
class="usx-hero usx-hero--has-overlay usx-hero--content-right"
|
|
149
|
+
aria-label="Introduction"
|
|
150
|
+
style="
|
|
151
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
152
|
+
background-position: left center;
|
|
153
|
+
"
|
|
154
|
+
>
|
|
155
|
+
<div class="usx-hero__inner">
|
|
156
|
+
<div class="usx-hero__callout">
|
|
157
|
+
<h1 class="usx-hero__heading">
|
|
158
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
159
|
+
</h1>
|
|
160
|
+
<p class="usx-hero__paragraph">
|
|
161
|
+
A short description of the hero section that provides context for the call to action.
|
|
162
|
+
</p>
|
|
163
|
+
<a class="usa-button usx-button usa-button--primary" href="#">Call to action</a>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
</section>
|
|
42
167
|
|
|
43
|
-
<
|
|
168
|
+
<h3 class="site-preview-heading">Centered</h3>
|
|
169
|
+
<section
|
|
170
|
+
class="usx-hero usx-hero--has-overlay usx-hero--custom-overlay usx-hero--content-center usx-hero--unboxed"
|
|
171
|
+
aria-label="Introduction"
|
|
172
|
+
style="
|
|
173
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
174
|
+
--hero-overlay-opacity: 0.8;
|
|
175
|
+
"
|
|
176
|
+
>
|
|
44
177
|
<div class="usx-hero__inner">
|
|
45
178
|
<div class="usx-hero__callout">
|
|
46
179
|
<h1 class="usx-hero__heading">
|
|
47
|
-
<span class="usx-hero__heading--alt">A callout heading</span>
|
|
48
|
-
The hero heading
|
|
180
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
49
181
|
</h1>
|
|
50
|
-
<p class="usx-hero__paragraph">
|
|
182
|
+
<p class="usx-hero__paragraph">
|
|
183
|
+
A short description of the hero section that provides context for the call to action.
|
|
184
|
+
</p>
|
|
51
185
|
<a class="usa-button usx-button usa-button--primary" href="#">Call to action</a>
|
|
52
186
|
</div>
|
|
53
187
|
</div>
|
|
54
188
|
</section>
|
|
55
189
|
|
|
56
|
-
<h3 class="site-preview-heading">
|
|
57
|
-
<section
|
|
190
|
+
<h3 class="site-preview-heading">Narrow Callout</h3>
|
|
191
|
+
<section
|
|
192
|
+
class="usx-hero usx-hero--has-overlay"
|
|
193
|
+
aria-label="Introduction"
|
|
194
|
+
style="
|
|
195
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
196
|
+
background-position: right center;
|
|
197
|
+
"
|
|
198
|
+
>
|
|
199
|
+
<div class="usx-hero__inner">
|
|
200
|
+
<div class="usx-hero__callout" style="max-width: 28rem">
|
|
201
|
+
<h1 class="usx-hero__heading">
|
|
202
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
203
|
+
</h1>
|
|
204
|
+
<p class="usx-hero__paragraph">
|
|
205
|
+
A short description of the hero section that provides context for the call to action.
|
|
206
|
+
</p>
|
|
207
|
+
<a class="usa-button usx-button usa-button--primary" href="#">Call to action</a>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
</section>
|
|
211
|
+
|
|
212
|
+
<h3 class="site-preview-heading">Unboxed</h3>
|
|
213
|
+
<section
|
|
214
|
+
class="usx-hero usx-hero--has-overlay usx-hero--custom-overlay usx-hero--unboxed"
|
|
215
|
+
aria-label="Introduction"
|
|
216
|
+
style="
|
|
217
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
218
|
+
--hero-overlay-opacity: 0.8;
|
|
219
|
+
"
|
|
220
|
+
>
|
|
58
221
|
<div class="usx-hero__inner">
|
|
59
222
|
<div class="usx-hero__callout">
|
|
60
223
|
<h1 class="usx-hero__heading">
|
|
61
|
-
<span class="usx-hero__heading--alt">A callout heading</span>
|
|
62
|
-
The hero heading
|
|
224
|
+
<span class="usx-hero__heading--alt">A callout heading</span>The hero heading
|
|
63
225
|
</h1>
|
|
64
|
-
<p class="usx-hero__paragraph">
|
|
226
|
+
<p class="usx-hero__paragraph">
|
|
227
|
+
A short description of the hero section that provides context for the call to action.
|
|
228
|
+
</p>
|
|
65
229
|
<a class="usa-button usx-button usa-button--primary" href="#">Call to action</a>
|
|
66
230
|
</div>
|
|
67
231
|
</div>
|
|
68
232
|
</section>
|
|
69
233
|
|
|
70
|
-
<h3 class="site-preview-heading">
|
|
71
|
-
<section
|
|
234
|
+
<h3 class="site-preview-heading">Split Content</h3>
|
|
235
|
+
<section
|
|
236
|
+
class="usx-hero usx-hero--has-overlay usx-hero--custom-overlay usx-hero--unboxed usx-hero--split"
|
|
237
|
+
aria-label="Introduction"
|
|
238
|
+
style="
|
|
239
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
240
|
+
--hero-overlay-opacity: 0.8;
|
|
241
|
+
"
|
|
242
|
+
>
|
|
72
243
|
<div class="usx-hero__inner">
|
|
73
244
|
<div class="usx-hero__callout">
|
|
74
245
|
<h1 class="usx-hero__heading">
|
|
75
|
-
|
|
246
|
+
<span class="usx-hero__heading--alt">Your community</span>Public services
|
|
76
247
|
</h1>
|
|
77
|
-
<p class="usx-hero__paragraph">
|
|
78
|
-
|
|
248
|
+
<p class="usx-hero__paragraph">
|
|
249
|
+
Find the services and information you need, all in one place.
|
|
250
|
+
</p>
|
|
251
|
+
<a class="usa-button usx-button" href="#services">Explore services</a>
|
|
252
|
+
</div>
|
|
253
|
+
<div class="usx-hero__secondary">
|
|
254
|
+
<h2 class="usx-hero__secondary-heading">Need a hand?</h2>
|
|
255
|
+
<p class="usx-hero__paragraph">
|
|
256
|
+
Our team can help you find the right service or answer questions about your application.
|
|
257
|
+
</p>
|
|
258
|
+
<a class="usx-hero__secondary-link" href="#contact">Contact our team</a>
|
|
79
259
|
</div>
|
|
80
260
|
</div>
|
|
81
261
|
</section>
|
|
82
262
|
|
|
83
|
-
<h3 class="site-preview-heading">
|
|
84
|
-
<section
|
|
263
|
+
<h3 class="site-preview-heading">Split Content Right</h3>
|
|
264
|
+
<section
|
|
265
|
+
class="usx-hero usx-hero--has-overlay usx-hero--custom-overlay usx-hero--content-right usx-hero--unboxed usx-hero--split"
|
|
266
|
+
aria-label="Introduction"
|
|
267
|
+
style="
|
|
268
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
269
|
+
--hero-overlay-opacity: 0.8;
|
|
270
|
+
"
|
|
271
|
+
>
|
|
272
|
+
<div class="usx-hero__inner">
|
|
273
|
+
<div class="usx-hero__callout">
|
|
274
|
+
<h1 class="usx-hero__heading">
|
|
275
|
+
<span class="usx-hero__heading--alt">Your community</span>Public services
|
|
276
|
+
</h1>
|
|
277
|
+
<p class="usx-hero__paragraph">
|
|
278
|
+
Find the services and information you need, all in one place.
|
|
279
|
+
</p>
|
|
280
|
+
<a class="usa-button usx-button" href="#services">Explore services</a>
|
|
281
|
+
</div>
|
|
282
|
+
<div class="usx-hero__secondary">
|
|
283
|
+
<h2 class="usx-hero__secondary-heading">Need a hand?</h2>
|
|
284
|
+
<p class="usx-hero__paragraph">
|
|
285
|
+
Our team can help you find the right service or answer questions about your application.
|
|
286
|
+
</p>
|
|
287
|
+
<a class="usx-hero__secondary-link" href="#contact">Contact our team</a>
|
|
288
|
+
</div>
|
|
289
|
+
</div>
|
|
290
|
+
</section>
|
|
291
|
+
|
|
292
|
+
<h3 class="site-preview-heading">Long Content</h3>
|
|
293
|
+
<section
|
|
294
|
+
class="usx-hero usx-hero--has-overlay usx-hero--custom-overlay usx-hero--unboxed usx-hero--split"
|
|
295
|
+
aria-label="Introduction"
|
|
296
|
+
style="
|
|
297
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
298
|
+
--hero-overlay-opacity: 0.8;
|
|
299
|
+
"
|
|
300
|
+
>
|
|
85
301
|
<div class="usx-hero__inner">
|
|
86
302
|
<div class="usx-hero__callout">
|
|
87
303
|
<h1 class="usx-hero__heading">
|
|
88
|
-
<span class="usx-hero__heading--alt">
|
|
89
|
-
|
|
304
|
+
<span class="usx-hero__heading--alt">Support for you and your household</span>Find help with
|
|
305
|
+
housing, food, healthcare, and everyday expenses
|
|
90
306
|
</h1>
|
|
91
|
-
<p class="usx-hero__paragraph">
|
|
307
|
+
<p class="usx-hero__paragraph">
|
|
308
|
+
Explore programs that can help you and your household stay healthy, find stable housing, and
|
|
309
|
+
cover essential costs. Learn who can apply, what information you will need, and what happens
|
|
310
|
+
after you submit an application. You can review the available services before deciding where
|
|
311
|
+
to start, whether you are applying for yourself, helping a family member, or supporting
|
|
312
|
+
someone in your community.
|
|
313
|
+
</p>
|
|
314
|
+
<a class="usa-button usx-button" href="#services">Explore available services</a>
|
|
315
|
+
</div>
|
|
316
|
+
<div class="usx-hero__secondary">
|
|
317
|
+
<h2 class="usx-hero__secondary-heading">Get support at every step of your application</h2>
|
|
318
|
+
<p class="usx-hero__paragraph">
|
|
319
|
+
You do not have to work through the process alone. Our team can explain eligibility
|
|
320
|
+
requirements, help you gather documents, and answer questions about an application you have
|
|
321
|
+
already started. Language assistance and accessible formats are available. Contact us to
|
|
322
|
+
discuss your circumstances and find a way to get help that works for you.
|
|
323
|
+
</p>
|
|
324
|
+
<a class="usx-hero__secondary-link" href="#contact">Contact the support team</a>
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
</section>
|
|
328
|
+
|
|
329
|
+
<h3 class="site-preview-heading">Section Heading</h3>
|
|
330
|
+
<section
|
|
331
|
+
class="usx-hero usx-hero--has-overlay usx-hero--custom-overlay usx-hero--unboxed usx-hero--split"
|
|
332
|
+
aria-label="Introduction"
|
|
333
|
+
style="
|
|
334
|
+
background-image: url('https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg');
|
|
335
|
+
--hero-overlay-opacity: 0.8;
|
|
336
|
+
"
|
|
337
|
+
>
|
|
338
|
+
<div class="usx-hero__inner">
|
|
339
|
+
<div class="usx-hero__callout">
|
|
340
|
+
<h2 class="usx-hero__heading">
|
|
341
|
+
<span class="usx-hero__heading--alt">Your community</span>Public services
|
|
342
|
+
</h2>
|
|
343
|
+
<p class="usx-hero__paragraph">
|
|
344
|
+
Find the services and information you need, all in one place.
|
|
345
|
+
</p>
|
|
346
|
+
<a class="usa-button usx-button" href="#services">Explore services</a>
|
|
347
|
+
</div>
|
|
348
|
+
<div class="usx-hero__secondary">
|
|
349
|
+
<h3 class="usx-hero__secondary-heading">Need a hand?</h3>
|
|
350
|
+
<p class="usx-hero__paragraph">
|
|
351
|
+
Our team can help you find the right service or answer questions about your application.
|
|
352
|
+
</p>
|
|
353
|
+
<a class="usx-hero__secondary-link" href="#contact">Contact our team</a>
|
|
92
354
|
</div>
|
|
93
355
|
</div>
|
|
94
356
|
</section>
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
<span
|
|
1
|
+
<h3 class="site-preview-heading">Default</h3>
|
|
2
|
+
<span class="usa-hint usx-hint" id="html-hint-default-hint-1">Enter your full legal name.</span>
|
|
3
|
+
|
|
4
|
+
<h3 class="site-preview-heading">With Custom Class</h3>
|
|
5
|
+
<span class="usa-hint usx-hint text-bold text-italic" id="html-hint-with-custom-class-hint-2"
|
|
6
|
+
>Enter your full legal name.</span
|
|
7
|
+
>
|