Skip to content

Commit

Permalink
Contact page: gmail password
Browse files Browse the repository at this point in the history
  • Loading branch information
falkodev committed Nov 17, 2024
1 parent a1d37cb commit 0534a0e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ server/public/css/master-*.less
.env
.DS_Store
backup
server/config/local.js

# Logs
logs
Expand Down
2 changes: 1 addition & 1 deletion server/config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
host: 'smtp.gmail.com',
auth: {
user: '[email protected]',
pass: '20publicdomainlib24',
pass: 'qyfz ijsu wiza mzdx',
},
},
}
6 changes: 6 additions & 0 deletions server/modules/contact-page/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,27 @@ module.exports = {
add: {
nameLabel: {
type: 'string',
required: true,
},
emailLabel: {
type: 'string',
required: true,
},
messageLabel: {
type: 'string',
required: true,
},
sendLabel: {
type: 'string',
required: true,
},
successLabel: {
type: 'string',
required: true,
},
errorLabel: {
type: 'string',
required: true,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion server/modules/contact-page/views/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1 class="pdl-contact__heading">
<div class="pdl-contact__form-group">
<textarea id="message" name="message" class="pdl-contact__textarea" placeholder="{{ data.page.form.messageLabel }} *" required></textarea>
</div>
<button type="submit" class="pdl-contact__submit">{{data.page.form.sendLabel }}</button>
<button type="submit" class="pdl-contact__submit">{{ data.page.form.sendLabel }}</button>
</form>
</div>
</section>
Expand Down

0 comments on commit 0534a0e

Please sign in to comment.