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

Commit

Permalink
Merge pull request #418 from minvws/develop
Browse files Browse the repository at this point in the history
5.0.8 version 2
  • Loading branch information
anneke authored Oct 21, 2020
2 parents 91b2af0 + 43632d6 commit 3d4b4ea
Show file tree
Hide file tree
Showing 32 changed files with 178 additions and 59 deletions.
13 changes: 13 additions & 0 deletions README.development.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ To test locally with htmlproofer (to test validity of html-code):
bundle exec htmlproofer ./_site --checks-to-ignore=LinkCheck
```

### App store buttons

On a mobile device the appropriate (store) buttons should be shown.

- iOS: Show App Store
- Android: Show Google Play Store button
- Android: Show Huawei AppGallery button (for example P40 Lite) [https://github.com/minvws/nl-covid19-notification-app-website/issues/403](See GitHub Issue #403)
- Android: Show Google Play Store and Huawei AppGallery buttons

Huawei user agent string used to test (see HMSCore):
- Android: AppGallery: `Mozilla/5.0 (Linux; Android 10; JNY-LX1; HMSCore 5.0.3.304) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 HuaweiBrowser/11.0.2.303 Mobile Safari/537.36`
- Android: AppGallery and Google Store: `Mozilla/5.0 (Linux; Android 10; VOG-L29; HMSCore 5.0.1.313; GMSCore 20.30.19) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 HuaweiBrowser/10.1.4.303 Mobile Safari/537.36`

## Vendors

Note: rather than rely on a third party CDN or dependencies that are not part of this repository we choose to include all assets and dependencies. Please go to [the vendor licenses directory](./vendor-licenses) for the vendor licenses.
44 changes: 30 additions & 14 deletions _data/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,18 @@ header-googleplaystore:
ro: Descărcați din Google play
tr: Google Play'den indirin

header-huaweiappgallery:
nl: Ontdek het op Huawei App Gallery
en: Get it on Huawei App Gallery
ar: قم بالتحميل من Huawei App Gallery
bg: Изтегли в Huawei App Gallery
de: Über Huawei App Gallery herunterladen
es: Descargar de Huawei App Gallery
fr: Téléchargez dans la Huawei App Gallery
pl: Pobierz w Huawei App Gallery
ro: Descărcați din Huawei App Gallery
tr: Huawei App Gallery'den indirin

header-language-picker-label:
nl: Taal
en: Language
Expand Down Expand Up @@ -390,7 +402,7 @@ english:
tr: (ingilizce)

info-lead:
nl: Het coronavirus is er nog altijd. Dus is het belangrijk om juist nu alert te blijven. Daarom is CoronaMelder nu te gebruiken voor heel Nederland. Op 19 oktober hadden <strong>3.348.754</strong> mensen de app gedownload.
nl: Het coronavirus is er nog altijd. Dus is het belangrijk om juist nu alert te blijven. Daarom is CoronaMelder nu te gebruiken voor heel Nederland. Op 20 oktober hadden <strong>3.391.360</strong> mensen de app gedownload.
en: Coronavirus is still around and we need to stay alert, especially right now. The CoronaMelder app can help us all to do this and it is now available throughout the whole of the Netherlands.
ar: لا يزال فيروس كورونا موجودًا حتى يومنا هذا. من المهم إذًا أن تبقى يقظًا الآن. لذلك أصبح CoronaMelder متاحًا في هولندا كلها.
bg: Коронавирусът е все още тук. От особена важност сега е да запазиш бдителността си. Именно за тази цел приложението CoronaMelder вече е достъпно в цяла Нидерландия.
Expand Down Expand Up @@ -425,18 +437,10 @@ info-app-store-url:
ro: https://apps.apple.com/gb/app/id1517652429
tr: https://apps.apple.com/gb/app/id1517652429

info-google-play-url:
nl: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
en: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
ar: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
bg: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
de: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
fr: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
es: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
pl: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
ro: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
tr: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en
info-google-play-url: https://play.google.com/store/apps/details?id=nl.rijksoverheid.en

info-huawei-url: https://appgallery.huawei.com/#/app/C103008211

info-app-store-img:
nl: app-store-badge-nl.svg
en: app-store-badge-en.svg
Expand All @@ -459,8 +463,20 @@ info-google-play-img:
es: google-play-badge-es.svg
pl: google-play-badge-pl.svg
ro: google-play-badge-ro.svg
tr: google-play-badge-tr.svg

tr: google-play-badge-tr.svg

info-huawei-img:
nl: huawei.svg
en: huawei-en.svg
ar: huawei-en.svg
bg: huawei-en.svg
de: huawei-en.svg
fr: huawei-en.svg
es: huawei-en.svg
pl: huawei-en.svg
ro: huawei-en.svg
tr: huawei-en.svg

footer-samen-logo-url: https://www.rijksoverheid.nl/onderwerpen/coronavirus-covid-19/coronavirus-beeld-en-video/communicatiemiddelen-campagne
footer-samen-logo:
nl: Alleen samen krijgen we corona onder controle. Ga naar campagnewebsite
Expand Down
8 changes: 4 additions & 4 deletions _data/videos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
nl: |
CoronaMelder - Zo beschermen we elkaar
Dit is'm: CoronaMelder.
Dit is 'm: CoronaMelder.
De officiële corona-app van Nederland.
De app helpt om elkaar te beschermen tegen corona.
Je kunt corona doorgeven aan een ander, ook al voordat je je ziek voelt.
Expand Down Expand Up @@ -44,7 +44,7 @@
Alleen samen krijgen we corona onder controle.
Meer weten?
Kijk op CoronaMelder.nl
Kijk op CoronaMelder.nl of bel 0800-1280
2020-10-07-video-privacy:
mp4-src:
Expand Down Expand Up @@ -81,7 +81,7 @@
Alleen samen krijgen we corona onder controle
Meer weten?
Kijk op coronamelder.nl
Kijk op coronamelder.nl of bel 0800-1280
en: |
TBD
2020-10-07-video-hoe-werkt-het:
Expand Down Expand Up @@ -131,7 +131,7 @@
Alleen samen krijgen we corona onder controle.
Meer weten?
Kijk op CoronaMelder.nl
Kijk op CoronaMelder.nl of bel 0800-1280
20201008-video-how-the-app-works:
mp4-src:
Expand Down
12 changes: 10 additions & 2 deletions _includes/badges.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ <h2> {{ site.data.translations.info-lead-title[page.lang] }}:</h2>
</a>
</li>
<li class="app_badge_column__right">
<a class="play-store" href="{{ site.data.translations.info-google-play-url[page.lang] }}">
<img src="{{ site.baseurl }}/img/{{site.data.translations.info-google-play-img[page.lang]}}" alt="{{ site.data.translations.header-googleplaystore[page.lang] }}" height="65" width="216" />
<a class="play-store" href="{{ site.data.translations.info-google-play-url }}">
<img src="{{ site.baseurl }}/img/{{site.data.translations.info-google-play-img[page.lang] }}" alt="{{ site.data.translations.header-googleplaystore[page.lang] }}" height="65" width="216" />
</a>
</li>
{% if include.huawei %}
<li class="app_badge_column__right">
<a class="huawei-store" href="{{ site.data.translations.info-huawei-url }}">
<img src="{{ site.baseurl }}/img/{{site.data.translations.info-huawei-img[page.lang] }}" alt="{{ site.data.translations.header-huaweiappgallery[page.lang] }}" height="65" width="216" />
</a>
</li>
{% endif %}

</ul>
</div>
3 changes: 2 additions & 1 deletion _includes/content/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
No, that is not yet possible. We work with the other countries on interaction between the apps. We will soon be testing this interaction. After that, everyone can keep on using an app from their own country. You will then receive a warning in the Dutch CoronaMelder if, for example, you have been close to a German who has tested positive in Germany for a longer period of time.

TBA
Until then, switching between the apps is the best choice. The worry of forgetting to change back has been partly resolved. If the Dutch CoronaMelder is not active for a day or more, you will receive a notification that the app is not active.
3 changes: 1 addition & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
<div class="logobar">
<div class="logo">
<a href="{{ langSlug }}">
<img src="{{ site.baseurl }}/img/logo-RO.svg" alt="{{ site.data.translations.govlogo[page.lang] }}
{% if page.title %}: {{ page.title }}{% endif %}">
<img src="{{ site.baseurl }}/img/logo-RO.svg" alt="{{ site.data.translations.govlogo[page.lang] }}">
</a>
</div>
<a href="{{ langSlug }}/faq" class="header__layout__faq-link">
Expand Down
4 changes: 2 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@

</div>
{% include stories.html %}
{% include badges.html class="layout-app-badges--center-wrap" %}
{% include badges.html class="layout-app-badges--center-wrap" huawei="true" %}
{% include information.html %}
{% if page.lang == 'en' %}{% include video.html %}{% endif %}
{% if page.lang == 'nl' %}{% include video.html %}{% endif %}
{% include faq.html %}
{% include badges.html class="layout-app-badges--center-wrap layout-app-badges--background" %}
{% include badges.html class="layout-app-badges--center-wrap layout-app-badges--background" huawei="true" %}
</main>
{% include footer.html %}
</body>
Expand Down
3 changes: 1 addition & 2 deletions _questions/ar/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: ar
contentLang: en
published: false
categories:
- ar
- faq
Expand Down
3 changes: 1 addition & 2 deletions _questions/bg/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: bg
contentLang: en
published: false
categories:
- bg
- faq
Expand Down
3 changes: 1 addition & 2 deletions _questions/de/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: de
contentLang: en
published: false
categories:
- de
- faq
Expand Down
3 changes: 1 addition & 2 deletions _questions/en/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: en
published: false
categories:
- en
- faq
Expand Down
3 changes: 1 addition & 2 deletions _questions/es/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: es
contentLang: en
published: false
categories:
- es
- faq
Expand Down
3 changes: 1 addition & 2 deletions _questions/fr/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: fr
contentLang: en
published: false
categories:
- fr
- faq
Expand Down
3 changes: 1 addition & 2 deletions _questions/pl/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: pl
contentLang: en
published: false
categories:
- pl
- faq
Expand Down
3 changes: 1 addition & 2 deletions _questions/ro/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: ro
contentLang: en
published: false
categories:
- ro
- faq
Expand Down
3 changes: 1 addition & 2 deletions _questions/tr/13-gebruik-app-uit-ander-land.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
layout: content
index: 13
set: 2
title: Ik gebruik al de Duitse Corona Warn app. Kan ik beide apps tegelijkertijd gebruiken?
title: I already use a corona app from another European country. Can I use both apps at the same time?
lang: tr
contentLang: en
published: false
categories:
- tr
- faq
Expand Down
2 changes: 1 addition & 1 deletion ar/toegankelijkheidsverklaring.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contentLang: en
Accessibility Statement, dated 9 October 2020

<p class="md-block-lead md-text-color-RO-donkerblauw" markdown="1">
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please et us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] }}">[email protected]</a>. <br />
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please let us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] | url_encode | replace: "+", "%20" }}">[email protected]</a>. <br />
This accessibility statement will shortly be brought up to date.
</p>

Expand Down
2 changes: 1 addition & 1 deletion bg/toegankelijkheidsverklaring.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contentLang: en
Accessibility Statement, dated 9 October 2020

<p class="md-block-lead md-text-color-RO-donkerblauw" markdown="1">
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please et us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] }}">[email protected]</a>. <br />
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please let us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] | url_encode | replace: "+", "%20" }}">[email protected]</a>. <br />
This accessibility statement will shortly be brought up to date.
</p>

Expand Down
11 changes: 10 additions & 1 deletion css/_faq.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,13 @@
width: 100%;

&:hover {
background-color: rgba(0, 39, 131, 0.07) /* RO donker link2 */;
background-color: $color-RO_darkblue; /* RO donker link2 */;
transition: var(--transition-in);
color: white;

&:after {
background: url(../img/chevron-right-white.svg) center center no-repeat;
}
}

&:focus {
Expand Down Expand Up @@ -146,5 +151,9 @@
font-size: 16px;
color: #333333;
text-decoration: none;

&:hover {
color: white;
}
}
}
10 changes: 10 additions & 0 deletions css/components/app-badges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,17 @@

.iOS {
.play-store { display: none; }
.huawei-store { display: none; }
}
.android {
.app-store { display: none; }
.play-store { display: none; }
.huawei-store { display: none; }

&.google-play-store {
.play-store { display: block; }
}
&.huawei-app-gallery {
.huawei-store { display: block; }
}
}
2 changes: 1 addition & 1 deletion de/toegankelijkheidsverklaring.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contentLang: en
Accessibility Statement, dated 9 October 2020

<p class="md-block-lead md-text-color-RO-donkerblauw" markdown="1">
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please et us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] }}">[email protected]</a>. <br />
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please let us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] | url_encode | replace: "+", "%20" }}">[email protected]</a>. <br />
This accessibility statement will shortly be brought up to date.
</p>

Expand Down
2 changes: 1 addition & 1 deletion en/toegankelijkheidsverklaring.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Accessibility
Accessibility Statement, dated 9 October 2020

<p class="md-block-lead md-text-color-RO-donkerblauw" markdown="1">
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please et us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] }}">[email protected]</a>. <br />
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please let us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] | url_encode | replace: "+", "%20" }}">[email protected]</a>. <br />
This accessibility statement will shortly be brought up to date.
</p>

Expand Down
2 changes: 1 addition & 1 deletion es/toegankelijkheidsverklaring.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contentLang: en
Accessibility Statement, dated 9 October 2020

<p class="md-block-lead md-text-color-RO-donkerblauw" markdown="1">
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please et us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] }}">[email protected]</a>. <br />
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please let us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] | url_encode | replace: "+", "%20" }}">[email protected]</a>. <br />
This accessibility statement will shortly be brought up to date.
</p>

Expand Down
2 changes: 1 addition & 1 deletion fr/toegankelijkheidsverklaring.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contentLang: en
Accessibility Statement, dated 9 October 2020

<p class="md-block-lead md-text-color-RO-donkerblauw" markdown="1">
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please et us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] }}">[email protected]</a>. <br />
The Ministry of Health, Welfare and Sport wants everybody to be able to use this website, which is being updated all the time. However, if you encounter a page which you find inaccessible we ask you to please let us know by emailing <a href="mailto:[email protected]?subject={{ site.data.translations.accessibility-in-app-email-subject[page.lang] | url_encode | replace: "+", "%20" }}">[email protected]</a>. <br />
This accessibility statement will shortly be brought up to date.
</p>

Expand Down
Loading

0 comments on commit 3d4b4ea

Please sign in to comment.