Skip to content

Commit

Permalink
adds new front page text
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrothwell committed Jan 23, 2024
1 parent f4aaf71 commit ad24700
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 26 deletions.
30 changes: 21 additions & 9 deletions src/components/customGreeting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
<div
class="custom-greeting content"
>
<div class="has-text-centered container">
<button
class="button open-list-button"
@click="$emit('view-list')"
v-html="$t('app.viewList')"
/>
</div>

<div
id="main-area"
class="main-area"
Expand All @@ -21,6 +13,16 @@

<p v-html="$t('introPage.p0')" />

<div class="has-text-centered container">
<button
class="button open-list-button"
@click="$emit('view-list')"
v-html="$t('app.viewList')"
/>
</div>

<p v-html="$t('introPage.p1')" />

<ul>
<li
v-for="(item, index) in $config.i18n.data.messages['en-US'].introPage.ul1"
Expand All @@ -31,7 +33,17 @@
</li>
</ul>

<p v-html="$t('introPage.p1')" />
<h3>
{{ $t('introPage.section2Title') }}
</h3>

<p v-html="$t('introPage.p2')" />

<h3>
{{ $t('introPage.section3Title') }}
</h3>

<p v-html="$t('introPage.p3')" />
</div>
</div> <!-- end of main-area -->
</div>
Expand Down
17 changes: 10 additions & 7 deletions src/i18n/en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ export default {
},
},
introPage: {
section1Title: "About this finder",
p0: "This tool can help you find organizations that offer immigrant-focused services in Philadelphia. You can:",
section1Title: "Find services and support near you",
p0: "Philadelphia has many resources for immigrants and refugees. You can get help with legal issues, attend cultural events, sign up for English classes, and more. Use this tool to find organizations near you.",
p1: "To find immigrant and refugee resources:",
ul1: {
li: "Browse the list of organizations.",
li2: "Search by address or keyword.",
li3: "Filter your results by service type.",
li: "Filter by the services you're looking for.",
li2: "Select a location on the map for details.",
li3: "Contact the organization by phone or email before visiting.",
},
section2Title: "Adding your organization",
p1: "Does your organization offer services for immigrants? Contact the Office of Immigrant Affairs at <a target='_blank' href='mailto:[email protected]'>[email protected]</a> to learn how to be added to this finder.",
section2Title: "Language access",
p2: "Most locations offer most of their services in English. Other available languages vary by organization. To see the languages spoken at an organization, open that location's details.",
section3Title: "Adding your organization to the list",
p3: "The <a target='_blank' href='https://www.phila.gov/departments/office-of-immigrant-affairs/'>Office of Immigrant Affairs</a> maintains this website. You can contact us at <a target='_blank' href='mailto:[email protected]'>[email protected]</a> if you offer immigrant services and would like to learn how to be added to this list.",
},
'Arts & culture': 'Arts & culture',
'Citizenship application help': 'Citizenship application help',
Expand Down
17 changes: 10 additions & 7 deletions src/i18n/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ export default {
},
},
introPage: {
section1Title: "Spanish About this finder",
p0: "Spanish This tool can help you find organizations that offer immigrant-focused services in Philadelphia. You can:",
section1Title: "Spanish Find services and support near you",
p0: "Spanish Philadelphia has many resources for immigrants and refugees. You can get help with legal issues, attend cultural events, sign up for English classes, and more. Use this tool to find organizations near you.",
p1: "Spanish To find immigrant and refugee resources:",
ul1: {
li: "Spanish Browse the list of organizations.",
li2: "Spanish Search by address or keyword.",
li3: "Spanish Filter your results by service type.",
li: "Spanish Filter by the services you're looking for.",
li2: "Spanish Select a location on the map for details.",
li3: "Spanish Contact the organization by phone or email before visiting.",
},
section2Title: "Spanish Adding your organization",
p1: "Spanish Does your organization offer services for immigrants? Contact the Office of Immigrant Affairs at <a target='_blank' href='mailto:[email protected]'>[email protected]</a> to learn how to be added to this finder.",
section2Title: "Spanish Language access",
p2: "Spanish Most locations offer most of their services in English. Other available languages vary by organization. To see the languages spoken at an organization, open that location's details.",
section3Title: "Spanish Adding your organization to the list",
p3: "Spanish The <a target='_blank' href='https://www.phila.gov/departments/office-of-immigrant-affairs/'>Office of Immigrant Affairs</a> maintains this website. You can contact us at <a target='_blank' href='mailto:[email protected]'>[email protected]</a> if you offer immigrant services and would like to learn how to be added to this list.",
},
'Arts & culture': 'Spanish Arts & culture',
'Citizenship application help': 'Spanish Citizenship application help',
Expand Down
9 changes: 6 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,23 @@ pinboard({
attrs: {
target: "_blank",
},
text: "City of Philadelphia",
text: "cityOfPhiladelphia",
// text: "City of Philadelphia",
},
{
type: "native",
href: "/oia/resource-finder",
text: "About",
text: "about",
// text: "About",
},
{
type: "native",
href: "https://www.phila.gov/feedback/",
attrs: {
target: "_blank",
},
text: "Feedback",
text: "feedback",
// text: "Feedback",
},
],
cyclomedia: {
Expand Down

0 comments on commit ad24700

Please sign in to comment.