From 6a9a38cf6c946c4352d343ebb6f436b8453188e0 Mon Sep 17 00:00:00 2001 From: Odyssey346 Date: Thu, 28 Jul 2022 13:18:44 +0200 Subject: [PATCH 1/3] Add form (fixme) Signed-off-by: Odyssey346 --- package.json | 1 + src/routes/contact.md | 66 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/package.json b/package.json index 9bf775b..99394c8 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "prettier-plugin-svelte": "^2.7.0", "svelte": "^3.49.0", "svelte-check": "^2.8.0", + "svelte-hcaptcha": "^0.1.1", "svelte-preprocess": "^4.10.7", "svelte-seo": "^1.4.1", "tslib": "^2.4.0", diff --git a/src/routes/contact.md b/src/routes/contact.md index a83591d..797e1f9 100644 --- a/src/routes/contact.md +++ b/src/routes/contact.md @@ -3,10 +3,36 @@ title: Contact Us description: Do you want to contact us? --- + + + + # { title } { description } +## Contact Form + Your IP will be logged for anti-abuse measures. +
+ + +
+ + + + + ## Our email [contact@projectsegfau.lt](mailto:contact@projectsegfau.lt) @@ -16,3 +42,43 @@ _Please be aware that Microsoft often blocks non-popular emails, if you do conta ## People You can find ways to contact individual members [on our Members page](/members). + + \ No newline at end of file From ff5e582e976a6d617ecce9727caa64c1a303c102 Mon Sep 17 00:00:00 2001 From: Akis Date: Thu, 28 Jul 2022 14:52:53 +0300 Subject: [PATCH 2/3] modify a little --- pnpm-lock.yaml | 12 ++++++-- src/routes/contact.md | 64 ++++++++++++++++++++++++++++++++----------- 2 files changed, 57 insertions(+), 19 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eac35d9..ace2585 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,6 +10,7 @@ specifiers: prettier-plugin-svelte: ^2.7.0 svelte: ^3.49.0 svelte-check: ^2.8.0 + svelte-hcaptcha: ^0.1.1 svelte-preprocess: ^4.10.7 svelte-seo: ^1.4.1 tslib: ^2.4.0 @@ -21,12 +22,13 @@ devDependencies: '@iconify-json/fa6-solid': 1.1.5 '@iconify-json/simple-icons': 1.1.19 '@sveltejs/adapter-static': 1.0.0-next.38 - '@sveltejs/kit': 1.0.0-next.391_svelte@3.49.0+vite@3.0.2 + '@sveltejs/kit': 1.0.0-next.396_svelte@3.49.0+vite@3.0.2 mdsvex: 0.10.6_svelte@3.49.0 prettier: 2.7.1 prettier-plugin-svelte: 2.7.0_o3ioganyptcsrh6x4hnxvjkpqi svelte: 3.49.0 svelte-check: 2.8.0_svelte@3.49.0 + svelte-hcaptcha: 0.1.1 svelte-preprocess: 4.10.7_uslzfc62di2n2otc2tvfklnwji svelte-seo: 1.4.1_typescript@4.7.4 tslib: 2.4.0 @@ -127,8 +129,8 @@ packages: tiny-glob: 0.2.9 dev: true - /@sveltejs/kit/1.0.0-next.391_svelte@3.49.0+vite@3.0.2: - resolution: {integrity: sha512-2KWIPF7YjVCFldXRuMcSmv3tliTf92kkJaws/hxJ+MioTJx9QwYB/V+JYzIEMRMcddZDb+Rp1ko3vrQ95c1vmg==} + /@sveltejs/kit/1.0.0-next.396_svelte@3.49.0+vite@3.0.2: + resolution: {integrity: sha512-bKFpuzp9QxPkOIOEIeNeedvxEMORNqBPxUmoJXDP/Se7MrSfcxYiamjBcKrG+bgGNWmV39nD3EvUox+CXno/Ig==} engines: {node: '>=16.9'} hasBin: true peerDependencies: @@ -1034,6 +1036,10 @@ packages: - sugarss dev: true + /svelte-hcaptcha/0.1.1: + resolution: {integrity: sha512-iFF3HwfrCRciJnDs4Y9/rpP/BM2U/5zt+vh+9d4tALPAHVkcANiJIKqYuS835pIaTm6gt+xOzjfFI3cgiRI29A==} + dev: true + /svelte-hmr/0.14.12_svelte@3.49.0: resolution: {integrity: sha512-4QSW/VvXuqVcFZ+RhxiR8/newmwOCTlbYIezvkeN6302YFRE8cXy0naamHcjz8Y9Ce3ITTZtrHrIL0AGfyo61w==} engines: {node: ^12.20 || ^14.13.1 || >= 16} diff --git a/src/routes/contact.md b/src/routes/contact.md index 797e1f9..097bd4a 100644 --- a/src/routes/contact.md +++ b/src/routes/contact.md @@ -15,20 +15,25 @@ description: Do you want to contact us? { description } ## Contact Form - Your IP will be logged for anti-abuse measures.
- - -
- +
+ + Your IP will be logged for anti-abuse measures. +
+
+ + +
+ @@ -44,16 +49,43 @@ _Please be aware that Microsoft often blocks non-popular emails, if you do conta You can find ways to contact individual members [on our Members page](/members).