Compare commits

...

7 Commits

Author SHA1 Message Date
dependabot[bot]
ec9f9424f1 Bump qs and express
Bumps [qs](https://github.com/ljharb/qs) to 6.11.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `qs` from 6.7.0 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.7.0...v6.11.0)

Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 01:32:56 +00:00
E
80813d48e3 Fix UI issues on desktop and mobile (#31) 2021-09-12 11:48:35 +01:00
Snyk bot
96d69992a0 fix: package.json & package-lock.json to reduce vulnerabilities (#29)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-1579269
2021-09-12 08:54:00 +01:00
Snyk bot
138a8de86c fix: package.json & package-lock.json to reduce vulnerabilities (#28)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-1296415
2021-09-12 08:51:36 +01:00
Snyk bot
7d230410f1 fix: package.json & package-lock.json to reduce vulnerabilities (#27)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-1579269
2021-09-12 08:49:42 +01:00
Snyk bot
6850b3152e fix: package.json & package-lock.json to reduce vulnerabilities (#25)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-1296415
2021-09-12 08:48:17 +01:00
Snyk bot
fc85964ed9 fix: Dockerfile to reduce vulnerabilities (#26)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN10-GLIBC-1315333
- https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-1063178
- https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-1063178
- https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-1063178
- https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-1063178
2021-09-12 08:48:01 +01:00
6 changed files with 875 additions and 1009 deletions

2
.gitignore vendored
View File

@@ -200,4 +200,4 @@ notes
public/stylesheets/style.css public/stylesheets/style.css
ngrok ngrok
.dccache

View File

@@ -1,4 +1,4 @@
FROM node:16.8.0 FROM node:16-bullseye-slim
ENV IS_DOCKER=true ENV IS_DOCKER=true
ENV NODE_ENV=production ENV NODE_ENV=production

1835
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -19,15 +19,15 @@
"dependencies": { "dependencies": {
"@sendgrid/mail": "^7.4.4", "@sendgrid/mail": "^7.4.4",
"app-root-path": "^3.0.0", "app-root-path": "^3.0.0",
"axios": "^0.21.2", "axios": "^0.21.3",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.5",
"express": "^4.17.1", "express": "^4.18.2",
"express-rate-limit": "^5.2.6", "express-rate-limit": "^5.2.6",
"hcaptcha": "^0.0.2", "hcaptcha": "^0.0.2",
"helmet": "^4.6.0", "helmet": "^4.6.0",
"http-errors": "^1.8.0", "http-errors": "^1.8.0",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"nodemailer": "^6.6.0", "nodemailer": "^6.6.1",
"pug": "^3.0.2", "pug": "^3.0.2",
"tailwind-hamburgers": "^1.1.1", "tailwind-hamburgers": "^1.1.1",
"winston": "^3.3.3", "winston": "^3.3.3",

View File

@@ -33,30 +33,30 @@ block content
div div
each val in project each val in project
div div(class="mb-10 text-center sm:text-left")
div div.contents
a(href=val.url) a(href=val.url).contents
if val.feature_image if val.feature_image
img(class="w-2/3" src=val.feature_image) img(class="sm:w-2/3 mx-auto sm:mx-0" src=val.feature_image)
else else
img(src="/images/logo.png") img(src="/images/logo.png")
div.mb-5 div.mt-2
a(href=val.url) a(href=val.url)
h1.font-sans.text-3xl.mt-3.mb-3 #{val.title} span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title}
p.text-lg #{val.excerpt} p.text-lg #{val.excerpt}
div div
h1.font-sans.text-6xl.wavy.my-10 Blog. h1.font-sans.text-6xl.wavy.my-10 Blog.
div div
each val in blog each val in blog
div div(class="mb-10 text-center sm:text-left")
div div.contents
a(href=val.url) a(href=val.url).contents
if val.feature_image if val.feature_image
img(class="w-2/3" src=val.feature_image) img(class="sm:w-2/3 mx-auto sm:mx-0" src=val.feature_image)
else else
img(src="/images/logo.png") img(src="/images/logo.png")
div.mb-5 div.mt-2
a(href=val.url) a(href=val.url)
h1.font-sans.text-3xl.mt-3.mb-3 #{val.title} span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title}
p.text-lg #{val.excerpt} p.text-lg #{val.excerpt}

View File

@@ -45,14 +45,15 @@ block content
div.mb-5 div.mb-5
label(for='message') Message label(for='message') Message
textarea#message(class="w-full border-2 border-pink bg-black p-2 text-base" name='message' class="form-control" placeholder='Enter your message here' rows='3' required='true') textarea#message(class="w-full border-2 border-pink bg-black p-2 text-base" name='message' class="form-control" placeholder='Enter your message here' rows='3' required='true')
div.mb-5 div(class="mb-5 justify-center sm:justify-items-start flex sm:block")
.h-captcha(data-sitekey='49abba50-1813-4ab3-acbf-2a8bfff1f7c3') .h-captcha(data-sitekey='49abba50-1813-4ab3-acbf-2a8bfff1f7c3')
button(type='submit' class="rounded-lg px-3 py-2 bg-pink text-black text-lg hover:ring-pink hover:ring-2 hover:bg-black hover:text-pink") Submit button(type='submit' class="rounded-lg px-3 py-2 bg-pink text-black text-lg hover:ring-pink hover:ring-2 hover:bg-black hover:text-pink sm:w-auto w-full sm:text-base") Submit
div div
if message if message
div(class="mt-10 mb-6 sm:text-left text-center")
#contact-message #contact-message
p=message p=message
if success if success
p=success p=success
span#email=email span#email.text-green=email