From 7b0164dfc6a0da77b64123c3b6e337685cdc412f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoni=20Nu=C3=B1ez=20Romeu?= Date: Thu, 19 Mar 2026 17:29:05 +0100 Subject: [PATCH] Changes & Menus, enabled Gitea Workflow --- .gitea/workflows/deploy.yaml | 26 +++++++++++ src/components/BookingSection.tsx | 14 +++++- src/components/FooterSection.tsx | 3 +- src/components/GallerySection.tsx | 6 ++- src/components/HotelSection.tsx | 6 ++- src/components/Navbar.tsx | 69 ++++++++++++++++++----------- src/components/PracticalSection.tsx | 6 ++- src/components/ScheduleSection.tsx | 6 ++- src/components/StaffSection.tsx | 6 ++- 9 files changed, 108 insertions(+), 34 deletions(-) create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..3c58739 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,26 @@ +name: Deploy NPM app +run-name: ${{ gitea.actor }} is deploying to PROD servers. +on: [push, fork, pull] + +jobs: + Explore-Gitea-Actions: + runs-on: 422239c5937c + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: SSH to remote server + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + port: ${{ secrets.PORT }} + script: | + cd /home/zouklambadabcn.com/public_html/ + git pull + npm install + npm run build + pm2 restart ZLB + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file diff --git a/src/components/BookingSection.tsx b/src/components/BookingSection.tsx index 0b53530..28bed86 100644 --- a/src/components/BookingSection.tsx +++ b/src/components/BookingSection.tsx @@ -149,7 +149,12 @@ const BookingSection = () => { if (status === "success") { return ( -
+
{ } return ( -
+
( whileInView={{ opacity: 1, y: 0 }} viewport={{ once: false, amount: 0.15 }} transition={{ duration: 0.6 }} - className="bg-foreground text-primary-foreground" + className="bg-foreground text-primary-foreground relative z-30 -mt-[40px] pt-[80px]" + style={{ clipPath: "polygon(50% 0, 100% 40px, 100% 100%, 0 100%, 0 40px)" }} >
diff --git a/src/components/GallerySection.tsx b/src/components/GallerySection.tsx index 6d1d949..fc9fcd8 100644 --- a/src/components/GallerySection.tsx +++ b/src/components/GallerySection.tsx @@ -3,7 +3,11 @@ import { GALLERY_IMAGES } from "@/data/event-data"; import { ImageIcon } from "lucide-react"; const GallerySection = () => ( -