Our website is on its way. Stay tuned for something special as we look to deliver style, for every occasion. We can't wait to share more.
diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml new file mode 100644 index 0000000..4d21223 --- /dev/null +++ b/.gitea/workflows/docker.yml @@ -0,0 +1,34 @@ +name: Build and Push Docker Image + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest # Use Ubuntu as the runner environment + + steps: + - name: Checkout code + uses: actions/checkout@v3 # Checkout the repository's code + + - name: Log in to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} # Docker Hub username from GitHub Secrets + password: ${{ secrets.DOCKER_PASSWORD }} # Docker Hub password from GitHub Secrets + + - name: Build Docker image + run: | + # Build the Docker image from the Dockerfile in the repo + docker build -t ${{ secrets.DOCKER_USERNAME }}/divine-couture.co.uk:latest . + + - name: Push Docker image to Docker Hub + run: | + # Push the Docker image to Docker Hub + docker push ${{ secrets.DOCKER_USERNAME }}/divine-couture.co.uk:latest + + - name: Logout from Docker Hub + run: docker logout \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9d49fe8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +# Use the official Nginx image from Docker Hub +FROM nginx:alpine + +# Set the working directory in the container +WORKDIR /usr/share/nginx/html + +# Remove the default Nginx welcome page +RUN rm -rf /usr/share/nginx/html/* + +# Copy your static website files (e.g., HTML, CSS, JS) into the container +# Assuming the website files are in the `./website` directory on your host machine +COPY ./ /usr/share/nginx/html + +# Expose port 80 for the web server +EXPOSE 80 + +# Start Nginx in the foreground when the container runs +CMD ["nginx", "-g", "daemon off;"] diff --git a/divine couture-no background.svg b/assets/img/divine-couture.svg similarity index 100% rename from divine couture-no background.svg rename to assets/img/divine-couture.svg diff --git a/email-icon.png b/assets/img/email-icon.png similarity index 100% rename from email-icon.png rename to assets/img/email-icon.png diff --git a/phone-icon.png b/assets/img/phone-icon.png similarity index 100% rename from phone-icon.png rename to assets/img/phone-icon.png diff --git a/tiktok-icon.png b/assets/img/tiktok-icon.png similarity index 100% rename from tiktok-icon.png rename to assets/img/tiktok-icon.png diff --git a/website-icon.png b/assets/img/website-icon.png similarity index 100% rename from website-icon.png rename to assets/img/website-icon.png diff --git a/Full HD vertical.mp4 b/assets/vid/Full HD vertical.mp4 similarity index 100% rename from Full HD vertical.mp4 rename to assets/vid/Full HD vertical.mp4 diff --git a/Full HD.mp4 b/assets/vid/Full HD.mp4 similarity index 100% rename from Full HD.mp4 rename to assets/vid/Full HD.mp4 diff --git a/index.html b/index.html index 334185f..3287719 100644 --- a/index.html +++ b/index.html @@ -35,6 +35,9 @@ } .video-container { + display: flex; + align-items: center; + justify-content: center; position: fixed; top: 0; left: 0; @@ -42,20 +45,22 @@ height: 100%; overflow: hidden; z-index: 9999; + background-color: #1e1e1e; + opacity: 0.95; } .video-container video { - width: 100%; - height: 100%; + width: 50%; + height: 50%; object-fit: cover; } .video-container.fade-out { - animation: fadeOut 500ms forwards; + animation: fadeOut 1000ms forwards; } @keyframes fadeOut { - 0% { opacity: 1; } + 0% { opacity: 0.95; } 100% { opacity: 0; visibility: hidden; } } @@ -148,6 +153,13 @@ .mobile-element { display: block; /* Show mobile element on small screens */ } + + .video-container video { + width: 70%; + height: 70%; + object-fit: cover; + } + .contact { position: relative; @@ -168,7 +180,7 @@
Our website is on its way. Stay tuned for something special as we look to deliver style, for every occasion. We can't wait to share more.