fix: protocol-based link matching, hysteria panel support, links cache TTL 1h
- match subscription links by protocol instead of index (fixes trojan/mixed inbounds, e.g. Poland) - support hysteria panels in create/delete client, skip in shortid rotation - fix link regex to match hysteria2:// scheme - reduce links cache TTL from 7 days to 1 hour (stale cache hid servers) - delete client: fallback to id when uuid missing - feat(web): telegram contact button on home page
This commit is contained in:
@@ -142,6 +142,36 @@ body::before {
|
||||
}
|
||||
.btn:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(108,99,255,0.2) }
|
||||
.btn.da { background:linear-gradient(135deg,#f43f5e,#e11d48); color:#fff }
|
||||
.btn.tg {
|
||||
position:relative;
|
||||
background:linear-gradient(135deg,#1e96c8,#117a9e);
|
||||
color:#fff;
|
||||
overflow:hidden;
|
||||
isolation:isolate;
|
||||
}
|
||||
.btn.tg::before {
|
||||
content:'';
|
||||
position:absolute;inset:0;
|
||||
background:linear-gradient(135deg,rgba(255,255,255,0.18) 0%,transparent 50%,rgba(255,255,255,0.06) 100%);
|
||||
opacity:0;
|
||||
transition:opacity .4s;
|
||||
}
|
||||
.btn.tg::after {
|
||||
content:'';
|
||||
position:absolute;inset:-2px;
|
||||
border-radius:14px;
|
||||
background:linear-gradient(135deg,rgba(30,150,200,0.4),rgba(108,99,255,0.25));
|
||||
z-index:-1;
|
||||
filter:blur(12px);
|
||||
opacity:0;
|
||||
transition:opacity .4s;
|
||||
}
|
||||
.btn.tg:hover::before { opacity:1 }
|
||||
.btn.tg:hover::after { opacity:1 }
|
||||
.btn.tg:hover {
|
||||
transform:translateY(-3px);
|
||||
box-shadow:0 8px 32px rgba(30,150,200,0.35),0 0 0 1px rgba(30,150,200,0.3);
|
||||
}
|
||||
|
||||
.footer { text-align:center; margin-top:40px; color:var(--text-ter); font-size:12px; animation:fadeUp .6s .6s ease-out both }
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
</div>
|
||||
<div class="btns">
|
||||
<a href="{%da_url%}" class="btn da">❤️ Поддержать проект</a>
|
||||
<a href="https://t.me/sashegdev" class="btn tg" target="_blank" rel="noopener">✈️ Связаться</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user