Initial commit: tinovisas (visa management app)
This commit is contained in:
@@ -0,0 +1,235 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>DZ Projects Dashboard</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 40px 20px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 2.5rem;
|
||||
background: linear-gradient(90deg, #00d4ff, #7b2cbf, #ff006e);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.header p {
|
||||
color: #8892b0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.projects-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 30px;
|
||||
max-width: 1200px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.project-card {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 16px;
|
||||
padding: 30px;
|
||||
transition: all 0.3s ease;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.project-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 3px;
|
||||
background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
|
||||
}
|
||||
|
||||
.project-card:hover {
|
||||
transform: translateY(-5px);
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.project-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 28px;
|
||||
margin-bottom: 20px;
|
||||
background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
|
||||
}
|
||||
|
||||
.project-card h2 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 10px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.project-card p {
|
||||
color: #8892b0;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.project-meta {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
font-size: 0.85rem;
|
||||
color: #64ffda;
|
||||
}
|
||||
|
||||
.project-meta span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 12px;
|
||||
border-radius: 20px;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.status.online {
|
||||
background: rgba(39, 174, 96, 0.2);
|
||||
color: #27ae60;
|
||||
}
|
||||
|
||||
.status.online::before {
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: #27ae60;
|
||||
border-radius: 50%;
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
}
|
||||
|
||||
/* Project-specific colors */
|
||||
.tinovisas {
|
||||
--accent-color: #00d4ff;
|
||||
--accent-color-2: #0099cc;
|
||||
}
|
||||
|
||||
.gold-miner {
|
||||
--accent-color: #ffd700;
|
||||
--accent-color-2: #ffaa00;
|
||||
}
|
||||
|
||||
.dzgames {
|
||||
--accent-color: #ff006e;
|
||||
--accent-color-2: #8338ec;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 50px;
|
||||
color: #8892b0;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #64ffda;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.header h1 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.projects-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<h1>⚡ DZ Projects Dashboard</h1>
|
||||
<p>Your unified command center for all projects</p>
|
||||
</div>
|
||||
|
||||
<div class="projects-grid">
|
||||
<!-- TinoVisas -->
|
||||
<a href="/tinovisas" class="project-card tinovisas">
|
||||
<div class="project-icon">🤖</div>
|
||||
<span class="status online">Online</span>
|
||||
<h2>TinoVisas</h2>
|
||||
<p>Automated VFS visa appointment bot with client management, session tracking, and real-time notifications. Monitor openings and auto-book for your clients.</p>
|
||||
<div class="project-meta">
|
||||
<span>⚡ Node.js</span>
|
||||
<span>🔌 WebSocket</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<!-- Gol D Miner -->
|
||||
<a href="/gold" class="project-card gold-miner">
|
||||
<div class="project-icon">📈</div>
|
||||
<span class="status online">Online</span>
|
||||
<h2>Gol D Miner</h2>
|
||||
<p>Gold trading dashboard with Capital.com API integration. Scalping strategies, real-time market data, position management with TP/SL controls.</p>
|
||||
<div class="project-meta">
|
||||
<span>💰 Trading</span>
|
||||
<span>📊 Live Charts</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<!-- Dzgames -->
|
||||
<a href="/dzgames" class="project-card dzgames">
|
||||
<div class="project-icon">🎮</div>
|
||||
<span class="status online">Online</span>
|
||||
<h2>Dzgames</h2>
|
||||
<p>Multilingual gaming marketplace for digital game codes. Chargily Pay integration, admin dashboard, Arabic/French/English support.</p>
|
||||
<div class="project-meta">
|
||||
<span>🌍 i18n</span>
|
||||
<span>💳 Payments</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>VPS: <strong>51.178.36.114</strong> | Dashboard: <a href="http://51.178.36.114">http://51.178.36.114</a></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,91 @@
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 6;
|
||||
gzip_types text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml;
|
||||
|
||||
upstream tinovisas_web {
|
||||
server frontend:3000;
|
||||
}
|
||||
|
||||
upstream tinovisas_api {
|
||||
server backend:4000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
client_max_body_size 50M;
|
||||
|
||||
# Health check
|
||||
location /health {
|
||||
access_log off;
|
||||
proxy_pass http://tinovisas_api/health;
|
||||
}
|
||||
|
||||
# Tinovisas API - preserve /api/ prefix
|
||||
location /api/ {
|
||||
proxy_pass http://tinovisas_api/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;
|
||||
}
|
||||
|
||||
# Tinovisas static assets
|
||||
location /_next/ {
|
||||
proxy_pass http://tinovisas_web/_next/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_cache_valid 200 1d;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
# Tinovisas screenshots
|
||||
location /screenshots/ {
|
||||
alias /app/screenshots/;
|
||||
autoindex off;
|
||||
expires 1d;
|
||||
}
|
||||
|
||||
# Tinovisas uploads
|
||||
location /uploads/ {
|
||||
alias /app/uploads/;
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
# Tinovisas frontend - everything else
|
||||
location / {
|
||||
proxy_pass http://tinovisas_web;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user