From 7b5017f6ae57609261e4f9121be340838c31470e Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 11:58:28 +0200 Subject: [PATCH 01/85] Update settings.js --- settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/settings.js b/settings.js index fd43e184..059f9662 100644 --- a/settings.js +++ b/settings.js @@ -1,8 +1,8 @@ // Change the url to the domain of your app -exports.url = 'http://localhost:3090'; +exports.url = 'https://sendgrid-subscribe.herokuapp.com/'; -exports.senderEmail = "sender@example.com"; -exports.senderName = "Sender Name"; +exports.senderEmail = "viestinta@pohjolanliikenne.fi"; +exports.senderName = "Pohjolan Liikenne"; // set 'exports.listId = null' to add contact to all contacts, but no specific list // or a string with the listId to add to a specific list From bf241a81897526240dae3c1526f7e0035e8e464e Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:01:47 +0200 Subject: [PATCH 02/85] Update index.html --- server/static/index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 866700a0..20a61bd7 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,17 +1,17 @@ -
+
- Enter Your Information + Tilaa uutiskirje syöttämällä tietosi: - -
+ +
- -
+ +
-
+
- +
@@ -60,4 +60,4 @@ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); float: right; } - \ No newline at end of file + From 15b39649e822cd4f1ba7e238f0c9f2986b712f14 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:12:30 +0200 Subject: [PATCH 03/85] Create npm-publish-github-packages.yml --- .../workflows/npm-publish-github-packages.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/npm-publish-github-packages.yml diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml new file mode 100644 index 00000000..dbc7f2f9 --- /dev/null +++ b/.github/workflows/npm-publish-github-packages.yml @@ -0,0 +1,36 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16 + - run: npm ci + - run: npm test + + publish-gpr: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} From 722bd0ba7ccf766c9e076b37dba12847a4bdd127 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:17:12 +0200 Subject: [PATCH 04/85] Update settings.js --- settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.js b/settings.js index 059f9662..c1c51e1b 100644 --- a/settings.js +++ b/settings.js @@ -14,4 +14,4 @@ exports.templateId = null; // receive an email when a new signup is confirmed exports.sendNotification = true; -exports.notificationEmail = "admin@example.com"; +exports.notificationEmail = "viestinta@pohjolanliikenne.fi"; From 33cab48902ca3e58659e176e2eeacd6f7f42fa39 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:18:19 +0200 Subject: [PATCH 05/85] Update settings.js --- settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.js b/settings.js index c1c51e1b..f0b97199 100644 --- a/settings.js +++ b/settings.js @@ -6,7 +6,7 @@ exports.senderName = "Pohjolan Liikenne"; // set 'exports.listId = null' to add contact to all contacts, but no specific list // or a string with the listId to add to a specific list -exports.listId = null; +exports.listId = 57887; // set 'exports.templateId = null' to opt out of using a template // or a string with the templateId to use a template From 366dd6d1499f36c09857b76b30eac4aaf30bc41f Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:35:36 +0200 Subject: [PATCH 06/85] Update settings.js --- settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.js b/settings.js index f0b97199..5f9376be 100644 --- a/settings.js +++ b/settings.js @@ -1,7 +1,7 @@ // Change the url to the domain of your app exports.url = 'https://sendgrid-subscribe.herokuapp.com/'; -exports.senderEmail = "viestinta@pohjolanliikenne.fi"; +exports.senderEmail = "tickets@pohjolanliikenne.fi"; exports.senderName = "Pohjolan Liikenne"; // set 'exports.listId = null' to add contact to all contacts, but no specific list @@ -14,4 +14,4 @@ exports.templateId = null; // receive an email when a new signup is confirmed exports.sendNotification = true; -exports.notificationEmail = "viestinta@pohjolanliikenne.fi"; +exports.notificationEmail = "tickets@pohjolanliikenne.fi"; From d506c75698b5dfdf65fc16de4cc783e5a45d38ab Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:57:50 +0200 Subject: [PATCH 07/85] Update settings.js --- settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.js b/settings.js index 5f9376be..f0b97199 100644 --- a/settings.js +++ b/settings.js @@ -1,7 +1,7 @@ // Change the url to the domain of your app exports.url = 'https://sendgrid-subscribe.herokuapp.com/'; -exports.senderEmail = "tickets@pohjolanliikenne.fi"; +exports.senderEmail = "viestinta@pohjolanliikenne.fi"; exports.senderName = "Pohjolan Liikenne"; // set 'exports.listId = null' to add contact to all contacts, but no specific list @@ -14,4 +14,4 @@ exports.templateId = null; // receive an email when a new signup is confirmed exports.sendNotification = true; -exports.notificationEmail = "tickets@pohjolanliikenne.fi"; +exports.notificationEmail = "viestinta@pohjolanliikenne.fi"; From d2863360fc7adb3a63e882891a009a8dd294e587 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 11:58:04 +0200 Subject: [PATCH 08/85] Update index.html --- server/static/index.html | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 20a61bd7..456dfe53 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -2,13 +2,13 @@
Tilaa uutiskirje syöttämällä tietosi: - -
+ +
- +
- +
@@ -18,14 +18,18 @@ From 881af047d209caa00982ad4b6a985713a90ac901 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:01:33 +0200 Subject: [PATCH 09/85] Update index.html --- server/static/index.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 456dfe53..53eff75e 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -20,11 +20,14 @@ html { font-family: proxima-nova,Helvetica,Arial,sans-serif; font-size: 16; + margin-bottom: 20; + margin-top: 10; } form { display: inline-block; } legend { + float: left; -webkit-font-smoothing: antialiased; font-family: proxima-nova,Helvetica,Arial,sans-serif; font-size: 1rem; @@ -45,10 +48,11 @@ margin-right: 10; } input { - border-radius: 3px; + float: left; + border-radius: 1px; border: 1px solid #ccc; - height: 25; - width: 200px; + height: 30; + width: 400px; } button { float: left; From 9ce12a40215c60ca5327ed965500479ddcc47f47 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:03:11 +0200 Subject: [PATCH 10/85] Update index.html --- server/static/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/static/index.html b/server/static/index.html index 53eff75e..7c1d7760 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -33,6 +33,8 @@ font-size: 1rem; line-height: 1.625; font-weight: 600; + margin-bottom: 20; + margin-top: 10; } label { width: 100px; @@ -40,6 +42,7 @@ margin-left: 8; margin-top: 15; font-weight: bold; + } input, button { font-size: 16px; @@ -59,5 +62,7 @@ color: rgba(0,0,0,.85); background-color: transparent; border-color: rgba(0,0,0,.6); + margin-bottom: 20; + margin-top: 10; } From 4e10dea4311081e9f4da52ae5976195a92dc6594 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:06:52 +0200 Subject: [PATCH 11/85] Update index.html --- server/static/index.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 7c1d7760..26c32ed2 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -30,7 +30,7 @@ float: left; -webkit-font-smoothing: antialiased; font-family: proxima-nova,Helvetica,Arial,sans-serif; - font-size: 1rem; + font-size: 20; line-height: 1.625; font-weight: 600; margin-bottom: 20; @@ -45,10 +45,16 @@ } input, button { - font-size: 16px; + font-size: 14px; color: #eeeeee; padding: 10px; margin-right: 10; + -webkit-font-smoothing: antialiased; + font-family: proxima-nova,Helvetica,Arial,sans-serif; + line-height: 1.625; + font-weight: 300; + margin-bottom: 20; + margin-top: 10; } input { float: left; @@ -64,5 +70,11 @@ border-color: rgba(0,0,0,.6); margin-bottom: 20; margin-top: 10; + padding: 20; + -webkit-font-smoothing: antialiased; + font-family: proxima-nova,Helvetica,Arial,sans-serif; + font-size: 20; + line-height: 1.625; + font-weight: 300; } From 1203a619ee5ca81b0174fa79ac29cb8e19234519 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:07:07 +0200 Subject: [PATCH 12/85] Update index.html --- server/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static/index.html b/server/static/index.html index 26c32ed2..770c1150 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -73,7 +73,7 @@ padding: 20; -webkit-font-smoothing: antialiased; font-family: proxima-nova,Helvetica,Arial,sans-serif; - font-size: 20; + font-size: 14; line-height: 1.625; font-weight: 300; } From aa3f68ad9f39d9f1045dd766cf38426be49b2a9d Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:08:50 +0200 Subject: [PATCH 13/85] Update index.html --- server/static/index.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 770c1150..2a1e3c45 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,15 +1,14 @@
- Tilaa uutiskirje syöttämällä tietosi: - + Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa

-
+

-
+

-
+

From f7e0de0969b2843d399f69a8b074f53b639e7ed2 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:12:24 +0200 Subject: [PATCH 14/85] Update index.html --- server/static/index.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 2a1e3c45..82984e3f 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -21,6 +21,11 @@ font-size: 16; margin-bottom: 20; margin-top: 10; + padding-left: 30; + padding-right: 30; + padding-top: 30; + padding-bottom: 30; + border: 0.5px solid #ccc; } form { display: inline-block; @@ -44,6 +49,7 @@ } input, button { + float: left; font-size: 14px; color: #eeeeee; padding: 10px; @@ -57,8 +63,8 @@ } input { float: left; - border-radius: 1px; - border: 1px solid #ccc; + border-radius: 0px; + border: 0.5px solid #ccc; height: 30; width: 400px; } From e95ff68728216bd587a5b41a608b43862642edd8 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:18:17 +0200 Subject: [PATCH 15/85] Update index.html --- server/static/index.html | 86 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/server/static/index.html b/server/static/index.html index 82984e3f..f967c8ed 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,6 +1,9 @@
Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa

+

Tässä on kaikkea markkinointitekstiä joka näyttää ja kuulostaa hienolta. + Esimerkiksi että Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa + ja myöskin että tämä uutiskirje on parasta ikinä eikä sellaista saisi sanoa koskaan.



@@ -9,6 +12,11 @@

+ +

@@ -82,4 +90,82 @@ line-height: 1.625; font-weight: 300; } +chapter1 { + float: left; + -webkit-font-smoothing: antialiased; + font-family: proxima-nova,Helvetica,Arial,sans-serif; + font-size: 14; + line-height: 1.625; + font-weight: 300; + margin-bottom: 20; + margin-top: 10; + } + + /* Customize the label (the container) */ +.container { + display: block; + position: relative; + padding-left: 35px; + margin-bottom: 12px; + cursor: pointer; + font-size: 22px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +/* Hide the browser's default checkbox */ +.container input { + position: absolute; + opacity: 0; + cursor: pointer; + height: 0; + width: 0; +} + +/* Create a custom checkbox */ +.checkmark { + position: absolute; + top: 0; + left: 0; + height: 25px; + width: 25px; + background-color: #eee; +} + +/* On mouse-over, add a grey background color */ +.container:hover input ~ .checkmark { + background-color: #ccc; +} + +/* When the checkbox is checked, add a blue background */ +.container input:checked ~ .checkmark { + background-color: #eeeeee; +} + +/* Create the checkmark/indicator (hidden when not checked) */ +.checkmark:after { + content: ""; + position: absolute; + display: none; +} + +/* Show the checkmark when checked */ +.container input:checked ~ .checkmark:after { + display: block; +} + +/* Style the checkmark/indicator */ +.container .checkmark:after { + left: 9px; + top: 5px; + width: 5px; + height: 10px; + border: solid white; + border-width: 0 3px 3px 0; + -webkit-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); +} From 3d819668e94a19ee4bb3b4872ba24e857d351c06 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:20:53 +0200 Subject: [PATCH 16/85] Update index.html --- server/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static/index.html b/server/static/index.html index f967c8ed..7ffa5023 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -29,7 +29,7 @@ font-size: 16; margin-bottom: 20; margin-top: 10; - padding-left: 30; + padding-left: 0; padding-right: 30; padding-top: 30; padding-bottom: 30; From 687eeccab0c4203e21f6348fdbffe4a59d3d0e1c Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:22:41 +0200 Subject: [PATCH 17/85] Update index.html --- server/static/index.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 7ffa5023..6fe86ba7 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,22 +1,24 @@
- Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa

+ Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa +

Tässä on kaikkea markkinointitekstiä joka näyttää ja kuulostaa hienolta. Esimerkiksi että Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa ja myöskin että tämä uutiskirje on parasta ikinä eikä sellaista saisi sanoa koskaan.

-

+
+
-

+
-

+
-

+
From 26d6efc2cfd7b60b3d4b050a72575290dd209afe Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:24:35 +0200 Subject: [PATCH 18/85] Update index.html --- server/static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 6fe86ba7..39c7ba8b 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -85,7 +85,7 @@ border-color: rgba(0,0,0,.6); margin-bottom: 20; margin-top: 10; - padding: 20; + padding: 0; -webkit-font-smoothing: antialiased; font-family: proxima-nova,Helvetica,Arial,sans-serif; font-size: 14; @@ -143,7 +143,7 @@ /* When the checkbox is checked, add a blue background */ .container input:checked ~ .checkmark { - background-color: #eeeeee; + background-color: #ccc; } /* Create the checkmark/indicator (hidden when not checked) */ From d5409b5ee8ca54859353fb235a226f68232752a7 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:25:54 +0200 Subject: [PATCH 19/85] Update index.html --- server/static/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/static/index.html b/server/static/index.html index 39c7ba8b..92ab6194 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -2,12 +2,14 @@
Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa
+

Tässä on kaikkea markkinointitekstiä joka näyttää ja kuulostaa hienolta. Esimerkiksi että Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa ja myöskin että tämä uutiskirje on parasta ikinä eikä sellaista saisi sanoa koskaan.


+

From 098c82dcf64682dac4b41ca9e2cb0cc89aceb9ca Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:27:59 +0200 Subject: [PATCH 20/85] Update index.html --- server/static/index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/server/static/index.html b/server/static/index.html index 92ab6194..7756737c 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -79,6 +79,12 @@ border: 0.5px solid #ccc; height: 30; width: 400px; + margin-bottom: 20; + margin-top: 10; + padding-left: 20; + padding-right: 20; + padding-top: 10; + padding-bottom: 10; } button { float: left; @@ -87,7 +93,10 @@ border-color: rgba(0,0,0,.6); margin-bottom: 20; margin-top: 10; - padding: 0; + padding-left: 20; + padding-right: 20; + padding-top: 10; + padding-bottom: 10; -webkit-font-smoothing: antialiased; font-family: proxima-nova,Helvetica,Arial,sans-serif; font-size: 14; From fa6156c337abc8f7c00ac47003faf6dfbd9c0f3f Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:42:11 +0200 Subject: [PATCH 21/85] Update index.html --- server/static/index.html | 252 +++++++++++++++------------------------ 1 file changed, 96 insertions(+), 156 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 7756737c..46fa0bb2 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,184 +1,124 @@ - -
- Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa -
-
-

Tässä on kaikkea markkinointitekstiä joka näyttää ja kuulostaa hienolta. - Esimerkiksi että Tilaa Pohjolan Liikenteen uutiskirje ja saat parhaimmat tarjouksemme ensimmäisten joukossa - ja myöskin että tämä uutiskirje on parasta ikinä eikä sellaista saisi sanoa koskaan.

- -
-
-
- - -
- - -
- -
- - +
+ +
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +

    Age

    +
      +
    • + + +
    • +
    +
  • +
  • + +
  • +
- + +
From f02829a6cb63c252ddb2e4c2465eb6a435efdbfa Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 12:45:58 +0200 Subject: [PATCH 22/85] Update index.html --- server/static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 46fa0bb2..131d97fe 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -15,7 +15,7 @@
  • Age

    -
      +
      • -

        Age

        • @@ -132,6 +131,6 @@ } .flex-inner li { - width: 200px; + max-width: 800px; } From 869f7f9af1e8bb4fff61c0ca431082cc6a8e6b06 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:04:54 +0200 Subject: [PATCH 31/85] Update index.html --- server/static/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 4787273c..7ef5f893 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -43,14 +43,15 @@ } fieldset { background-color: #333; -padding: 30; +padding: 40; +border: none; } legend { background-color: #333; color: #ffffff; font: normal 18px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; - padding: 5px 10px; + padding: 10px 20px; } .container { From 5d63a07a5b2d33766b625fedef4b69be9fd547d0 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:09:55 +0200 Subject: [PATCH 32/85] Update index.html --- server/static/index.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 7ef5f893..cc2ba4b0 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,7 +1,8 @@
          - Tilaa Pohjolan Liikenteen uutiskirje - saat edut ja tarjoukset sähköpostiisi ensimmäisten joukossa. + +
          Tilaa Pohjolan Liikenteen uutiskirje - saat edut ja tarjoukset sähköpostiisi ensimmäisten joukossa.
          • @@ -48,10 +49,10 @@ } legend { - background-color: #333; + background-color: transparent; color: #ffffff; font: normal 18px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; - padding: 10px 20px; + padding: 0; } .container { @@ -134,4 +135,12 @@ .flex-inner li { max-width: 800px; } +chapter { +color: #ffffff; +font: normal 18px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; + text-transform: uppercase; + font-weight: 600; + max-width: 800px; +} + From 1311483e2bff9dca6317561cc3c06468d978a1bf Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:11:00 +0200 Subject: [PATCH 33/85] Update index.html --- server/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static/index.html b/server/static/index.html index cc2ba4b0..5a42c086 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -135,7 +135,7 @@ .flex-inner li { max-width: 800px; } -chapter { +.chapter { color: #ffffff; font: normal 18px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; text-transform: uppercase; From 7814803707f6a301863b8e4786343f46745c8da1 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:11:45 +0200 Subject: [PATCH 34/85] Update index.html --- server/static/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/static/index.html b/server/static/index.html index 5a42c086..1e4f2d61 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -141,6 +141,8 @@ text-transform: uppercase; font-weight: 600; max-width: 800px; + margin-bottom: 10; + margin-top:10; } From eb356fbe1d37c284cb84472c6f0fed44653dc6d7 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:13:46 +0200 Subject: [PATCH 35/85] Update index.html --- server/static/index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 1e4f2d61..459c9d1a 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -138,11 +138,10 @@ .chapter { color: #ffffff; font: normal 18px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; - text-transform: uppercase; - font-weight: 600; - max-width: 800px; + max-width: 1200px; margin-bottom: 10; - margin-top:10; + margin-top: 30; + letter-spacing: .09em; } From 30066edf3b5d1f6bad925488c5eaf21b8eb9912e Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:18:00 +0200 Subject: [PATCH 36/85] Update index.html --- server/static/index.html | 77 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 73 insertions(+), 4 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 459c9d1a..6669f49f 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -19,10 +19,12 @@
            • - -
          • @@ -45,6 +47,7 @@ fieldset { background-color: #333; padding: 40; +margin-top: 30; border: none; } @@ -143,5 +146,71 @@ margin-top: 30; letter-spacing: .09em; } - + /* Customize the label (the container) */ +.container1 { + display: block; + position: relative; + padding-left: 35px; + margin-bottom: 12px; + cursor: pointer; + font-size: 22px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +/* Hide the browser's default checkbox */ +.container1 input { + position: absolute; + opacity: 0; + cursor: pointer; + height: 0; + width: 0; +} + +/* Create a custom checkbox */ +.checkmark { + position: absolute; + top: 0; + left: 0; + height: 25px; + width: 25px; + background-color: #eee; +} + +/* On mouse-over, add a grey background color */ +.container1:hover input ~ .checkmark { + background-color: #ccc; +} + +/* When the checkbox is checked, add a blue background */ +.container1 input:checked ~ .checkmark { + background-color: #ccc; +} + +/* Create the checkmark/indicator (hidden when not checked) */ +.checkmark:after { + content: ""; + position: absolute; + display: none; +} + +/* Show the checkmark when checked */ +.container1 input:checked ~ .checkmark:after { + display: block; +} + +/* Style the checkmark/indicator */ +.container1 .checkmark:after { + left: 9px; + top: 5px; + width: 5px; + height: 10px; + border: solid white; + border-width: 0 3px 3px 0; + -webkit-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); +} From 03a5f56e432022683de65ee7ed9dcf8840c769ba Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:20:55 +0200 Subject: [PATCH 37/85] Update index.html --- server/static/index.html | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 6669f49f..73000bab 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -21,7 +21,7 @@
          • -
          • -
          • -
              +
              • From dea2c467c2eb316fe09aa90a4775cda21ced55c3 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 13:33:01 +0200 Subject: [PATCH 40/85] Update index.html --- server/static/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index cbcdb8b2..563f8176 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -17,10 +17,9 @@
              • -
                  +
                  • - - +
          - Liity tilaajaksi täyttämällä tietosi allaoleviin kenttiin.
            + Liity tilaajaksi täyttämällä tietosi allaoleviin kenttiin.
            +
            • From a151ee7a7f2400633efaea2f0757f387ededb8b0 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:46:14 +0200 Subject: [PATCH 78/85] Update index.html --- server/static/index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 3eeefd9b..db5b7472 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -3,12 +3,11 @@
              Liity Pohjolan Liikenteen uutiskirjeen tilaajaksi
              -
              Uutiskirjeen tilaajana saat ensimmäisenä tiedon eduista ja tarjouksista sekä ajankohtaisimmat uutiset Länsi-Uudenmaan liikenteestämme suoraan sähköpostiisi. Lähetämme Sinulle tietoa tarjouksista ja aikatauluista noin kerran kuussa. Uutiskirjeen tilaaminen kannattaa, sillä tilaajana pääset ensimmäisten joukossa hyödyntämään mm. tarjouksemme, jotka ovat voimassa vain rajoitetun ajan!
              - Liity tilaajaksi täyttämällä tietosi allaoleviin kenttiin.
              + Liity tilaajaksi täyttämällä tietosi allaoleviin kenttiin.
              • @@ -214,8 +213,8 @@ font: normal 16px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; max-width: 800px; padding-left: 70; - padding-bottom: 10; - padding-top: 30; + padding-bottom: 30; + padding-top: 0; letter-spacing: .06em; font-weight: 300; } From df95bfc681fa20c010af38ba7b6286725448a417 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:46:54 +0200 Subject: [PATCH 79/85] Update index.html --- server/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static/index.html b/server/static/index.html index db5b7472..f3269199 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -211,7 +211,7 @@ .chapter2 { color: #ffffff; font: normal 16px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; - max-width: 800px; + max-width: 1000px; padding-left: 70; padding-bottom: 30; padding-top: 0; From 1a35ff8f99e8dedd22f7cead3ec4deddc56f0e9c Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:47:46 +0200 Subject: [PATCH 80/85] Update index.html --- server/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static/index.html b/server/static/index.html index f3269199..9d7878bf 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -6,7 +6,7 @@
                Uutiskirjeen tilaajana saat ensimmäisenä tiedon eduista ja tarjouksista sekä ajankohtaisimmat uutiset Länsi-Uudenmaan liikenteestämme suoraan sähköpostiisi. Lähetämme Sinulle tietoa tarjouksista ja aikatauluista noin kerran kuussa. - Uutiskirjeen tilaaminen kannattaa, sillä tilaajana pääset ensimmäisten joukossa hyödyntämään mm. tarjouksemme, jotka ovat voimassa vain rajoitetun ajan!
                + Uutiskirjeen tilaaminen kannattaa, sillä tilaajana pääset ensimmäisten joukossa hyödyntämään mm. tarjouksemme, jotka ovat voimassa vain rajoitetun ajan! Liity tilaajaksi täyttämällä tietosi allaoleviin kenttiin.
                • From abc6f5752c004ea271998cec378f6b7dd753bc76 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:50:17 +0200 Subject: [PATCH 81/85] Update index.html --- server/static/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 9d7878bf..5ee3a2df 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -174,6 +174,7 @@ letter-spacing: .07em; font-size: 16; line-height: 1.2; + text-transform: none; } .flex-cent > li > label, @@ -200,7 +201,7 @@ } .chapter { color: #ffffff; -font: normal 19px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; +font: normal 20px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; max-width: 800px; padding-left: 50; padding-bottom: 10; @@ -211,7 +212,7 @@ .chapter2 { color: #ffffff; font: normal 16px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; - max-width: 1000px; + max-width: 820px; padding-left: 70; padding-bottom: 30; padding-top: 0; From 96f0fe30ae614a1385a658111d6db984716bd958 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:50:55 +0200 Subject: [PATCH 82/85] Update index.html --- server/static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 5ee3a2df..9274beb7 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -7,7 +7,7 @@ tiedon eduista ja tarjouksista sekä ajankohtaisimmat uutiset Länsi-Uudenmaan liikenteestämme suoraan sähköpostiisi. Lähetämme Sinulle tietoa tarjouksista ja aikatauluista noin kerran kuussa. Uutiskirjeen tilaaminen kannattaa, sillä tilaajana pääset ensimmäisten joukossa hyödyntämään mm. tarjouksemme, jotka ovat voimassa vain rajoitetun ajan! - Liity tilaajaksi täyttämällä tietosi allaoleviin kenttiin.
                  + Liity tilaajaksi täyttämällä tietosi allaoleviin kenttiin.
                  • @@ -204,7 +204,7 @@ font: normal 20px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; max-width: 800px; padding-left: 50; - padding-bottom: 10; + padding-bottom: 20; padding-top: 30; letter-spacing: .07em; font-weight: 600; From 6364aa44f911b08cc004b7183addc4dc2f685a52 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:51:51 +0200 Subject: [PATCH 83/85] Update index.html --- server/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/static/index.html b/server/static/index.html index 9274beb7..1bdb80c5 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -214,7 +214,7 @@ font: normal 16px/1.5 "Fira Sans", "Helvetica Neue", sans-serif; max-width: 820px; padding-left: 70; - padding-bottom: 30; + padding-bottom: 25; padding-top: 0; letter-spacing: .06em; font-weight: 300; From 0fb1873814c6f7e614aee14cfec66c98946d37c2 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:53:39 +0200 Subject: [PATCH 84/85] Update index.html --- server/static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 1bdb80c5..24b862db 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -15,11 +15,11 @@
                  • - +
                  • - +
                    • From 67924dd74fe9b24a5acd44028d7f24bd8753e066 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Fri, 28 Jan 2022 08:18:47 +0200 Subject: [PATCH 85/85] Update settings.js --- settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.js b/settings.js index f0b97199..444f5de5 100644 --- a/settings.js +++ b/settings.js @@ -13,5 +13,5 @@ exports.listId = 57887; exports.templateId = null; // receive an email when a new signup is confirmed -exports.sendNotification = true; -exports.notificationEmail = "viestinta@pohjolanliikenne.fi"; +exports.sendNotification = false; +exports.notificationEmail = "";