Skip to content

Commit

Permalink
Merge pull request #85 from readingdancer/Adding-Meta-Small-Fixes
Browse files Browse the repository at this point in the history
Adding Google Analytics.
  • Loading branch information
readingdancer authored Apr 3, 2020
2 parents 0440ad5 + cfc8c42 commit c4789fa
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 21 deletions.
20 changes: 18 additions & 2 deletions covid-19-support/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,29 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<title>Covid-19 Chapel Hill - Carrboro</title>
<title>NC COVID Support - Community Resources for North Carolina</title>
<meta
name="keywords"
content="COVID, COVID-19, Corona Virus, North Carolina, Support, COVID Support, Free Meals, Senior Shopping,chapel hill, carrboro, durham, chatham, orange, pittsboro, hillsborough, pandemic"
/>
<meta
name="description"
content="North Carolina community resources during the COVID-19 Coronavirus pandemic. Free meals, groceries, produce, pharmacies, pet supplies & senior citizen hours."
/>
<script src="https://kit.fontawesome.com/1487031944.js" crossorigin="anonymous"></script>

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162758783-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-162758783-1');
</script>
</head>
<body>
<noscript>
<strong>
We're sorry but the covid 19 support website doesn't work properly without JavaScript enabled. Please enable it to continue.
We're sorry but the NC COVID Support website doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>
<div id="app"></div>
Expand Down
6 changes: 5 additions & 1 deletion covid-19-support/src/components/AboutUs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
<ol>
<li>{{ $t('about.devhelp.step1') }}</li>
<li>{{ $t('about.devhelp.step2') }}</li>
<li>{{ $t('about.devhelp.step3') }}</li>
<li>
<i18n path="about.devhelp.step3">
<a href="mailto:[email protected]" target="_blank">[email protected]</a>
</i18n>
</li>
</ol>
<p>{{ $t('about.devhelp.dupsite') }}</p>
<i18n path="about.devhelp.devnote" tag="p">
Expand Down
8 changes: 4 additions & 4 deletions covid-19-support/src/components/Highlights.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<template>
<div class="row highlights" v-if="valueBoxes[0] != null">
<div class="col-6 col-md-3 order-md-1">
<value-box :icon="valueBoxes[0].icon" :title="valueBoxes[0].title" :value="valueBoxes[0].value" class="bg-blue" />
<value-box :content="valueBoxes[0]" class="bg-blue" />
</div>
<div class="col-6 col-md-3 order-md-2">
<value-box :icon="valueBoxes[1].icon" :title="valueBoxes[1].title" :value="valueBoxes[1].value" class="bg-green" />
<value-box :content="valueBoxes[1]" class="bg-green" />
</div>
<div class="col-6 col-md-3 order-md-4">
<value-box :icon="valueBoxes[2].icon" :title="valueBoxes[2].title" :value="valueBoxes[2].value" class="bg-green" />
<value-box :content="valueBoxes[2]" class="bg-green" />
</div>
<div class="col-6 col-md-3 order-md-3">
<value-box :icon="valueBoxes[3].icon" :title="valueBoxes[3].title" :value="valueBoxes[3].value" class="bg-blue" />
<value-box :content="valueBoxes[3]" class="bg-blue" />
</div>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions covid-19-support/src/components/SearchFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
</div>

<InfoPanel :infotype="'note'" :icon="'fa-info-circle'" v-if="currentBusiness == null || showListing">
{{ $t('sidebar.info-about-us') }} <a href="#" @click="$bvModal.show('about-us')">{{ $t('sidebar.info-link-text') }}</a>
{{ $t('sidebar.info-end-text') }}
{{ $t('sidebar.info-about-us') }} <a href="#" @click="$bvModal.show('about-us')">{{ $t('sidebar.info-link-text') }}</a
>{{ $t('sidebar.info-end-text') }}
</InfoPanel>

<InfoPanel :infotype="'handwash'" :icon="'fa-hands-wash'" v-if="filteredMarkers.length == 0">
Expand Down
15 changes: 9 additions & 6 deletions covid-19-support/src/components/ValueBox.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div class="valuebox" :class="{ selected: selected }">
<span class="number">{{ value }}</span>
<span class="title">{{ title }}</span>
<i class="fas" v-bind:class="icon"></i>
<span class="number">{{ content.value }}</span>
<span class="title">{{ content.title }}</span>
<i class="fas" v-bind:class="content.icon"></i>
</div>
</template>

Expand All @@ -15,9 +15,12 @@ export default {
}
},
props: {
title: { type: String },
value: { type: Number },
icon: { type: String }
content: {
title: { type: String },
value: { type: Number },
icon: { type: String },
color: { type: String }
}
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion covid-19-support/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"source": "source code",
"step1": "Reach out to local government and business associations to gather information.",
"step2": "Organize resource information using our spreadsheet template.",
"step3": "Email us when you are ready to join the NC site."
"step3": "Email us at {0} when you are ready to join the NC site."
},
"getinvolved": "Get Involved",
"info": "Our database of resources benefits from information collected by these organizations:",
Expand Down
4 changes: 2 additions & 2 deletions covid-19-support/src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"contact": "Contáctenos",
"contactus": {
"email": "Email",
"info": "Esta página funciona con {0} de {1}. Para preguntas, contáctenos a través de {2}."
"info": "Esta página funciona con {0} de {1}. Para preguntas, contáctenos por correo electrónico al {2}."
},
"devhelp": {
"conduct": "Código de Conducta",
Expand All @@ -14,7 +14,7 @@
"source": "codigo fuente",
"step1": "Póngase en contacto con el gobierno local y las asociaciones empresariales para recopilar información.",
"step2": "Organice la información de recursos utilizando nuestra plantilla de hoja de cálculo.",
"step3": "Envíenos un correo electrónico cuando esté listo para unirse al sitio de Carolina del Norte."
"step3": "Envíenos un correo electrónico a {0} cuando esté listo para unirse al sitio de Carolina del Norte."
},
"getinvolved": "Involucrarse",
"info": "Nuestra base de datos de recursos se beneficia de la información recopilada por estas organizaciones:",
Expand Down
4 changes: 2 additions & 2 deletions covid-19-support/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"contact": "Contactez nous",
"contactus": {
"email": "email",
"info": "Cette page est alimentée par le {0} de {1}. Pour toute question, veuillez nous contacter via {2}."
"info": "Cette page est alimentée par le {0} de {1}. Pour toute question, veuillez nous contacter par e-mail au {2}."
},
"devhelp": {
"conduct": "Code de conduite",
Expand All @@ -14,7 +14,7 @@
"source": "Code source",
"step1": "Contactez le gouvernement local et les associations professionnelles pour recueillir des informations.",
"step2": "Organisez les informations sur les ressources à l'aide de notre modèle de feuille de calcul.",
"step3": "Envoyez-nous un e-mail lorsque vous êtes prêt à rejoindre le site NC."
"step3": "Envoyez-nous un e-mail à {0} lorsque vous êtes prêt à rejoindre le site NC."
},
"getinvolved": "Être impliqué",
"info": "Notre base de données de ressources bénéficie des informations collectées par ces organisations:",
Expand Down
2 changes: 1 addition & 1 deletion covid-19-support/src/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"contact": "문의하기",
"contactus": {
"email": "이메일",
"info": "이 페이지는 {1}의 {0} 에 의해 제공됩니다. 질문이 있으시면 {2}통해 문의하십시오."
"info": "이 페이지는 {1}의 {0} 에 의해 제공됩니다. 궁금한 점은 {2}(으)로 이메일을 통해 문의하시기 바랍니다."
},
"devhelp": {
"conduct": "행동 강령",
Expand Down

0 comments on commit c4789fa

Please sign in to comment.