diff --git a/frontend/src/routes/index/IndexPage.vue b/frontend/src/routes/index/IndexPage.vue index e11a1dc6b..ac0e4ad54 100644 --- a/frontend/src/routes/index/IndexPage.vue +++ b/frontend/src/routes/index/IndexPage.vue @@ -44,7 +44,7 @@ const posting = ref(); const success = ref(); const message = ref(); -const handleSubmit = async () => { +const handleSubscribe = async () => { console.log('handleSubmit'); if (email.value === '') { emailError.value = t('routes.index.IndexPage.empty-email-error'); @@ -199,6 +199,51 @@ const handleSubmit = async () => { +
+ + + Chcete vedieť o nových kalkulačkách? + + + Zanechajte nám váš e-mail a dáme vám vedieť vždy, keď spustíme novú + kalkulačku. + + + {{ message }} + +
+ + + + Odeslat + + +
+ {{ + $t('routes.index.IndexPage.disclaimer') + }} +
+
Ako vzniká kalkulačka? @@ -414,8 +459,7 @@ const handleSubmit = async () => { } .subscribe { - padding-top: 1rem; - padding-bottom: 1rem; + padding-top: 40px; display: grid; align-content: center; justify-content: center;