forked from ProjectSegfault/website
format
This commit is contained in:
parent
e5264df3ad
commit
2d7c4595ac
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
@ -3,26 +3,22 @@ name: Docker
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- "master"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Set up QEMU
|
||||||
name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
-
|
- name: Set up Docker Buildx
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
-
|
- name: Login to DockerHub
|
||||||
name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
- name: Build and push
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
@ -2,9 +2,20 @@
|
|||||||
import { Note, Captcha, Form, Meta, TextArea } from "$lib/Form";
|
import { Note, Captcha, Form, Meta, TextArea } from "$lib/Form";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Form action="https://segfautils.projectsegfau.lt/api/form" method="POST" id="contact-form" >
|
<Form
|
||||||
<Note content="Your IP will be logged for anti-abuse measures." icon="i-fa6-solid:lock" />
|
action="https://segfautils.projectsegfau.lt/api/form"
|
||||||
<Meta inputType="email" inputPlaceholder="Your email" selectType="commentType">
|
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="" selected disabled>Select a type of comment</option>
|
||||||
<option value="Feedback">Feedback</option>
|
<option value="Feedback">Feedback</option>
|
||||||
<option value="Suggestion">Suggestion</option>
|
<option value="Suggestion">Suggestion</option>
|
||||||
|
@ -9,7 +9,10 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</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
|
<HCaptcha
|
||||||
sitekey="67e84266-980c-4050-8a39-142a91928fe8"
|
sitekey="67e84266-980c-4050-8a39-142a91928fe8"
|
||||||
on:success={showSubmitButton}
|
on:success={showSubmitButton}
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
export let id: string;
|
export let id: string;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<form
|
<form {action} {method} {id}>
|
||||||
{action}
|
|
||||||
{method}
|
|
||||||
{id}
|
|
||||||
>
|
|
||||||
<slot />
|
<slot />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -26,8 +26,16 @@
|
|||||||
marginTop="7"
|
marginTop="7"
|
||||||
>
|
>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<LinkButton url="/services" title="Explore our services" icon="i-fa6-solid:bell-concierge" />
|
<LinkButton
|
||||||
<LinkButton url="/projects" title="Explore our projects" icon="i-fa6-solid:tractor" />
|
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
|
<LinkButton
|
||||||
url="/donate"
|
url="/donate"
|
||||||
icon="i-fa6-solid:money-bill"
|
icon="i-fa6-solid:money-bill"
|
||||||
|
Loading…
Reference in New Issue
Block a user