diff --git a/server/controllers/contact_list_controller.js b/server/controllers/contact_list_controller.js index dd6a187f..ce026668 100644 --- a/server/controllers/contact_list_controller.js +++ b/server/controllers/contact_list_controller.js @@ -6,10 +6,10 @@ const Settings = require('../../settings'); const optIn = 'opt-in'; function prepareConfirmationEmail(reqBody) { - const subject = "Please Confirm Your Email Address"; + const subject = "[みんなの女子トーク]仮登録ありがとうございます。"; const url = formatUrl(Settings.url) + '/success'; - const link = "this link" - const mailText = "Thanks for signing up! Click " + link + " to sign up! This link will be active for 24 hours."; + const link = "こちら" + const mailText = "仮登録ありがとうございます。" + link + "をクリックして本登録を完了してください。URLは24時間有効です。"; var emailBody = { personalizations: [ diff --git a/server/router.js b/server/router.js index a654e4af..80fc6e1e 100644 --- a/server/router.js +++ b/server/router.js @@ -4,6 +4,7 @@ const ContactList = require('./controllers/contact_list_controller'); module.exports = function(app) { app.get('/', function(req, res) { res.sendFile(path.join(__dirname, '/static/index.html')) }); app.get('/success', function(req, res) { res.sendFile(path.join(__dirname, '/static/success.html')) }); + app.get('/webauth', function(req, res) { res.sendFile(path.join(__dirname, '/static/webauth.html')) }); app.post('/confirmEmail', ContactList.sendConfirmation); app.post('/signup', ContactList.addUser); -} \ No newline at end of file +} diff --git a/server/static/check-inbox.html b/server/static/check-inbox.html index 010d97eb..e888c400 100644 --- a/server/static/check-inbox.html +++ b/server/static/check-inbox.html @@ -1 +1,821 @@ -

Please check your inbox for an email containing a link to verify your email address.

\ No newline at end of file + + + + + + + + + + + みんなの女子トーク + + + + + + + + + + +
+
+
+ みんなの女子トーク1 + みんなの女子トーク1 +

女性限定で自由におしゃべりすることができる掲示板
「みんなの女子トーク」がこの冬オープンします。
様々なお部屋があり、
同じような状況の人に聞きたいことを聞いたり、
悩みを打ち明けたり、
女性にとって役立つコンテンツです。
マナーを守ってみんなで楽しみましょう!

+ みんなの女子トーク2 + みんなの女子トーク2 +
+

2021年冬公開予定

+
+
+
+

ご登録ありがとうございます。
ご登録いただいたメールアドレスに
本登録用のURLをお送りしました。
お送りしたURLから本登録を行ってください。

+
+
+ + + +
+
+
+ みんなの女子トークロゴ + みんなの女子トークロゴ +
+ +
+ + diff --git a/server/static/error.html b/server/static/error.html index fe486a9d..bc98b7cf 100644 --- a/server/static/error.html +++ b/server/static/error.html @@ -1 +1,829 @@ -

Looks like something went wrong. Please try again. Please be sure to enter a valid email address.

\ No newline at end of file + + + + + + + + + + + みんなの女子トーク + + + + + + + + + + +
+
+
+ みんなの女子トーク1 + みんなの女子トーク1 +

女性限定で自由におしゃべりすることができる掲示板
「みんなの女子トーク」がこの冬オープンします。
様々なお部屋があり、
同じような状況の人に聞きたいことを聞いたり、
悩みを打ち明けたり、
女性にとって役立つコンテンツです。
マナーを守ってみんなで楽しみましょう!

+ みんなの女子トーク2 + みんなの女子トーク2 +
+

2021年冬公開予定

+
+
+
+

エラーが発生しました。
メールアドレスをご確認の上、再度ご入力ください。

+
+
+
+
+ + +
+
+
+
+ + + +
+
+
+ みんなの女子トークロゴ + みんなの女子トークロゴ +
+ +
+ + diff --git a/server/static/index.html b/server/static/index.html index 866700a0..658353a1 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,63 +1,829 @@ -
-
- Enter Your Information - - -
- - -
- - -
- - -
-
+ + + + + + + + + + + みんなの女子トーク + \ No newline at end of file + /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { + /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + cursor: pointer; + -webkit-appearance: none; + appearance: none; +} + +button[disabled], +[type="button"][disabled], +[type="reset"][disabled], +[type="submit"][disabled] { + cursor: default; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Remove arrow in IE10 & IE11 + */ + +select::-ms-expand { + display: none; +} + +/** + * Remove padding + */ + +option { + padding: 0; +} + +/** + * Reset to invisible + */ + +fieldset { + margin: 0; + padding: 0; + min-width: 0; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the outline style in Safari. + */ + +[type="search"] { + outline-offset: -2px; /* 1 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/** + * Clickable labels + */ + +label[for] { + cursor: pointer; +} + +/* Interactive */ +/* ============================================ */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* + * Remove outline for editable content. + */ + +[contenteditable] { + outline: none; +} + +/* Table */ +/* ============================================ */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +caption { + text-align: left; +} + +td, +th { + vertical-align: top; + padding: 0; +} + +th { + text-align: left; + font-weight: bold; +} + +/* Misc */ +/* ============================================ */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} + +/* リセットCSSここまで--------------------------- */ + + + + + + + + + + +
+
+
+ みんなの女子トーク1 + みんなの女子トーク1 +

女性限定で自由におしゃべりすることができる掲示板
「みんなの女子トーク」がこの冬オープンします。
様々なお部屋があり、
同じような状況の人に聞きたいことを聞いたり、
悩みを打ち明けたり、
女性にとって役立つコンテンツです。
マナーを守ってみんなで楽しみましょう!

+ みんなの女子トーク2 + みんなの女子トーク2 +
+

2021年冬公開予定

+
+
+
+

掲示板オープンのお知らせを GET するには
以下にメールアドレスを入力して
「メールを登録する」をクリック。

+
+
+
+
+ + +
+
+
+
+ + + +
+
+
+ みんなの女子トークロゴ + みんなの女子トークロゴ +
+ +
+ + diff --git a/server/static/success.html b/server/static/success.html index bb51bfd1..2367a4fd 100644 --- a/server/static/success.html +++ b/server/static/success.html @@ -1 +1,821 @@ -

Thank you for confirming your email address. You've been added to our mailing list.

\ No newline at end of file + + + + + + + + + + + みんなの女子トーク + + + + + + + + + + +
+
+
+ みんなの女子トーク1 + みんなの女子トーク1 +

女性限定で自由におしゃべりすることができる掲示板
「みんなの女子トーク」がこの冬オープンします。
様々なお部屋があり、
同じような状況の人に聞きたいことを聞いたり、
悩みを打ち明けたり、
女性にとって役立つコンテンツです。
マナーを守ってみんなで楽しみましょう!

+ みんなの女子トーク2 + みんなの女子トーク2 +
+

2021年冬公開予定

+
+
+
+

本登録ありがとうございます。
掲示板オープンをどうぞお楽しみに。

+
+
+ + + +
+
+
+ みんなの女子トークロゴ + みんなの女子トークロゴ +
+ +
+ + diff --git a/server/static/webauth.html b/server/static/webauth.html new file mode 100644 index 00000000..d591c252 --- /dev/null +++ b/server/static/webauth.html @@ -0,0 +1 @@ +
web-auth-2021-11
\ No newline at end of file diff --git a/settings.js b/settings.js index fd43e184..75b68ed0 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://sendgridgirlstalkdemo.herokuapp.com/'; exports.senderEmail = "sender@example.com"; -exports.senderName = "Sender Name"; +exports.senderName = "みんなの女子トーク"; // 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