@solexllc/usx-react 0.1.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/README.md +45 -0
- package/dist/index.cjs +6017 -0
- package/dist/index.js +6015 -0
- package/package.json +48 -0
- package/src/components/accordion/Accordion.jsx +170 -0
- package/src/components/accordion/accordion.django.html +47 -0
- package/src/components/accordion/accordion.html +304 -0
- package/src/components/accordion/config.json +31 -0
- package/src/components/alert/Alert.tsx +88 -0
- package/src/components/alert/alert.django.html +45 -0
- package/src/components/alert/alert.html +192 -0
- package/src/components/alert/config.json +70 -0
- package/src/components/attribution/Attribution.tsx +40 -0
- package/src/components/attribution/attribution.django.html +21 -0
- package/src/components/attribution/attribution.html +26 -0
- package/src/components/attribution/config.json +32 -0
- package/src/components/avatar/Avatar.tsx +85 -0
- package/src/components/avatar/avatar.django.html +27 -0
- package/src/components/avatar/avatar.html +101 -0
- package/src/components/avatar/config.json +59 -0
- package/src/components/avatar-group/AvatarGroup.tsx +43 -0
- package/src/components/avatar-group/avatar-group.django.html +8 -0
- package/src/components/avatar-group/avatar-group.html +208 -0
- package/src/components/avatar-group/config.json +60 -0
- package/src/components/back-to-top/BackToTop.tsx +60 -0
- package/src/components/back-to-top/back-to-top.django.html +38 -0
- package/src/components/back-to-top/back-to-top.html +107 -0
- package/src/components/back-to-top/config.json +44 -0
- package/src/components/banner/Banner.tsx +111 -0
- package/src/components/banner/banner.django.html +80 -0
- package/src/components/banner/banner.html +411 -0
- package/src/components/banner/config.json +47 -0
- package/src/components/block/Block.tsx +78 -0
- package/src/components/block/block.django.html +26 -0
- package/src/components/block/block.html +162 -0
- package/src/components/block/config.json +88 -0
- package/src/components/breadcrumb/Breadcrumb.tsx +83 -0
- package/src/components/breadcrumb/breadcrumb.django.html +24 -0
- package/src/components/breadcrumb/breadcrumb.html +108 -0
- package/src/components/breadcrumb/config.json +74 -0
- package/src/components/button/Button.tsx +121 -0
- package/src/components/button/button.django.html +58 -0
- package/src/components/button/button.html +363 -0
- package/src/components/button/config.json +103 -0
- package/src/components/button-group/ButtonGroup.tsx +33 -0
- package/src/components/button-group/button-group.django.html +9 -0
- package/src/components/button-group/button-group.html +159 -0
- package/src/components/button-group/config.json +25 -0
- package/src/components/calendar-date/CalendarDate.tsx +40 -0
- package/src/components/calendar-date/calendar-date.django.html +8 -0
- package/src/components/calendar-date/calendar-date.html +17 -0
- package/src/components/calendar-date/config.json +17 -0
- package/src/components/card/Card.tsx +137 -0
- package/src/components/card/card.django.html +40 -0
- package/src/components/card/card.html +67 -0
- package/src/components/card/config.json +115 -0
- package/src/components/card-group/CardGroup.tsx +23 -0
- package/src/components/card-group/card-group.django.html +6 -0
- package/src/components/card-group/card-group.html +164 -0
- package/src/components/card-group/config.json +21 -0
- package/src/components/carousel/Carousel.tsx +101 -0
- package/src/components/carousel/carousel.django.html +41 -0
- package/src/components/carousel/carousel.html +64 -0
- package/src/components/carousel/config.json +38 -0
- package/src/components/character-count/CharacterCount.tsx +77 -0
- package/src/components/character-count/character-count.django.html +19 -0
- package/src/components/character-count/character-count.html +110 -0
- package/src/components/character-count/config.json +78 -0
- package/src/components/checkbox/Checkbox.tsx +90 -0
- package/src/components/checkbox/checkbox.django.html +16 -0
- package/src/components/checkbox/checkbox.html +266 -0
- package/src/components/checkbox/config.json +71 -0
- package/src/components/checkbox-group/CheckboxGroup.tsx +67 -0
- package/src/components/checkbox-group/checkbox-group.django.html +12 -0
- package/src/components/checkbox-group/checkbox-group.html +36 -0
- package/src/components/checkbox-group/config.json +50 -0
- package/src/components/clickable/Clickable.tsx +78 -0
- package/src/components/clickable/clickable.django.html +5 -0
- package/src/components/clickable/clickable.html +133 -0
- package/src/components/clickable/config.json +26 -0
- package/src/components/code/Code.tsx +60 -0
- package/src/components/code/code.django.html +21 -0
- package/src/components/code/code.html +71 -0
- package/src/components/code/config.json +40 -0
- package/src/components/collection/Collection.tsx +99 -0
- package/src/components/collection/collection.django.html +48 -0
- package/src/components/collection/collection.html +384 -0
- package/src/components/collection/config.json +60 -0
- package/src/components/combobox/Combobox.tsx +114 -0
- package/src/components/combobox/combobox.django.html +61 -0
- package/src/components/combobox/combobox.html +509 -0
- package/src/components/combobox/config.json +80 -0
- package/src/components/copy-to-clipboard/CopyToClipboard.tsx +48 -0
- package/src/components/copy-to-clipboard/config.json +30 -0
- package/src/components/copy-to-clipboard/copy-to-clipboard.django.html +16 -0
- package/src/components/copy-to-clipboard/copy-to-clipboard.html +68 -0
- package/src/components/date-picker/DatePicker.jsx +83 -0
- package/src/components/date-picker/config.json +71 -0
- package/src/components/date-picker/date-picker.django.html +67 -0
- package/src/components/date-picker/date-picker.html +104 -0
- package/src/components/date-range-picker/DateRangePicker.jsx +113 -0
- package/src/components/date-range-picker/config.json +92 -0
- package/src/components/date-range-picker/date-range-picker.django.html +66 -0
- package/src/components/date-range-picker/date-range-picker.html +190 -0
- package/src/components/error-message/ErrorMessage.tsx +23 -0
- package/src/components/error-message/config.json +19 -0
- package/src/components/error-message/error-message.django.html +2 -0
- package/src/components/error-message/error-message.html +2 -0
- package/src/components/eyebrow/Eyebrow.tsx +15 -0
- package/src/components/eyebrow/config.json +15 -0
- package/src/components/eyebrow/eyebrow.django.html +4 -0
- package/src/components/eyebrow/eyebrow.html +4 -0
- package/src/components/fieldset/Fieldset.tsx +54 -0
- package/src/components/fieldset/config.json +47 -0
- package/src/components/fieldset/fieldset.django.html +22 -0
- package/src/components/fieldset/fieldset.html +17 -0
- package/src/components/file-input/FileInput.jsx +174 -0
- package/src/components/file-input/config.json +80 -0
- package/src/components/file-input/file-input.django.html +57 -0
- package/src/components/file-input/file-input.html +258 -0
- package/src/components/file-list/FileList.jsx +105 -0
- package/src/components/file-list/config.json +43 -0
- package/src/components/file-list/file-list.django.html +30 -0
- package/src/components/file-list/file-list.html +61 -0
- package/src/components/footer/Footer.tsx +365 -0
- package/src/components/footer/config.json +83 -0
- package/src/components/footer/footer.django.html +260 -0
- package/src/components/footer/footer.html +392 -0
- package/src/components/form-group/FormGroup.tsx +26 -0
- package/src/components/form-group/config.json +22 -0
- package/src/components/form-group/form-group.django.html +4 -0
- package/src/components/form-group/form-group.html +17 -0
- package/src/components/header/Branding.tsx +101 -0
- package/src/components/header/Header.tsx +229 -0
- package/src/components/header/HeaderBranding.jsx +4 -0
- package/src/components/header/config.json +58 -0
- package/src/components/header/header.django.html +194 -0
- package/src/components/header/header.html +823 -0
- package/src/components/hero/Hero.tsx +64 -0
- package/src/components/hero/config.json +70 -0
- package/src/components/hero/hero.django.html +22 -0
- package/src/components/hero/hero.html +75 -0
- package/src/components/hint/Hint.tsx +23 -0
- package/src/components/hint/config.json +19 -0
- package/src/components/hint/hint.django.html +2 -0
- package/src/components/hint/hint.html +2 -0
- package/src/components/icon/Icon.tsx +46 -0
- package/src/components/icon/config.json +60 -0
- package/src/components/icon/icon.django.html +26 -0
- package/src/components/icon/icon.html +289 -0
- package/src/components/icon/icons_list.json +247 -0
- package/src/components/icon-list/IconList.tsx +59 -0
- package/src/components/icon-list/config.json +86 -0
- package/src/components/icon-list/icon-list.django.html +17 -0
- package/src/components/icon-list/icon-list.html +227 -0
- package/src/components/identifier/Identifier.tsx +193 -0
- package/src/components/identifier/config.json +133 -0
- package/src/components/identifier/identifier.django.html +99 -0
- package/src/components/identifier/identifier.html +737 -0
- package/src/components/image/Image.tsx +106 -0
- package/src/components/image/config.json +64 -0
- package/src/components/image/image.django.html +62 -0
- package/src/components/image/image.html +53 -0
- package/src/components/in-page-nav/InPageNav.jsx +76 -0
- package/src/components/in-page-nav/config.json +69 -0
- package/src/components/in-page-nav/in-page-nav.django.html +28 -0
- package/src/components/in-page-nav/in-page-nav.html +183 -0
- package/src/components/indicator/Indicator.tsx +32 -0
- package/src/components/indicator/README.md +1 -0
- package/src/components/indicator/config.json +19 -0
- package/src/components/indicator/indicator.django.html +10 -0
- package/src/components/indicator/indicator.html +42 -0
- package/src/components/input/Input.tsx +85 -0
- package/src/components/input/config.json +73 -0
- package/src/components/input/input.django.html +55 -0
- package/src/components/input/input.html +59 -0
- package/src/components/label/Label.tsx +42 -0
- package/src/components/label/config.json +39 -0
- package/src/components/label/label.django.html +23 -0
- package/src/components/label/label.html +23 -0
- package/src/components/language-selector/LanguageSelector.jsx +224 -0
- package/src/components/language-selector/config.json +107 -0
- package/src/components/language-selector/language-selector.django.html +40 -0
- package/src/components/language-selector/language-selector.html +85 -0
- package/src/components/layout/Layout.tsx +131 -0
- package/src/components/layout/config.json +36 -0
- package/src/components/layout/layout.django.html +28 -0
- package/src/components/layout/layout.html +29 -0
- package/src/components/legend/Legend.tsx +34 -0
- package/src/components/legend/config.json +27 -0
- package/src/components/legend/legend.django.html +11 -0
- package/src/components/legend/legend.html +12 -0
- package/src/components/link/Link.tsx +45 -0
- package/src/components/link/config.json +39 -0
- package/src/components/link/link.django.html +8 -0
- package/src/components/link/link.html +47 -0
- package/src/components/list/List.tsx +82 -0
- package/src/components/list/_list-items.django.html +17 -0
- package/src/components/list/config.json +25 -0
- package/src/components/list/list.django.html +11 -0
- package/src/components/list/list.html +26 -0
- package/src/components/memorable-date/MemorableDate.jsx +167 -0
- package/src/components/memorable-date/config.json +104 -0
- package/src/components/memorable-date/memorable-date.django.html +86 -0
- package/src/components/memorable-date/memorable-date.html +275 -0
- package/src/components/misc-banner/MiscBanner.tsx +112 -0
- package/src/components/misc-banner/config.json +57 -0
- package/src/components/misc-banner/misc-banner.django.html +63 -0
- package/src/components/misc-banner/misc-banner.html +191 -0
- package/src/components/modal/Modal.tsx +71 -0
- package/src/components/modal/config.json +57 -0
- package/src/components/modal/modal.django.html +43 -0
- package/src/components/modal/modal.html +222 -0
- package/src/components/page/Page.jsx +34 -0
- package/src/components/page/config.json +34 -0
- package/src/components/page/page.django.html +5 -0
- package/src/components/page/page.html +23 -0
- package/src/components/pagination/Pagination.tsx +112 -0
- package/src/components/pagination/config.json +135 -0
- package/src/components/pagination/container/PaginationContainer.tsx +38 -0
- package/src/components/pagination/navigation/PaginationNavigation.tsx +219 -0
- package/src/components/pagination/navigation/pagination-navigation.django.html +64 -0
- package/src/components/pagination/pagination.django.html +48 -0
- package/src/components/pagination/pagination.html +613 -0
- package/src/components/pagination/step-options/PaginationStepOptions.tsx +43 -0
- package/src/components/pagination/step-options/pagination-step-options.django.html +7 -0
- package/src/components/pagination/summary/PaginationSummary.tsx +33 -0
- package/src/components/pagination/summary/pagination-summary.django.html +12 -0
- package/src/components/process-list/ProcessList.tsx +52 -0
- package/src/components/process-list/config.json +15 -0
- package/src/components/process-list/process-list.django.html +15 -0
- package/src/components/process-list/process-list.html +90 -0
- package/src/components/prose/Prose.tsx +32 -0
- package/src/components/prose/config.json +28 -0
- package/src/components/prose/prose.django.html +35 -0
- package/src/components/prose/prose.html +91 -0
- package/src/components/radio-buttons/RadioButtons.tsx +82 -0
- package/src/components/radio-buttons/config.json +57 -0
- package/src/components/radio-buttons/radio-buttons.django.html +28 -0
- package/src/components/radio-buttons/radio-buttons.html +189 -0
- package/src/components/range-slider/RangeSlider.jsx +84 -0
- package/src/components/range-slider/config.json +89 -0
- package/src/components/range-slider/range-slider.django.html +65 -0
- package/src/components/range-slider/range-slider.html +106 -0
- package/src/components/required/Required.tsx +25 -0
- package/src/components/required/config.json +20 -0
- package/src/components/required/required.django.html +2 -0
- package/src/components/required/required.html +6 -0
- package/src/components/search/Search.tsx +92 -0
- package/src/components/search/config.json +69 -0
- package/src/components/search/search.django.html +59 -0
- package/src/components/search/search.html +76 -0
- package/src/components/section/Section.tsx +28 -0
- package/src/components/section/config.json +27 -0
- package/src/components/section/section.django.html +5 -0
- package/src/components/section/section.html +16 -0
- package/src/components/select/Select.tsx +107 -0
- package/src/components/select/config.json +80 -0
- package/src/components/select/select.django.html +64 -0
- package/src/components/select/select.html +62 -0
- package/src/components/sidenav/SideNav.tsx +74 -0
- package/src/components/sidenav/config.json +45 -0
- package/src/components/sidenav/sidenav.django.html +29 -0
- package/src/components/sidenav/sidenav.html +84 -0
- package/src/components/site-alert/SiteAlert.tsx +101 -0
- package/src/components/site-alert/config.json +62 -0
- package/src/components/site-alert/site-alert.django.html +34 -0
- package/src/components/site-alert/site-alert.html +312 -0
- package/src/components/skipnav/Skipnav.tsx +41 -0
- package/src/components/skipnav/config.json +29 -0
- package/src/components/skipnav/skipnav.django.html +11 -0
- package/src/components/skipnav/skipnav.html +1 -0
- package/src/components/spinner/Spinner.tsx +46 -0
- package/src/components/spinner/config.json +44 -0
- package/src/components/spinner/spinner.django.html +8 -0
- package/src/components/spinner/spinner.html +219 -0
- package/src/components/status/Status.tsx +28 -0
- package/src/components/status/config.json +47 -0
- package/src/components/status/status.django.html +2 -0
- package/src/components/status/status.html +31 -0
- package/src/components/step-indicator/StepIndicator.tsx +80 -0
- package/src/components/step-indicator/config.json +54 -0
- package/src/components/step-indicator/step-indicator.django.html +29 -0
- package/src/components/step-indicator/step-indicator.html +243 -0
- package/src/components/summary-box/SummaryBox.tsx +41 -0
- package/src/components/summary-box/config.json +30 -0
- package/src/components/summary-box/summary-box.django.html +19 -0
- package/src/components/summary-box/summary-box.html +210 -0
- package/src/components/swap/Swap.tsx +47 -0
- package/src/components/swap/config.json +61 -0
- package/src/components/swap/swap.django.html +14 -0
- package/src/components/swap/swap.html +163 -0
- package/src/components/switch/Switch.tsx +73 -0
- package/src/components/switch/config.json +55 -0
- package/src/components/switch/switch.django.html +28 -0
- package/src/components/switch/switch.html +56 -0
- package/src/components/table/Table.tsx +334 -0
- package/src/components/table/TableBody.tsx +253 -0
- package/src/components/table/TableCell.tsx +37 -0
- package/src/components/table/TableContext.tsx +87 -0
- package/src/components/table/TableFoot.tsx +68 -0
- package/src/components/table/TableGroup.tsx +69 -0
- package/src/components/table/TableHead.tsx +139 -0
- package/src/components/table/TableRow.tsx +56 -0
- package/src/components/table/__pycache__/table_helper.cpython-312.pyc +0 -0
- package/src/components/table/config.json +297 -0
- package/src/components/table/hooks/useRowDetails.ts +34 -0
- package/src/components/table/hooks/useTableGroups.ts +61 -0
- package/src/components/table/hooks/useTableSelect.ts +82 -0
- package/src/components/table/hooks/useTableSort.ts +60 -0
- package/src/components/table/table-body.django.html +68 -0
- package/src/components/table/table-detail-row.django.html +14 -0
- package/src/components/table/table-foot.django.html +31 -0
- package/src/components/table/table-group.django.html +40 -0
- package/src/components/table/table-head.django.html +85 -0
- package/src/components/table/table-row.django.html +98 -0
- package/src/components/table/table.django.html +60 -0
- package/src/components/table/table.html +1186 -0
- package/src/components/table/table_helper.py +298 -0
- package/src/components/table/types.ts +68 -0
- package/src/components/tag/Tag.tsx +75 -0
- package/src/components/tag/config.json +54 -0
- package/src/components/tag/tag.django.html +39 -0
- package/src/components/tag/tag.html +45 -0
- package/src/components/tag-group/TagGroup.tsx +35 -0
- package/src/components/tag-group/config.json +24 -0
- package/src/components/tag-group/tag-group.django.html +11 -0
- package/src/components/tag-group/tag-group.html +36 -0
- package/src/components/task-list/TaskList.tsx +40 -0
- package/src/components/task-list/config.json +41 -0
- package/src/components/task-list/task-list.django.html +21 -0
- package/src/components/task-list/task-list.html +24 -0
- package/src/components/text-area/TextArea.tsx +78 -0
- package/src/components/text-area/config.json +78 -0
- package/src/components/text-area/text-area.django.html +53 -0
- package/src/components/text-area/text-area.html +59 -0
- package/src/components/theme-picker/ThemePicker.tsx +106 -0
- package/src/components/theme-picker/config.json +39 -0
- package/src/components/theme-picker/theme-picker.django.html +32 -0
- package/src/components/theme-picker/theme-picker.html +67 -0
- package/src/components/time-picker/TimePicker.jsx +87 -0
- package/src/components/time-picker/config.json +76 -0
- package/src/components/time-picker/time-picker.django.html +67 -0
- package/src/components/time-picker/time-picker.html +123 -0
- package/src/components/toggle/Toggle.tsx +80 -0
- package/src/components/toggle/config.json +69 -0
- package/src/components/toggle/toggle.django.html +19 -0
- package/src/components/toggle/toggle.html +85 -0
- package/src/components/tooltip/Tooltip.tsx +33 -0
- package/src/components/tooltip/config.json +33 -0
- package/src/components/tooltip/tooltip.django.html +5 -0
- package/src/components/tooltip/tooltip.html +57 -0
- package/src/components/villain/Villain.tsx +47 -0
- package/src/components/villain/config.json +44 -0
- package/src/components/villain/villain.django.html +19 -0
- package/src/components/villain/villain.html +39 -0
- package/src/declarations.d.ts +1 -0
- package/src/index.js +82 -0
- package/src/styles/core.scss +12 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
{% load components %}
|
|
2
|
+
|
|
3
|
+
{# Django template for Footer #}
|
|
4
|
+
{# Supports variant: 'big' (default), 'medium', 'slim' #}
|
|
5
|
+
{# See config.json for full prop reference. #}
|
|
6
|
+
<footer class="
|
|
7
|
+
usa-footer
|
|
8
|
+
usx-footer
|
|
9
|
+
{% if variant == 'big' %}usa-footer--big{% endif %}
|
|
10
|
+
{% if variant == 'slim' %}usa-footer--slim{% endif %}
|
|
11
|
+
{{ className }}
|
|
12
|
+
">
|
|
13
|
+
|
|
14
|
+
{# ── Return to top ──────────────────────────────────────────── #}
|
|
15
|
+
{% if returnToTop %}
|
|
16
|
+
<div class="grid-container usa-footer__return-to-top usx-footer__return-to-top">
|
|
17
|
+
<a href="{{ returnToTopHref|default:'#main-content' }}" class="usa-link usx-link usx-footer__return-to-top"
|
|
18
|
+
>{{ returnToTopLabel|default:'Return to top' }}{% icon name='arrow_upward' %}{% endicon %}
|
|
19
|
+
</a>
|
|
20
|
+
</div>
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
{# ── Primary section ────────────────────────────────────────── #}
|
|
24
|
+
<div class="usa-footer__primary-section">
|
|
25
|
+
|
|
26
|
+
{% if variant == 'big' %}
|
|
27
|
+
{# Big footer: nav columns + optional sign-up form #}
|
|
28
|
+
<div class="grid-container">
|
|
29
|
+
<div class="grid-row grid-gap">
|
|
30
|
+
{% if navColumns %}
|
|
31
|
+
<div class="tablet:grid-col-8">
|
|
32
|
+
<nav class="usa-footer__nav" aria-label="{{ navAriaLabel|default:'Footer navigation' }}">
|
|
33
|
+
<div class="grid-row grid-gap-4">
|
|
34
|
+
{% for col in navColumns %}
|
|
35
|
+
<div class="mobile-lg:grid-col-6 desktop:grid-col-3">
|
|
36
|
+
<section class="usa-footer__primary-content usa-footer__primary-content--collapsible usx-footer__nav-column">
|
|
37
|
+
{% if col.heading %}<h4 class="usa-footer__primary-link">{{ col.heading }}</h4>{% endif %}
|
|
38
|
+
{% if col.links %}
|
|
39
|
+
<ul class="usa-list usa-list--unstyled">
|
|
40
|
+
{% for link in col.links %}
|
|
41
|
+
<li class="usa-footer__secondary-link">
|
|
42
|
+
<a href="{{ link.href }}"{% if link.ariaLabel %} aria-label="{{ link.ariaLabel }}"{% endif %}>{{ link.text }}</a>
|
|
43
|
+
</li>
|
|
44
|
+
{% endfor %}
|
|
45
|
+
</ul>
|
|
46
|
+
{% endif %}
|
|
47
|
+
</section>
|
|
48
|
+
</div>
|
|
49
|
+
{% endfor %}
|
|
50
|
+
</div>
|
|
51
|
+
</nav>
|
|
52
|
+
</div>
|
|
53
|
+
{% endif %}
|
|
54
|
+
|
|
55
|
+
{% if signUp %}
|
|
56
|
+
<div class="{% if navColumns %}tablet:grid-col-4{% else %}tablet:grid-col-12{% endif %}">
|
|
57
|
+
<div class="usa-sign-up usx-footer__sign-up">
|
|
58
|
+
<h3 class="usa-sign-up__heading">{{ signUp.heading|default:'Sign up' }}</h3>
|
|
59
|
+
<form class="usa-form"{% if signUp.action %} action="{{ signUp.action }}"{% endif %}>
|
|
60
|
+
<label class="usa-label" for="{{ signUp.emailId|default:'footer-email' }}">
|
|
61
|
+
{{ signUp.emailLabel|default:'Your email address' }}
|
|
62
|
+
</label>
|
|
63
|
+
<input class="usa-input" id="{{ signUp.emailId|default:'footer-email' }}" name="email" type="email" autocomplete="email" />
|
|
64
|
+
<button class="usa-button usx-button usa-button--primary" type="submit">
|
|
65
|
+
{{ signUp.buttonText|default:'Sign up' }}
|
|
66
|
+
</button>
|
|
67
|
+
</form>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
{% endif %}
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
{% elif variant == 'slim' %}
|
|
75
|
+
{# Slim footer: flat nav links (left) + contact info (right) #}
|
|
76
|
+
<div class="usa-footer__primary-container grid-row">
|
|
77
|
+
{% if navLinks %}
|
|
78
|
+
<div class="mobile-lg:grid-col-8">
|
|
79
|
+
<nav class="usa-footer__nav" aria-label="{{ navAriaLabel|default:'Footer navigation' }}">
|
|
80
|
+
<ul class="grid-row grid-gap">
|
|
81
|
+
{% for link in navLinks %}
|
|
82
|
+
<li class="mobile-lg:grid-col-6 desktop:grid-col-auto usa-footer__primary-content">
|
|
83
|
+
<a class="usa-footer__primary-link" href="{{ link.href }}"{% if link.ariaLabel %} aria-label="{{ link.ariaLabel }}"{% endif %}>{{ link.text }}</a>
|
|
84
|
+
</li>
|
|
85
|
+
{% endfor %}
|
|
86
|
+
</ul>
|
|
87
|
+
</nav>
|
|
88
|
+
</div>
|
|
89
|
+
{% endif %}
|
|
90
|
+
|
|
91
|
+
{% if contactPhone or contactEmail or contactLinks %}
|
|
92
|
+
<div class="mobile-lg:grid-col-4">
|
|
93
|
+
<address class="usa-footer__address usx-footer__contact">
|
|
94
|
+
<div class="grid-row grid-gap">
|
|
95
|
+
{% if contactPhone %}
|
|
96
|
+
<div class="grid-col-auto mobile-lg:grid-col-12 desktop:grid-col-auto">
|
|
97
|
+
<div class="usa-footer__contact-info">
|
|
98
|
+
{% if contactPhone.href %}
|
|
99
|
+
<a href="{{ contactPhone.href }}">{{ contactPhone.text }}</a>
|
|
100
|
+
{% else %}
|
|
101
|
+
<a href="tel:{{ contactPhone }}">{{ contactPhone }}</a>
|
|
102
|
+
{% endif %}
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
{% endif %}
|
|
106
|
+
{% if contactEmail %}
|
|
107
|
+
<div class="grid-col-auto mobile-lg:grid-col-12 desktop:grid-col-auto">
|
|
108
|
+
<div class="usa-footer__contact-info">
|
|
109
|
+
{% if contactEmail.href %}
|
|
110
|
+
<a href="{{ contactEmail.href }}">{{ contactEmail.text }}</a>
|
|
111
|
+
{% else %}
|
|
112
|
+
<a href="mailto:{{ contactEmail }}">{{ contactEmail }}</a>
|
|
113
|
+
{% endif %}
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
{% endif %}
|
|
117
|
+
{% for link in contactLinks %}
|
|
118
|
+
<div class="grid-col-auto mobile-lg:grid-col-12 desktop:grid-col-auto">
|
|
119
|
+
<div class="usa-footer__contact-info">
|
|
120
|
+
<a href="{{ link.href }}">{{ link.text }}</a>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
{% endfor %}
|
|
124
|
+
</div>
|
|
125
|
+
</address>
|
|
126
|
+
</div>
|
|
127
|
+
{% endif %}
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
{% else %}
|
|
131
|
+
{# Medium footer (default): flat centered nav links #}
|
|
132
|
+
{% if navLinks %}
|
|
133
|
+
<nav class="usa-footer__nav" aria-label="{{ navAriaLabel|default:'Footer navigation' }}">
|
|
134
|
+
<ul class="grid-row grid-gap">
|
|
135
|
+
{% for link in navLinks %}
|
|
136
|
+
<li class="mobile-lg:grid-col-4 desktop:grid-col-auto usa-footer__primary-content">
|
|
137
|
+
<a class="usa-footer__primary-link" href="{{ link.href }}"{% if link.ariaLabel %} aria-label="{{ link.ariaLabel }}"{% endif %}>{{ link.text }}</a>
|
|
138
|
+
</li>
|
|
139
|
+
{% endfor %}
|
|
140
|
+
</ul>
|
|
141
|
+
</nav>
|
|
142
|
+
{% endif %}
|
|
143
|
+
{% endif %}
|
|
144
|
+
|
|
145
|
+
</div>{# /primary-section #}
|
|
146
|
+
|
|
147
|
+
{# ── Secondary section ──────────────────────────────────────── #}
|
|
148
|
+
{% if branding or socialLinks or contactHeading or contactPhone or contactEmail or contactLinks %}
|
|
149
|
+
<div class="usa-footer__secondary-section">
|
|
150
|
+
<div class="grid-container">
|
|
151
|
+
|
|
152
|
+
{% if variant == 'slim' %}
|
|
153
|
+
{# Slim: compact branding row, no contact (contact is in primary) #}
|
|
154
|
+
{% if branding %}
|
|
155
|
+
<div class="usa-logo usx-logo usa-footer__logo grid-row grid-gap-2 usx-footer__logo">
|
|
156
|
+
{% if branding.logo %}
|
|
157
|
+
{% if brandingUrl %}<a href="{{ brandingUrl }}" class="usx-logo__image">{% endif %}
|
|
158
|
+
<img src="{{ branding.logo }}" alt="{{ branding.alt|default:branding.title|default:'' }}" class="usx-logo__variant" />
|
|
159
|
+
{% if branding.logoInverse %}<img src="{{ branding.logoInverse }}" alt="{{ branding.alt|default:branding.title|default:'' }}" class="usx-logo__variant usx-logo__variant--inverse" />{% endif %}
|
|
160
|
+
{% if brandingUrl %}</a>{% endif %}
|
|
161
|
+
{% else %}
|
|
162
|
+
<em class="usa-logo__text">
|
|
163
|
+
{% if branding.symbol %}
|
|
164
|
+
<img src="{{ branding.symbol }}" alt="" aria-hidden="true" class="usx-logo__symbol usx-logo__variant" />
|
|
165
|
+
{% endif %}
|
|
166
|
+
{% if branding.symbolInverse %}
|
|
167
|
+
<img src="{{ branding.symbolInverse }}" alt="" aria-hidden="true" class="usx-logo__symbol usx-logo__variant usx-logo__variant--inverse" />
|
|
168
|
+
{% endif %}
|
|
169
|
+
{% if branding.title %}
|
|
170
|
+
{% if brandingUrl %}<a href="{{ brandingUrl }}" class="usx-logo__title">{{ branding.title }}</a>
|
|
171
|
+
{% else %}<span class="usx-logo__title">{{ branding.title }}</span>{% endif %}
|
|
172
|
+
{% endif %}
|
|
173
|
+
</em>
|
|
174
|
+
{% endif %}
|
|
175
|
+
</div>
|
|
176
|
+
{% endif %}
|
|
177
|
+
|
|
178
|
+
{% else %}
|
|
179
|
+
{# Big / medium: branding (left) + social + contact (right) #}
|
|
180
|
+
<div class="grid-row grid-gap">
|
|
181
|
+
{% if branding %}
|
|
182
|
+
<div class="usa-logo usx-logo usa-footer__logo grid-row mobile-lg:grid-col-6 mobile-lg:grid-gap-2 usx-footer__logo">
|
|
183
|
+
{% if branding.logo %}
|
|
184
|
+
{% if brandingUrl %}<a href="{{ brandingUrl }}" class="usx-logo__image">{% endif %}
|
|
185
|
+
<img src="{{ branding.logo }}" alt="{{ branding.alt|default:branding.title|default:'' }}" class="usx-logo__variant" />
|
|
186
|
+
{% if branding.logoInverse %}<img src="{{ branding.logoInverse }}" alt="{{ branding.alt|default:branding.title|default:'' }}" class="usx-logo__variant usx-logo__variant--inverse" />{% endif %}
|
|
187
|
+
{% if brandingUrl %}</a>{% endif %}
|
|
188
|
+
{% else %}
|
|
189
|
+
<em class="usa-logo__text">
|
|
190
|
+
{% if branding.symbol %}
|
|
191
|
+
<img src="{{ branding.symbol }}" alt="" aria-hidden="true" class="usx-logo__symbol usx-logo__variant" />
|
|
192
|
+
{% endif %}
|
|
193
|
+
{% if branding.symbolInverse %}
|
|
194
|
+
<img src="{{ branding.symbolInverse }}" alt="" aria-hidden="true" class="usx-logo__symbol usx-logo__variant usx-logo__variant--inverse" />
|
|
195
|
+
{% endif %}
|
|
196
|
+
{% if branding.title %}
|
|
197
|
+
{% if brandingUrl %}<a href="{{ brandingUrl }}" class="usx-logo__title">{{ branding.title }}</a>
|
|
198
|
+
{% else %}<span class="usx-logo__title">{{ branding.title }}</span>{% endif %}
|
|
199
|
+
{% endif %}
|
|
200
|
+
</em>
|
|
201
|
+
{% endif %}
|
|
202
|
+
</div>
|
|
203
|
+
{% endif %}
|
|
204
|
+
|
|
205
|
+
{% if socialLinks or contactHeading or contactPhone or contactEmail or contactLinks %}
|
|
206
|
+
<div class="usa-footer__contact-links mobile-lg:grid-col-6">
|
|
207
|
+
{% if socialLinks %}
|
|
208
|
+
<div class="usa-footer__social-links grid-row grid-gap-1 usx-footer__social-links">
|
|
209
|
+
{% for social in socialLinks %}
|
|
210
|
+
<div class="grid-col-auto">
|
|
211
|
+
<a class="usa-social-link" href="{{ social.href }}"{% if social.alt %} aria-label="{{ social.alt }}"{% endif %}>
|
|
212
|
+
<img class="usa-social-link__icon" src="{{ social.icon }}" alt="{{ social.alt|default:'' }}" />
|
|
213
|
+
</a>
|
|
214
|
+
</div>
|
|
215
|
+
{% endfor %}
|
|
216
|
+
</div>
|
|
217
|
+
{% endif %}
|
|
218
|
+
|
|
219
|
+
<address class="usa-footer__address usx-footer__contact">
|
|
220
|
+
{% if contactHeading %}
|
|
221
|
+
<p class="usa-footer__contact-heading">{{ contactHeading }}</p>
|
|
222
|
+
{% endif %}
|
|
223
|
+
{% if contactPhone or contactEmail or contactLinks %}
|
|
224
|
+
<div class="usa-footer__contact-info grid-row grid-gap">
|
|
225
|
+
{% if contactPhone %}
|
|
226
|
+
<div class="grid-col-auto">
|
|
227
|
+
{% if contactPhone.href %}
|
|
228
|
+
<a href="{{ contactPhone.href }}">{{ contactPhone.text }}</a>
|
|
229
|
+
{% else %}
|
|
230
|
+
<a href="tel:{{ contactPhone }}">{{ contactPhone }}</a>
|
|
231
|
+
{% endif %}
|
|
232
|
+
</div>
|
|
233
|
+
{% endif %}
|
|
234
|
+
{% if contactEmail %}
|
|
235
|
+
<div class="grid-col-auto">
|
|
236
|
+
{% if contactEmail.href %}
|
|
237
|
+
<a href="{{ contactEmail.href }}">{{ contactEmail.text }}</a>
|
|
238
|
+
{% else %}
|
|
239
|
+
<a href="mailto:{{ contactEmail }}">{{ contactEmail }}</a>
|
|
240
|
+
{% endif %}
|
|
241
|
+
</div>
|
|
242
|
+
{% endif %}
|
|
243
|
+
{% for link in contactLinks %}
|
|
244
|
+
<div class="grid-col-auto">
|
|
245
|
+
<a href="{{ link.href }}">{{ link.text }}</a>
|
|
246
|
+
</div>
|
|
247
|
+
{% endfor %}
|
|
248
|
+
</div>
|
|
249
|
+
{% endif %}
|
|
250
|
+
</address>
|
|
251
|
+
</div>
|
|
252
|
+
{% endif %}
|
|
253
|
+
</div>
|
|
254
|
+
{% endif %}
|
|
255
|
+
|
|
256
|
+
</div>
|
|
257
|
+
</div>
|
|
258
|
+
{% endif %}{# /secondary-section #}
|
|
259
|
+
|
|
260
|
+
</footer>
|
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
<h3 class="site-preview-heading" id="big-footer">Big footer</h3>
|
|
2
|
+
|
|
3
|
+
<footer class="usa-footer usx-footer usa-footer--big">
|
|
4
|
+
<div class="grid-container usa-footer__return-to-top">
|
|
5
|
+
<a href="#">Return to top</a>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="usa-footer__primary-section">
|
|
8
|
+
<div class="grid-container">
|
|
9
|
+
<div class="grid-row grid-gap">
|
|
10
|
+
<div class="tablet:grid-col-8">
|
|
11
|
+
<nav class="usa-footer__nav" aria-label="Footer navigation,,">
|
|
12
|
+
<div class="grid-row grid-gap-4">
|
|
13
|
+
<div class="mobile-lg:grid-col-6 desktop:grid-col-3">
|
|
14
|
+
<section
|
|
15
|
+
class="usa-footer__primary-content usa-footer__primary-content--collapsible"
|
|
16
|
+
>
|
|
17
|
+
<h4 class="usa-footer__primary-link"><Topic></h4>
|
|
18
|
+
<ul class="usa-list usa-list--unstyled">
|
|
19
|
+
<li class="usa-footer__secondary-link">
|
|
20
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
21
|
+
</li>
|
|
22
|
+
<li class="usa-footer__secondary-link">
|
|
23
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
24
|
+
</li>
|
|
25
|
+
<li class="usa-footer__secondary-link">
|
|
26
|
+
<a href="javascript:void(0);"
|
|
27
|
+
><Secondary link that's a bit longer than most
|
|
28
|
+
of the others></a
|
|
29
|
+
>
|
|
30
|
+
</li>
|
|
31
|
+
<li class="usa-footer__secondary-link">
|
|
32
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
33
|
+
</li>
|
|
34
|
+
</ul>
|
|
35
|
+
</section>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="mobile-lg:grid-col-6 desktop:grid-col-3">
|
|
38
|
+
<section
|
|
39
|
+
class="usa-footer__primary-content usa-footer__primary-content--collapsible"
|
|
40
|
+
>
|
|
41
|
+
<h4 class="usa-footer__primary-link"><Topic></h4>
|
|
42
|
+
<ul class="usa-list usa-list--unstyled">
|
|
43
|
+
<li class="usa-footer__secondary-link">
|
|
44
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
45
|
+
</li>
|
|
46
|
+
<li class="usa-footer__secondary-link">
|
|
47
|
+
<a href="javascript:void(0);"
|
|
48
|
+
><Secondary link that's pretty long></a
|
|
49
|
+
>
|
|
50
|
+
</li>
|
|
51
|
+
<li class="usa-footer__secondary-link">
|
|
52
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
53
|
+
</li>
|
|
54
|
+
<li class="usa-footer__secondary-link">
|
|
55
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
56
|
+
</li>
|
|
57
|
+
</ul>
|
|
58
|
+
</section>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="mobile-lg:grid-col-6 desktop:grid-col-3">
|
|
61
|
+
<section
|
|
62
|
+
class="usa-footer__primary-content usa-footer__primary-content--collapsible"
|
|
63
|
+
>
|
|
64
|
+
<h4 class="usa-footer__primary-link"><Topic></h4>
|
|
65
|
+
<ul class="usa-list usa-list--unstyled">
|
|
66
|
+
<li class="usa-footer__secondary-link">
|
|
67
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
68
|
+
</li>
|
|
69
|
+
<li class="usa-footer__secondary-link">
|
|
70
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
71
|
+
</li>
|
|
72
|
+
<li class="usa-footer__secondary-link">
|
|
73
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
74
|
+
</li>
|
|
75
|
+
<li class="usa-footer__secondary-link">
|
|
76
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
77
|
+
</li>
|
|
78
|
+
</ul>
|
|
79
|
+
</section>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="mobile-lg:grid-col-6 desktop:grid-col-3">
|
|
82
|
+
<section
|
|
83
|
+
class="usa-footer__primary-content usa-footer__primary-content--collapsible"
|
|
84
|
+
>
|
|
85
|
+
<h4 class="usa-footer__primary-link"><Topic></h4>
|
|
86
|
+
<ul class="usa-list usa-list--unstyled">
|
|
87
|
+
<li class="usa-footer__secondary-link">
|
|
88
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
89
|
+
</li>
|
|
90
|
+
<li class="usa-footer__secondary-link">
|
|
91
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
92
|
+
</li>
|
|
93
|
+
<li class="usa-footer__secondary-link">
|
|
94
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
95
|
+
</li>
|
|
96
|
+
<li class="usa-footer__secondary-link">
|
|
97
|
+
<a href="javascript:void(0);"><Secondary link></a>
|
|
98
|
+
</li>
|
|
99
|
+
</ul>
|
|
100
|
+
</section>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</nav>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="tablet:grid-col-4">
|
|
106
|
+
<div class="usa-sign-up">
|
|
107
|
+
<h3 class="usa-sign-up__heading">Sign up</h3>
|
|
108
|
+
<form class="usa-form">
|
|
109
|
+
<label class="usa-label" for="email" id=""
|
|
110
|
+
>Your email address</label
|
|
111
|
+
>
|
|
112
|
+
<input
|
|
113
|
+
class="usa-input"
|
|
114
|
+
id="email"
|
|
115
|
+
name="email"
|
|
116
|
+
type="email"
|
|
117
|
+
autocomplete="email"
|
|
118
|
+
/>
|
|
119
|
+
<button class="usa-button" type="submit">Sign up</button>
|
|
120
|
+
</form>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="usa-footer__secondary-section">
|
|
127
|
+
<div class="grid-container">
|
|
128
|
+
<div class="grid-row grid-gap">
|
|
129
|
+
<div
|
|
130
|
+
class="usa-footer__logo grid-row mobile-lg:grid-col-6 mobile-lg:grid-gap-2"
|
|
131
|
+
>
|
|
132
|
+
<div class="mobile-lg:grid-col-auto">
|
|
133
|
+
<img class="usa-footer__logo-img" src="/assets/img/logo-img.png" alt="" />
|
|
134
|
+
</div>
|
|
135
|
+
<div class="mobile-lg:grid-col-auto">
|
|
136
|
+
<p class="usa-footer__logo-heading"><Name of Agency></p>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="usa-footer__contact-links mobile-lg:grid-col-6">
|
|
140
|
+
<div class="usa-footer__social-links grid-row grid-gap-1">
|
|
141
|
+
<div class="grid-col-auto">
|
|
142
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
143
|
+
><img
|
|
144
|
+
class="usa-social-link__icon"
|
|
145
|
+
src="/assets/img/usa-icons/facebook.svg"
|
|
146
|
+
alt="Facebook"
|
|
147
|
+
/></a>
|
|
148
|
+
</div>
|
|
149
|
+
<div class="grid-col-auto">
|
|
150
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
151
|
+
><img
|
|
152
|
+
class="usa-social-link__icon"
|
|
153
|
+
src="/assets/img/usa-icons/twitter.svg"
|
|
154
|
+
alt="Twitter"
|
|
155
|
+
/></a>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="grid-col-auto">
|
|
158
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
159
|
+
><img
|
|
160
|
+
class="usa-social-link__icon"
|
|
161
|
+
src="/assets/img/usa-icons/youtube.svg"
|
|
162
|
+
alt="YouTube"
|
|
163
|
+
/></a>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="grid-col-auto">
|
|
166
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
167
|
+
><img
|
|
168
|
+
class="usa-social-link__icon"
|
|
169
|
+
src="/assets/img/usa-icons/instagram.svg"
|
|
170
|
+
alt="Instagram"
|
|
171
|
+
/></a>
|
|
172
|
+
</div>
|
|
173
|
+
<div class="grid-col-auto">
|
|
174
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
175
|
+
><img
|
|
176
|
+
class="usa-social-link__icon"
|
|
177
|
+
src="/assets/img/usa-icons/rss_feed.svg"
|
|
178
|
+
alt="RSS"
|
|
179
|
+
/></a>
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
<p class="usa-footer__contact-heading">
|
|
183
|
+
<Agency Contact Center>
|
|
184
|
+
</p>
|
|
185
|
+
<address class="usa-footer__address">
|
|
186
|
+
<div class="usa-footer__contact-info grid-row grid-gap">
|
|
187
|
+
<div class="grid-col-auto">
|
|
188
|
+
<a href="tel:1-800-555-5555"><(800) 555-GOVT></a>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="grid-col-auto">
|
|
191
|
+
<a href="mailto:info@agency.gov"><info@agency.gov></a>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
</address>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
</footer>
|
|
200
|
+
|
|
201
|
+
<h3 class="site-preview-heading" id="medium-footer">Medium footer</h3>
|
|
202
|
+
|
|
203
|
+
<footer class="usa-footer usx-footer">
|
|
204
|
+
<div class="grid-container usa-footer__return-to-top">
|
|
205
|
+
<a href="#">Return to top</a>
|
|
206
|
+
</div>
|
|
207
|
+
<div class="usa-footer__primary-section">
|
|
208
|
+
<nav class="usa-footer__nav" aria-label="Footer navigation">
|
|
209
|
+
<ul class="grid-row grid-gap">
|
|
210
|
+
<li
|
|
211
|
+
class="mobile-lg:grid-col-4 desktop:grid-col-auto usa-footer__primary-content"
|
|
212
|
+
>
|
|
213
|
+
<a class="usa-footer__primary-link" href="javascript:void(0);"
|
|
214
|
+
><Primary link></a
|
|
215
|
+
>
|
|
216
|
+
</li>
|
|
217
|
+
<li
|
|
218
|
+
class="mobile-lg:grid-col-4 desktop:grid-col-auto usa-footer__primary-content"
|
|
219
|
+
>
|
|
220
|
+
<a class="usa-footer__primary-link" href="javascript:void(0);"
|
|
221
|
+
><Primary link></a
|
|
222
|
+
>
|
|
223
|
+
</li>
|
|
224
|
+
<li
|
|
225
|
+
class="mobile-lg:grid-col-4 desktop:grid-col-auto usa-footer__primary-content"
|
|
226
|
+
>
|
|
227
|
+
<a class="usa-footer__primary-link" href="javascript:void(0);"
|
|
228
|
+
><Primary link></a
|
|
229
|
+
>
|
|
230
|
+
</li>
|
|
231
|
+
<li
|
|
232
|
+
class="mobile-lg:grid-col-4 desktop:grid-col-auto usa-footer__primary-content"
|
|
233
|
+
>
|
|
234
|
+
<a class="usa-footer__primary-link" href="javascript:void(0);"
|
|
235
|
+
><Primary link></a
|
|
236
|
+
>
|
|
237
|
+
</li>
|
|
238
|
+
</ul>
|
|
239
|
+
</nav>
|
|
240
|
+
</div>
|
|
241
|
+
<div class="usa-footer__secondary-section">
|
|
242
|
+
<div class="grid-container">
|
|
243
|
+
<div class="grid-row grid-gap">
|
|
244
|
+
<div
|
|
245
|
+
class="usa-footer__logo grid-row mobile-lg:grid-col-6 mobile-lg:grid-gap-2"
|
|
246
|
+
>
|
|
247
|
+
<div class="mobile-lg:grid-col-auto">
|
|
248
|
+
<img class="usa-footer__logo-img" src="/assets/img/logo-img.png" alt="" />
|
|
249
|
+
</div>
|
|
250
|
+
<div class="mobile-lg:grid-col-auto">
|
|
251
|
+
<p class="usa-footer__logo-heading"><Name of Agency></p>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
<div class="usa-footer__contact-links mobile-lg:grid-col-6">
|
|
255
|
+
<div class="usa-footer__social-links grid-row grid-gap-1">
|
|
256
|
+
<div class="grid-col-auto">
|
|
257
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
258
|
+
><img
|
|
259
|
+
class="usa-social-link__icon"
|
|
260
|
+
src="/assets/img/usa-icons/facebook.svg"
|
|
261
|
+
alt="Facebook"
|
|
262
|
+
/></a>
|
|
263
|
+
</div>
|
|
264
|
+
<div class="grid-col-auto">
|
|
265
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
266
|
+
><img
|
|
267
|
+
class="usa-social-link__icon"
|
|
268
|
+
src="/assets/img/usa-icons/twitter.svg"
|
|
269
|
+
alt="Twitter"
|
|
270
|
+
/></a>
|
|
271
|
+
</div>
|
|
272
|
+
<div class="grid-col-auto">
|
|
273
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
274
|
+
><img
|
|
275
|
+
class="usa-social-link__icon"
|
|
276
|
+
src="/assets/img/usa-icons/youtube.svg"
|
|
277
|
+
alt="YouTube"
|
|
278
|
+
/></a>
|
|
279
|
+
</div>
|
|
280
|
+
<div class="grid-col-auto">
|
|
281
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
282
|
+
><img
|
|
283
|
+
class="usa-social-link__icon"
|
|
284
|
+
src="/assets/img/usa-icons/instagram.svg"
|
|
285
|
+
alt="Instagram"
|
|
286
|
+
/></a>
|
|
287
|
+
</div>
|
|
288
|
+
<div class="grid-col-auto">
|
|
289
|
+
<a class="usa-social-link" href="javascript:void(0);"
|
|
290
|
+
><img
|
|
291
|
+
class="usa-social-link__icon"
|
|
292
|
+
src="/assets/img/usa-icons/rss_feed.svg"
|
|
293
|
+
alt="RSS"
|
|
294
|
+
/></a>
|
|
295
|
+
</div>
|
|
296
|
+
</div>
|
|
297
|
+
<p class="usa-footer__contact-heading">
|
|
298
|
+
<Agency Contact Center>
|
|
299
|
+
</p>
|
|
300
|
+
<address class="usa-footer__address">
|
|
301
|
+
<div class="usa-footer__contact-info grid-row grid-gap">
|
|
302
|
+
<div class="grid-col-auto">
|
|
303
|
+
<a href="tel:1-800-555-5555"><(800) 555-GOVT></a>
|
|
304
|
+
</div>
|
|
305
|
+
<div class="grid-col-auto">
|
|
306
|
+
<a href="mailto:info@agency.gov"><info@agency.gov></a>
|
|
307
|
+
</div>
|
|
308
|
+
</div>
|
|
309
|
+
</address>
|
|
310
|
+
</div>
|
|
311
|
+
</div>
|
|
312
|
+
</div>
|
|
313
|
+
</div>
|
|
314
|
+
</footer>
|
|
315
|
+
|
|
316
|
+
<h3 class="site-preview-heading" id="slim-footer">Slim footer</h3>
|
|
317
|
+
|
|
318
|
+
<footer class="usa-footer usx-footer usa-footer--slim">
|
|
319
|
+
<div class="grid-container usa-footer__return-to-top">
|
|
320
|
+
<a href="#">Return to top</a>
|
|
321
|
+
</div>
|
|
322
|
+
<div class="usa-footer__primary-section">
|
|
323
|
+
<div class="usa-footer__primary-container grid-row">
|
|
324
|
+
<div class="mobile-lg:grid-col-8">
|
|
325
|
+
<nav class="usa-footer__nav" aria-label="Footer navigation,">
|
|
326
|
+
<ul class="grid-row grid-gap">
|
|
327
|
+
<li
|
|
328
|
+
class="mobile-lg:grid-col-6 desktop:grid-col-auto usa-footer__primary-content"
|
|
329
|
+
>
|
|
330
|
+
<a class="usa-footer__primary-link" href="javascript:void(0);"
|
|
331
|
+
><Primary link></a
|
|
332
|
+
>
|
|
333
|
+
</li>
|
|
334
|
+
<li
|
|
335
|
+
class="mobile-lg:grid-col-6 desktop:grid-col-auto usa-footer__primary-content"
|
|
336
|
+
>
|
|
337
|
+
<a class="usa-footer__primary-link" href="javascript:void(0);"
|
|
338
|
+
><Primary link></a
|
|
339
|
+
>
|
|
340
|
+
</li>
|
|
341
|
+
<li
|
|
342
|
+
class="mobile-lg:grid-col-6 desktop:grid-col-auto usa-footer__primary-content"
|
|
343
|
+
>
|
|
344
|
+
<a class="usa-footer__primary-link" href="javascript:void(0);"
|
|
345
|
+
><Primary link></a
|
|
346
|
+
>
|
|
347
|
+
</li>
|
|
348
|
+
<li
|
|
349
|
+
class="mobile-lg:grid-col-6 desktop:grid-col-auto usa-footer__primary-content"
|
|
350
|
+
>
|
|
351
|
+
<a class="usa-footer__primary-link" href="javascript:void(0);"
|
|
352
|
+
><Primary link></a
|
|
353
|
+
>
|
|
354
|
+
</li>
|
|
355
|
+
</ul>
|
|
356
|
+
</nav>
|
|
357
|
+
</div>
|
|
358
|
+
<div class="mobile-lg:grid-col-4">
|
|
359
|
+
<address class="usa-footer__address">
|
|
360
|
+
<div class="grid-row grid-gap">
|
|
361
|
+
<div
|
|
362
|
+
class="grid-col-auto mobile-lg:grid-col-12 desktop:grid-col-auto"
|
|
363
|
+
>
|
|
364
|
+
<div class="usa-footer__contact-info">
|
|
365
|
+
<a href="tel:1-800-555-5555"><(800) 555-GOVT></a>
|
|
366
|
+
</div>
|
|
367
|
+
</div>
|
|
368
|
+
<div
|
|
369
|
+
class="grid-col-auto mobile-lg:grid-col-12 desktop:grid-col-auto"
|
|
370
|
+
>
|
|
371
|
+
<div class="usa-footer__contact-info">
|
|
372
|
+
<a href="mailto:info@agency.gov"><info@agency.gov></a>
|
|
373
|
+
</div>
|
|
374
|
+
</div>
|
|
375
|
+
</div>
|
|
376
|
+
</address>
|
|
377
|
+
</div>
|
|
378
|
+
</div>
|
|
379
|
+
</div>
|
|
380
|
+
<div class="usa-footer__secondary-section">
|
|
381
|
+
<div class="grid-container">
|
|
382
|
+
<div class="usa-footer__logo grid-row grid-gap-2">
|
|
383
|
+
<div class="grid-col-auto">
|
|
384
|
+
<img class="usa-footer__logo-img" src="/assets/img/logo-img.png" alt="" />
|
|
385
|
+
</div>
|
|
386
|
+
<div class="grid-col-auto">
|
|
387
|
+
<p class="usa-footer__logo-heading"><Agency Contact Center></p>
|
|
388
|
+
</div>
|
|
389
|
+
</div>
|
|
390
|
+
</div>
|
|
391
|
+
</div>
|
|
392
|
+
</footer>
|