- 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/"
defaultContentLanguage = "en"
title = "Itsblue Development"
title = "Itsblue"
theme = "quark-hugo"
[params]

View File

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

View File

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

View File

@ -1,4 +1,5 @@
---
title: blueROCK
layout: appitem
title: blueROCK
heroClasses: 'overlay-dark text-light hero-tiny'
@ -6,7 +7,7 @@ image: images/apps/bluerock.png
links:
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'
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>"
menu:

View File

@ -1,4 +1,5 @@
---
title: Fannyapp
layout: appitem
title: Fannyapp
heroClasses: 'overlay-dark text-light hero-tiny'
@ -8,7 +9,7 @@ image: images/apps/fannyapp.png
links:
googleplay: 'https://play.google.com/store/apps/details?id=com.itsblue.flgvertretung'
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:
main:

View File

@ -1,11 +1,6 @@
---
title: 'Speed Climbing Stopwatch App'
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'
image: images/apps/scstw.png
links:

View File

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

View File

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

View File

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

View File

@ -69,7 +69,7 @@
icon: 'fab fa-gitlab'
header: 'Our GitLab'
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'
header: 'Google Play'

View File

@ -100,7 +100,7 @@
submitButton.setLoading()
statusToast.show("primary", "Please wait...")
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,
body: data,
headers: {
@ -108,12 +108,18 @@
},
})
.then((response) => {
if(response.ok) {
statusToast.show("success", "Thanks for your submission!");
form.reset();
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) => {
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()
});
}

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/bricklayer.css">
{{ $title := print .Site.Title " | " .Title }}
{{ $title := print .Title " | " .Site.Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
</head>