diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..85d21d2 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,31 @@ +name: Build and Push Docker Image + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Log in to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }} + password: ${{ secrets.CONTAINER_REGISTRY_PASSKEY }} + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build and Tag Docker Image + run: | + docker build -t ${{ secrets.CONTAINER_REGISTRY_USERNAME }}/luke-else.co.uk:latest . + + - name: Push Docker Image + run: | + docker push ${{ secrets.CONTAINER_REGISTRY_USERNAME }}/luke-else.co.uk:latest diff --git a/src/lib/components/Card.svelte b/src/lib/components/Cards/Card.svelte similarity index 100% rename from src/lib/components/Card.svelte rename to src/lib/components/Cards/Card.svelte diff --git a/src/lib/components/Cards/SlidingCard.svelte b/src/lib/components/Cards/SlidingCard.svelte new file mode 100644 index 0000000..bbd315d --- /dev/null +++ b/src/lib/components/Cards/SlidingCard.svelte @@ -0,0 +1,102 @@ + + + + + + +
+
+ +
+
+ + +
+
+ +
+
+ +
+
+ +
+ +
\ No newline at end of file diff --git a/src/lib/index.ts b/src/lib/index.ts index a8fc0a6..5c02902 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -14,7 +14,8 @@ import InfoIcon from '$lib/components/Toasts/InfoIcon.svelte'; import SuccessIcon from '$lib/components/Toasts/SuccessIcon.svelte'; import ErrorIcon from '$lib/components/Toasts/ErrorIcon.svelte'; -import Card from '$lib/components/Card.svelte'; +import Card from '$lib/components/Cards/Card.svelte'; +import SlidingCard from '$lib/components/Cards/SlidingCard.svelte'; import Modal from '$lib/components/Modal.svelte'; @@ -35,5 +36,6 @@ export { ErrorIcon, Card, + SlidingCard, Modal }; diff --git a/src/routes/contact/+page.svelte b/src/routes/contact/+page.svelte index d75f0c8..acb1d6a 100644 --- a/src/routes/contact/+page.svelte +++ b/src/routes/contact/+page.svelte @@ -1,5 +1,5 @@