- Add some titles

- Fix some links
- Change form handler
This commit is contained in:
Dorian Zedler 2021-10-16 09:51:15 +02:00
parent 3da8f450cd
commit 00a9bd4ff1
Signed by: dorian
GPG Key ID: 989DE36109AFA354
12 changed files with 21 additions and 18 deletions

View File

@ -1,6 +1,6 @@
baseURL = "https://itsblue.de/" baseURL = "https://itsblue.de/"
defaultContentLanguage = "en" defaultContentLanguage = "en"
title = "Itsblue Development" title = "Itsblue"
theme = "quark-hugo" theme = "quark-hugo"
[params] [params]

View File

@ -1,4 +1,5 @@
--- ---
title: Home
layout: "modular" layout: "modular"
bodyClasses: 'title-h1h2 header-fixed header-animated header-dark header-transparent sticky-footer' bodyClasses: 'title-h1h2 header-fixed header-animated header-dark header-transparent sticky-footer'
menu: "main" menu: "main"

View File

@ -1,4 +1,5 @@
--- ---
title: Apps
layout: blog layout: blog
bodyClasses: 'title-h1h2 header-animated sticky-footer' bodyClasses: 'title-h1h2 header-animated sticky-footer'

View File

@ -1,4 +1,5 @@
--- ---
title: blueROCK
layout: appitem layout: appitem
title: blueROCK title: blueROCK
heroClasses: 'overlay-dark text-light hero-tiny' heroClasses: 'overlay-dark text-light hero-tiny'
@ -6,7 +7,7 @@ image: images/apps/bluerock.png
links: links:
googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.blueROCK' googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.blueROCK'
appstore: 'https://apps.apple.com/de/app/bluerock/id1503699996?app=itunes&ign-mpt=uo%3D4' appstore: 'https://apps.apple.com/de/app/bluerock/id1503699996?app=itunes&ign-mpt=uo%3D4'
opensource: 'https://git.itsblue.de/dorian/blueROCK' opensource: 'https://itsblue.dev/dorian/blueROCK'
privacyPolicy: "While you're using blueROCK Itsblue Development does not collect any of your personal data.<br>\r\n<br>\r\nHowever, digitalROCK (provider of rankings and resultservice) may collect personal data. <br>\r\nFurther information can be found in their privacy policy:<br>\r\n<a href=\"https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy\" target=\"blank\">https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy</a>" privacyPolicy: "While you're using blueROCK Itsblue Development does not collect any of your personal data.<br>\r\n<br>\r\nHowever, digitalROCK (provider of rankings and resultservice) may collect personal data. <br>\r\nFurther information can be found in their privacy policy:<br>\r\n<a href=\"https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy\" target=\"blank\">https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy</a>"
menu: menu:

View File

@ -1,4 +1,5 @@
--- ---
title: Fannyapp
layout: appitem layout: appitem
title: Fannyapp title: Fannyapp
heroClasses: 'overlay-dark text-light hero-tiny' heroClasses: 'overlay-dark text-light hero-tiny'
@ -8,7 +9,7 @@ image: images/apps/fannyapp.png
links: links:
googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.flgvertretung' googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.flgvertretung'
appstore: 'https://apps.apple.com/de/app/fannyapp/id1495583845' appstore: 'https://apps.apple.com/de/app/fannyapp/id1495583845'
opensource: 'https://git.itsblue.de/dorian/fanny-app' opensource: 'https://itsblue.dev/dorian/fanny-app'
menu: menu:
main: main:

View File

@ -1,11 +1,6 @@
--- ---
title: 'Speed Climbing Stopwatch App'
layout: appitem layout: appitem
title: 'Speed Climbing Stopwatch'
media_order: Banner.png
menu: 'Speed Climbing Stopwatch'
routes:
aliases:
- /index.php/apps/speed-climbing-stopwatch-app
heroClasses: 'overlay-dark text-light hero-tiny' heroClasses: 'overlay-dark text-light hero-tiny'
image: images/apps/scstw.png image: images/apps/scstw.png
links: links:

View File

@ -1,10 +1,6 @@
--- ---
layout: appitem
title: 'Speed Climbing Reaction Trainer' title: 'Speed Climbing Reaction Trainer'
media_order: 'Banner1.png,GooglePlay.png' layout: appitem
routes:
aliases:
- /index.php/apps/speed-climbing-stopwatch-reaction-trainer
heroClasses: 'overlay-dark text-light hero-tiny' heroClasses: 'overlay-dark text-light hero-tiny'
image: images/apps/scstwrt.png image: images/apps/scstwrt.png
links: links:

View File

@ -1,4 +1,5 @@
--- ---
title: Contact
menu: menu:
main: main:
title: Contact title: Contact

View File

@ -1,4 +1,5 @@
--- ---
title: 'Speed Climbing Stopwatch'
layout: "modular" layout: "modular"
bodyClasses: 'title-h1h2 header-fixed header-animated header-dark header-transparent sticky-footer' bodyClasses: 'title-h1h2 header-fixed header-animated header-dark header-transparent sticky-footer'
menu: "main" menu: "main"

View File

@ -69,7 +69,7 @@
icon: 'fab fa-gitlab' icon: 'fab fa-gitlab'
header: 'Our GitLab' header: 'Our GitLab'
text: 'We use GitLab for most of our projects, you can explore them here.' text: 'We use GitLab for most of our projects, you can explore them here.'
url: 'https://git.itsblue.de/explore' url: 'https://itsblue.dev/explore'
- -
icon: 'fab fa-google-play' icon: 'fab fa-google-play'
header: 'Google Play' header: 'Google Play'

View File

@ -100,7 +100,7 @@
submitButton.setLoading() submitButton.setLoading()
statusToast.show("primary", "Please wait...") statusToast.show("primary", "Please wait...")
var data = new FormData(form); var data = new FormData(form);
fetch("https://formspree.io/f/xwkazwbv", { fetch("https://api.itsblue.de/f/eb839512-45e8-4c6e-84de-3c88092b1310", {
method: form.method, method: form.method,
body: data, body: data,
headers: { headers: {
@ -108,12 +108,18 @@
}, },
}) })
.then((response) => { .then((response) => {
if(response.ok) {
statusToast.show("success", "Thanks for your submission!"); statusToast.show("success", "Thanks for your submission!");
form.reset(); form.reset();
submitButton.setNormal(); submitButton.setNormal();
}
else {
statusToast.show("error", "Oops! There was a problem submitting your form. Please contact us on a different way.")
submitButton.setNormal()
}
}) })
.catch((error) => { .catch((error) => {
statusToast.show("error", "Oops! There was a problem submitting your form") statusToast.show("error", "Oops! There was a problem submitting your form. Please contact us on a different way.")
submitButton.setNormal() submitButton.setNormal()
}); });
} }

View File

@ -14,7 +14,7 @@
<link rel="stylesheet" type="text/css" href="/css/fontawesome.min.css"> <link rel="stylesheet" type="text/css" href="/css/fontawesome.min.css">
<link rel="stylesheet" type="text/css" href="/css/bricklayer.css"> <link rel="stylesheet" type="text/css" href="/css/bricklayer.css">
{{ $title := print .Site.Title " | " .Title }} {{ $title := print .Title " | " .Site.Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title> <title>{{ $title }}</title>
</head> </head>