This commit is contained in:
Akis 2022-08-31 14:16:12 +03:00
parent e5264df3ad
commit 2d7c4595ac
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
12 changed files with 122 additions and 108 deletions

View File

@ -3,26 +3,22 @@ name: Docker
on:
push:
branches:
- 'master'
- "master"
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true

View File

@ -2,9 +2,20 @@
import { Note, Captcha, Form, Meta, TextArea } from "$lib/Form";
</script>
<Form action="https://segfautils.projectsegfau.lt/api/form" method="POST" id="contact-form" >
<Note content="Your IP will be logged for anti-abuse measures." icon="i-fa6-solid:lock" />
<Meta inputType="email" inputPlaceholder="Your email" selectType="commentType">
<Form
action="https://segfautils.projectsegfau.lt/api/form"
method="POST"
id="contact-form"
>
<Note
content="Your IP will be logged for anti-abuse measures."
icon="i-fa6-solid:lock"
/>
<Meta
inputType="email"
inputPlaceholder="Your email"
selectType="commentType"
>
<option value="" selected disabled>Select a type of comment</option>
<option value="Feedback">Feedback</option>
<option value="Suggestion">Suggestion</option>

View File

@ -9,7 +9,10 @@
};
</script>
<Note content="The submit button will be visible when you complete the Captcha." icon="i-fa6-solid:circle-info" />
<Note
content="The submit button will be visible when you complete the Captcha."
icon="i-fa6-solid:circle-info"
/>
<HCaptcha
sitekey="67e84266-980c-4050-8a39-142a91928fe8"
on:success={showSubmitButton}

View File

@ -4,11 +4,7 @@
export let id: string;
</script>
<form
{action}
{method}
{id}
>
<form {action} {method} {id}>
<slot />
</form>

View File

@ -26,8 +26,16 @@
marginTop="7"
>
<div class="buttons">
<LinkButton url="/services" title="Explore our services" icon="i-fa6-solid:bell-concierge" />
<LinkButton url="/projects" title="Explore our projects" icon="i-fa6-solid:tractor" />
<LinkButton
url="/services"
title="Explore our services"
icon="i-fa6-solid:bell-concierge"
/>
<LinkButton
url="/projects"
title="Explore our projects"
icon="i-fa6-solid:tractor"
/>
<LinkButton
url="/donate"
icon="i-fa6-solid:money-bill"