Compare commits

..

9 commits

Author SHA1 Message Date
Sergejs Kozinecs
bd75a75712 Samll tweaks and changes
All checks were successful
Build and Deploy Astro Landing / deploy (push) Successful in 2m6s
2026-07-29 20:38:32 +03:00
Sergejs Kozinecs
10500c5492 Added analytics
All checks were successful
Build and Deploy Astro Landing / deploy (push) Successful in 1m33s
2026-07-29 20:09:45 +03:00
Sergejs Kozinecs
d1b5e4518a Fix resolver in docker compose
All checks were successful
Build and Deploy Astro Landing / deploy (push) Successful in 1m51s
2026-07-29 19:52:36 +03:00
Sergejs Kozinecs
da35af4256 Updated docker compose
All checks were successful
Build and Deploy Astro Landing / deploy (push) Successful in 1m24s
2026-07-29 19:47:22 +03:00
Sergejs Kozinecs
8b3a253269 Removed comment
Some checks failed
Build and Deploy Astro Landing / deploy (push) Failing after 2m8s
2026-07-29 19:41:10 +03:00
Sergejs Kozinecs
a3fc5bc3e2 Fixing yml style
All checks were successful
Build and Deploy Astro Landing / deploy (push) Successful in 12s
2026-07-29 19:36:02 +03:00
Sergejs Kozinecs
e210185342 Modified delpoy yml
Some checks failed
Build and Deploy Astro Landing / deploy (push) Failing after 1s
2026-07-29 19:34:41 +03:00
Sergejs Kozinecs
496619e8fe Change to direct github link
All checks were successful
Build and Deploy Astro Landing / deploy (push) Successful in 9s
2026-07-29 19:16:45 +03:00
Sergejs Kozinecs
a058c72537 Update version ssh action
Some checks failed
Build and Deploy Astro Landing / deploy (push) Failing after 6s
2026-07-29 19:15:20 +03:00
7 changed files with 21 additions and 25 deletions

View file

@ -8,21 +8,21 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest # Метка вашего Forgejo Runner runs-on: ubuntu-latest
steps: steps:
- name: Deploy to VPS via SSH - name: Deploy to VPS via SSH
uses: appleboy/ssh-action@v1.0.3 uses: https://github.com/appleboy/ssh-action@v1.2.5
with: with:
host: ${{ secrets.VPS_HOST }} host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USER }} username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }} key: ${{ secrets.VPS_SSH_KEY }}
port: 22 port: 22
script: | script: |
# 1. Переходим в директорию лендинга set -e
cd /var/www/Landing cd /var/www/Landing
# 2. Подтягиваем свежие коммиты из Git git fetch --all
git pull origin main git reset --hard origin/${{ github.ref_name }}
# 3. Пересобираем Docker-образ и перезапускаем контейнер docker compose build --no-cache
docker compose up -d --build docker compose up -d --force-recreate

View file

@ -1,6 +1,5 @@
services: services:
midcreative: midcreative:
# Оставляем image, чтобы CI/CD мог за push/pull обновлять образ
image: midcreative:latest image: midcreative:latest
build: build:
context: . context: .
@ -17,12 +16,13 @@ services:
- traefik_proxy - traefik_proxy
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.midcreative.rule=Host(`midcreative.eu`) || Host(`www.midcreative.eu`)" - "traefik.http.routers.midcreative.rule=Host(`midcreative.eu`)"
- "traefik.http.routers.midcreative.entrypoints=websecure" - "traefik.http.routers.midcreative.entrypoints=websecure"
- "traefik.http.routers.midcreative.tls=true" - "traefik.http.routers.midcreative.tls=true"
- "traefik.http.routers.midcreative.tls.certresolver=letsencrypt" - "traefik.http.routers.midcreative.tls.certresolver=myresolver"
- "traefik.http.services.midcreative.loadbalancer.server.port=4321" - "traefik.http.services.midcreative.loadbalancer.server.port=4321"
networks: networks:
traefik_proxy: traefik_proxy:
external: true external: true
name: traefik-net

Binary file not shown.

Before

Width:  |  Height:  |  Size: 655 B

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,9 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 128 128">
<path d="M50.4 78.5a75.1 75.1 0 0 0-28.5 6.9l24.2-65.7c.7-2 1.9-3.2 3.4-3.2h29c1.5 0 2.7 1.2 3.4 3.2l24.2 65.7s-11.6-7-28.5-7L67 45.5c-.4-1.7-1.6-2.8-2.9-2.8-1.3 0-2.5 1.1-2.9 2.7L50.4 78.5Zm-1.1 28.2Zm-4.2-20.2c-2 6.6-.6 15.8 4.2 20.2a17.5 17.5 0 0 1 .2-.7 5.5 5.5 0 0 1 5.7-4.5c2.8.1 4.3 1.5 4.7 4.7.2 1.1.2 2.3.2 3.5v.4c0 2.7.7 5.2 2.2 7.4a13 13 0 0 0 5.7 4.9v-.3l-.2-.3c-1.8-5.6-.5-9.5 4.4-12.8l1.5-1a73 73 0 0 0 3.2-2.2 16 16 0 0 0 6.8-11.4c.3-2 .1-4-.6-6l-.8.6-1.6 1a37 37 0 0 1-22.4 2.7c-5-.7-9.7-2-13.2-6.2Z" />
<style>
path { fill: #000; }
@media (prefers-color-scheme: dark) {
path { fill: #FFF; }
}
</style>
</svg>

Before

Width:  |  Height:  |  Size: 749 B

View file

@ -51,3 +51,7 @@ const { title, description, image = FallbackImage } = Astro.props;
<!-- Twitter --> <!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<script
defer
src="https://analytics.midcreative.eu/script.js"
data-website-id="8bb6c1a1-17df-4882-a267-ce35df273d44"></script>

View file

@ -241,11 +241,11 @@ const getProjectImage = (imageName: string) => {
cardElementsContainer, cardElementsContainer,
{ opacity: [0, 1], y: [50, 0] }, { opacity: [0, 1], y: [50, 0] },
{ {
duration: 0.6, duration: 0.3,
easing: "easeIn", easing: "easeIn",
// delay: 0.3, // delay: 0.3,
delay: stagger(0.3), delay: stagger(0.2),
}, },
); );
@ -253,9 +253,9 @@ const getProjectImage = (imageName: string) => {
cardElements, cardElements,
{ opacity: [0, 1], y: [30, 0] }, { opacity: [0, 1], y: [30, 0] },
{ {
duration: 0.5, duration: 0.3,
easing: "easeIn", easing: "easeIn",
delay: stagger(0.3), delay: stagger(0.2),
}, },
); );
}); });

View file

@ -101,6 +101,7 @@
div { div {
width: 100%; width: 100%;
text-align: center; text-align: center;
align-items: center;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: 16px; margin-top: 16px;