Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
#579 fix data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-englander committed Feb 15, 2023
1 parent 9461df9 commit aa5e8bc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
27 changes: 15 additions & 12 deletions components/BetaUsaGovFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@
<div class="usa-footer__primary-section">
<div class="grid-container">
<div class="grid-row grid-gap">
<div class="tablet:grid-col-8">left</div>
<div class="tablet:grid-col-8">
<ul>
<li
v-for="item in $t('beta.footer.column1')"
:key="item.uniqueId"
class="">
{{ item.linkText }}
</li>
</ul>
</div>

<div class="tablet:grid-col-4">right</div>
<ul>
<li
v-for="item in beta.footer.column1"
:key="item.linkText"
class="usa-process-list__item padding-bottom-4">
<p>
{{ $t("item.linkText") }}
{{ item.linkText }}
</p>
</li>
</ul>
</div>
</div>
</div>
Expand All @@ -37,11 +35,13 @@ export default {
required: false,
},
},
data() {
return {
uniqueId: _.uniqueId("foo-"),
}
},
switchLanguage() {
let route = ""
const locale = this.$i18n.locale
Expand All @@ -66,6 +66,9 @@ export default {
return defaultValue
}
},
pushFilter(item) {
// console.log(category.name)
},
},
}
</script>
47 changes: 22 additions & 25 deletions locales/en/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,31 +298,28 @@
"usaGov": "USA.gov",
"main": ". If you don't find what you're looking for, return to the main site."
},

"footer": [
{
"column1": [
{
"linkText": "All topics and services",
"linkURL": "https://beta.usa.gov/#all_topics"
},
{
"linkText": "About the U.S. and its government",
"linkURL": "https://beta.usa.gov/about-the-us/"
}
],
"column2": [
{
"linkText": "All topics and services",
"linkURL": "https://beta.usa.gov/#all_topics"
},
{
"linkText": "About the U.S. and its government",
"linkURL": "https://beta.usa.gov/about-the-us/"
}
]
}
],
"footer": {
"column1": [
{
"linkText": "All topics and services",
"linkURL": "https://beta.usa.gov/#all_topics"
},
{
"linkText": "About the U.S. and its government",
"linkURL": "https://beta.usa.gov/about-the-us/"
}
],
"column2": [
{
"linkText": "All topics and services",
"linkURL": "https://beta.usa.gov/#all_topics"
},
{
"linkText": "About the U.S. and its government",
"linkURL": "https://beta.usa.gov/about-the-us/"
}
]
},

"header": {
"languageToggle": "Español",
Expand Down

0 comments on commit aa5e8bc

Please sign in to comment.