Replace the landing with the artifact design and rebuild the admin in Ant Design.

Adds consultation leads, section editors, and the one-time content reset for this release.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-01 20:36:06 +03:30
co-authored by Cursor
parent 5147c661f0
commit b0088c35d1
130 changed files with 8024 additions and 2801 deletions
+21 -35
View File
@@ -1,5 +1,11 @@
# Place under /etc/nginx/sites-available/montech.ir
# Prefer HTTP :80 if SSL terminates on the front proxy (same pattern as CRM).
# /etc/nginx/sites-available/montech.ir
#
# Copy BOTH files:
# sudo cp deploy/nginx-montech.ir.conf /etc/nginx/sites-available/montech.ir
# sudo cp deploy/nginx-montech-locations.conf /etc/nginx/snippets/montech-locations.conf
#
# SSL on origin (certbot) is needed only if WCDN Origin = HTTPS (Full / Full Strict).
# If WCDN Origin = HTTP:80, the :443 block below can stay unused.
upstream montech_api {
server 127.0.0.1:3050;
@@ -16,40 +22,20 @@ server {
listen [::]:80;
server_name montech.ir www.montech.ir;
client_max_body_size 20M;
include /etc/nginx/snippets/montech-locations.conf;
}
location /api/ {
proxy_pass http://montech_api;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 120s;
}
# Enable after certificates exist:
# sudo ls /etc/letsencrypt/live/montech.ir/
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name montech.ir www.montech.ir;
location /adm/ {
alias /var/www/montech/apps/adm/dist/;
try_files $uri $uri/ /adm/index.html;
}
ssl_certificate /etc/letsencrypt/live/montech.ir/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/montech.ir/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
# SPA fallback for Vue admin history mode
location = /adm/index.html {
alias /var/www/montech/apps/adm/dist/index.html;
}
location = /adm {
return 301 /adm/;
}
location / {
proxy_pass http://montech_landing;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
include /etc/nginx/snippets/montech-locations.conf;
}