811 lines
75 KiB
HTML
811 lines
75 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<script src="./support.js"></script>
|
|
</head>
|
|
<body>
|
|
<x-dc>
|
|
<helmet>
|
|
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
|
|
<link href="https://fonts.googleapis.com/css2?family=Commissioner:wght@300;400;500;600&family=Unbounded:wght@500;600&display=swap" rel="stylesheet" />
|
|
<script src="https://unpkg.com/d3@7.9.0/dist/d3.min.js" crossorigin="anonymous"></script>
|
|
<script src="https://unpkg.com/topojson-client@3.1.0/dist/topojson-client.min.js" crossorigin="anonymous"></script>
|
|
<script>(function(){if(window.__veilixI18nSrc)return;window.__veilixI18nSrc="./i18n.js?v="+Date.now().toString(36)+Math.random().toString(36).slice(2,8);var s=document.createElement("script");s.src=window.__veilixI18nSrc;document.head.appendChild(s);})();</script>
|
|
<style>
|
|
:root{
|
|
--bg: oklch(99% 0.005 296);
|
|
--surface: oklch(100% 0 0);
|
|
--surface-2: oklch(97.5% 0.01 296);
|
|
--ink: oklch(24% 0.04 296);
|
|
--ink-2: oklch(45% 0.03 296);
|
|
--ink-3: oklch(60% 0.025 296);
|
|
--border: oklch(92% 0.014 296);
|
|
--accent: oklch(45% 0.17 296);
|
|
--accent-hover: oklch(38% 0.17 296);
|
|
--accent-soft: oklch(95.5% 0.028 296);
|
|
--on-accent: oklch(99% 0.01 296);
|
|
--glow-1: oklch(86% 0.1 296);
|
|
--glow-2: oklch(89% 0.09 266);
|
|
--glow-3: oklch(91% 0.08 332);
|
|
--veil: oklch(100% 0 0 / 0.55);
|
|
--land: oklch(95% 0.012 296);
|
|
--land-line: oklch(90% 0.018 296);
|
|
--ocean: oklch(97.5% 0.007 296);
|
|
--shadow: 0 1px 2px oklch(24% 0.04 296 / 0.05), 0 12px 32px -12px oklch(24% 0.04 296 / 0.14);
|
|
}
|
|
:root[data-veilix-theme="dark"]{
|
|
--bg: oklch(17% 0.022 296);
|
|
--surface: oklch(21% 0.026 296);
|
|
--surface-2: oklch(24% 0.03 296);
|
|
--ink: oklch(96% 0.01 296);
|
|
--ink-2: oklch(79% 0.02 296);
|
|
--ink-3: oklch(63% 0.025 296);
|
|
--border: oklch(31% 0.032 296);
|
|
--accent: oklch(74% 0.15 296);
|
|
--accent-hover: oklch(80% 0.13 296);
|
|
--accent-soft: oklch(27% 0.05 296);
|
|
--on-accent: oklch(17% 0.03 296);
|
|
--glow-1: oklch(45% 0.16 296);
|
|
--glow-2: oklch(40% 0.14 266);
|
|
--glow-3: oklch(42% 0.13 332);
|
|
--veil: oklch(100% 0 0 / 0.07);
|
|
--land: oklch(27% 0.028 296);
|
|
--land-line: oklch(32% 0.032 296);
|
|
--ocean: oklch(24% 0.025 296);
|
|
--shadow: 0 1px 2px oklch(10% 0.02 296 / 0.4), 0 16px 40px -16px oklch(8% 0.02 296 / 0.7);
|
|
}
|
|
*{ box-sizing: border-box; }
|
|
input, textarea, select{ font-size: 16px; }
|
|
[hidden]{ display: none !important; }
|
|
body{ margin:0; background: var(--bg); color: var(--ink); font-family:"Commissioner", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
|
|
a{ color: var(--accent); text-decoration: none; }
|
|
a:hover{ color: var(--accent-hover); }
|
|
summary{ list-style: none; }
|
|
@keyframes veilPulse{
|
|
0%{ transform: scale(1); opacity: 0.32; }
|
|
70%{ transform: scale(2.6); opacity: 0; }
|
|
100%{ transform: scale(2.6); opacity: 0; }
|
|
}
|
|
@keyframes veilDrift{
|
|
0%{ transform: translate3d(0,0,0) scale(1); }
|
|
50%{ transform: translate3d(2%,-3%,0) scale(1.06); }
|
|
100%{ transform: translate3d(0,0,0) scale(1); }
|
|
}
|
|
@keyframes veilDrift2{
|
|
0%{ transform: translate3d(0,0,0) scale(1.04); }
|
|
50%{ transform: translate3d(-3%,2%,0) scale(1); }
|
|
100%{ transform: translate3d(0,0,0) scale(1.04); }
|
|
}
|
|
</style>
|
|
</helmet>
|
|
|
|
<template id="__bundler_thumbnail" data-bg-color="#efeaf8">
|
|
<svg viewBox="0 0 1200 800" xmlns="http://www.w3.org/2000/svg">
|
|
<rect x="480" y="290" width="150" height="150" rx="48" fill="#5b32c9" />
|
|
<rect x="570" y="360" width="150" height="150" rx="48" fill="#ffffff" fill-opacity="0.62" stroke="#5b32c9" stroke-width="6" />
|
|
</svg>
|
|
</template>
|
|
<div style="background: var(--bg); color: var(--ink); font-family: 'Commissioner', system-ui, sans-serif; font-weight: 400; letter-spacing: -0.01em; min-height: 100vh; transition: background 240ms ease, color 240ms ease;">
|
|
|
|
<header style="position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--border);">
|
|
<div style="max-width: 1200px; margin: 0 auto; padding: 14px 24px; min-height: 66px; display: flex; flex-wrap: nowrap; align-items: center; gap: 14px 40px;">
|
|
|
|
<a href="#top" style="display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none;">
|
|
<span style="position: relative; width: 28px; height: 28px; display: block; flex: none;">
|
|
<span hidden="{{ mark1Off }}" style="position: absolute; inset: 0;">
|
|
<span style="position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 7px; background: linear-gradient(140deg, var(--accent), color-mix(in oklab, var(--accent) 55%, var(--glow-3))); display: block;"></span>
|
|
<span style="position: absolute; right: 0; bottom: 3px; width: 21px; height: 21px; border-radius: 7px; background: var(--veil); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); backdrop-filter: blur(2px); display: block;"></span>
|
|
</span>
|
|
<span hidden="{{ mark2Off }}" style="position: absolute; inset: 0; overflow: hidden;">
|
|
<span style="position: absolute; left: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), color-mix(in oklab, var(--accent) 50%, var(--glow-2))); display: block;"></span>
|
|
<span style="position: absolute; left: -6px; top: 13px; width: 40px; height: 18px; border-radius: 10px 10px 4px 4px; background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(3px); transform: rotate(-14deg); display: block;"></span>
|
|
</span>
|
|
<span hidden="{{ mark3Off }}" style="position: absolute; inset: 0;">
|
|
<span style="position: absolute; left: 1px; top: 1px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--accent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(-30deg); display: block;"></span>
|
|
<span style="position: absolute; left: 7px; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--accent) 45%, transparent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(20deg); display: block;"></span>
|
|
</span>
|
|
<span hidden="{{ mark4Off }}" style="position: absolute; inset: 0;">
|
|
<span style="position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 45%, var(--glow-1))); transform: rotate(45deg); display: block;"></span>
|
|
<span style="position: absolute; left: 9px; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: color-mix(in oklab, var(--bg) 85%, transparent); transform: rotate(45deg); display: block;"></span>
|
|
</span>
|
|
</span>
|
|
<span style="font-family: 'Unbounded', 'Commissioner', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; width: 88px; flex: none; white-space: nowrap;">Вейликс</span>
|
|
</a>
|
|
|
|
<nav hidden="{{ navOff }}" style="display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 500; color: var(--ink-2);">
|
|
<a href="Price.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Цены</a>
|
|
<a href="Locations.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Локации</a>
|
|
<a href="Support.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Поддержка</a>
|
|
</nav>
|
|
|
|
<div style="margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;">
|
|
<div hidden="{{ navOff }}" style="position: relative;">
|
|
<button type="button" onClick="{{ toggleLangMenu }}" title="Язык" style="display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--ink-2); font-family: inherit; font-size: 14px; cursor: pointer;" style-hover="color: var(--ink); border-color: var(--ink-3);">
|
|
<span style="position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; display: block; flex: none;">
|
|
<span style="position: absolute; left: -1.5px; top: 5.75px; width: 16px; height: 1.5px; background: currentColor; display: block;"></span>
|
|
<span style="position: absolute; left: 3.25px; top: -1.5px; width: 8px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; display: block;"></span>
|
|
</span>
|
|
<span style="font-variant-numeric: tabular-nums;">{{ langLabel }}</span>
|
|
</button>
|
|
<div hidden="{{ langMenuOff }}" style="position: absolute; right: 0; top: 46px; width: 172px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); font-size: 14px;">
|
|
<button type="button" onClick="{{ setRu }}" style="display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: {{ ruBg }}; color: var(--ink); font-family: inherit; font-size: 14px; text-align: left; cursor: pointer;">
|
|
<span>Русский</span>
|
|
<span style="color: var(--accent);">{{ ruCheck }}</span>
|
|
</button>
|
|
<button type="button" onClick="{{ setEn }}" style="display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: {{ enBg }}; color: var(--ink); font-family: inherit; font-size: 14px; text-align: left; cursor: pointer;">
|
|
<span>English</span>
|
|
<span style="color: var(--accent);">{{ enCheck }}</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<a href="App.dc.html" hidden="{{ navOff }}" style="display: flex; align-items: center; justify-content: center; height: 38px; width: 78px; flex: none; box-sizing: border-box; border-radius: 10px; color: var(--ink-2); font-size: 15px;" style-hover="color: var(--ink); background: var(--surface-2);">Войти</a>
|
|
<a href="#prices" hidden="{{ navOff }}" style="display: flex; align-items: center; justify-content: center; height: 38px; width: 142px; flex: none; box-sizing: border-box; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 500; box-shadow: 0 6px 18px -8px var(--accent);" style-hover="background: var(--accent-hover); color: var(--on-accent);">Получить VPN</a>
|
|
<button type="button" hidden="{{ burgerOff }}" onClick="{{ toggleMenu }}" title="Меню" style="display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
|
<span style="width: 18px; height: 2px; border-radius: 2px; background: currentColor; display: block;"></span>
|
|
<span style="width: 18px; height: 2px; border-radius: 2px; background: currentColor; display: block;"></span>
|
|
<span style="width: 18px; height: 2px; border-radius: 2px; background: currentColor; display: block;"></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div hidden="{{ menuOff }}" style="position: absolute; left: 0; right: 0; top: 100%; z-index: 45; padding: 10px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 2px;">
|
|
<a href="Price.dc.html" onClick="{{ closeMenu }}" style="padding: 13px 6px; font-size: 17px; color: var(--ink);">Цены</a>
|
|
<a href="Locations.dc.html" onClick="{{ closeMenu }}" style="padding: 13px 6px; font-size: 17px; color: var(--ink);">Локации</a>
|
|
<a href="Support.dc.html" onClick="{{ closeMenu }}" style="padding: 13px 6px; font-size: 17px; color: var(--ink);">Поддержка</a>
|
|
<div style="display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; margin-top: 6px; border-top: 1px solid var(--border);">
|
|
<a href="App.dc.html" onClick="{{ closeMenu }}" style="padding: 13px 6px; font-size: 17px; color: var(--ink);">Войти</a>
|
|
<div style="display: flex; gap: 6px; flex: none;">
|
|
<button type="button" onClick="{{ setRu }}" style="padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; background: {{ ruBg }}; color: var(--ink); font-family: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;">Русский</button>
|
|
<button type="button" onClick="{{ setEn }}" style="padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; background: {{ enBg }}; color: var(--ink); font-family: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;">English</button>
|
|
</div>
|
|
</div>
|
|
<a href="#prices" onClick="{{ closeMenu }}" style="display: flex; align-items: center; justify-content: center; height: 50px; margin-top: 12px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 500;">Получить VPN</a>
|
|
</div>
|
|
</header>
|
|
|
|
<main id="top" style="max-width: 1200px; margin: 0 auto; padding: 0 24px;">
|
|
|
|
<section style="position: relative; min-height: 62vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center; padding: clamp(32px, 7vw, 72px) 0 clamp(28px, 7vw, 84px);">
|
|
<div>
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px;">
|
|
<div style="display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--ink-2);">
|
|
<span style="width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: block;"></span>
|
|
Персональный сервер, не общий
|
|
</div>
|
|
<div style="display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 500;">Работаем с 2022 года</div>
|
|
</div>
|
|
<h1 style="margin: 0 0 22px; font-size: clamp(40px, 5.2vw, 62px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance;">Ваш личный VPN с индивидуальным IP</h1>
|
|
<p style="margin: 0 0 34px; max-width: 30em; font-size: 18px; line-height: 1.55; color: var(--ink-2); font-weight: 300; text-wrap: pretty;">Адрес принадлежит только вам: один и тот же IP на всех устройствах, в любой стране. Без соседей по серверу и их репутации.</p>
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: clamp(8px, 2vw, 12px);">
|
|
<a href="#prices" style="display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 clamp(14px, 4vw, 24px); border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 500; box-shadow: 0 10px 28px -12px var(--accent);" style-hover="background: var(--accent-hover); color: var(--on-accent);">Получить VPN</a>
|
|
<a href="#locations" style="display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 clamp(14px, 4vw, 22px); border-radius: 12px; border: 1px solid var(--border); color: var(--ink); font-size: 16px; white-space: nowrap;" style-hover="border-color: var(--ink-3); color: var(--ink);">Посмотреть локации</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; justify-self: {{ heroAlign }}; border-radius: 28px; overflow: hidden; isolation: isolate; -webkit-transform: translateZ(0); transform: translateZ(0); background: var(--surface-2); border: 1px solid var(--border);">
|
|
<div style="position: absolute; left: -12%; top: -8%; width: 78%; height: 78%; border-radius: 50%; background: var(--glow-1); filter: blur(46px); opacity: 0.85; animation: veilDrift 16s ease-in-out infinite;"></div>
|
|
<div style="position: absolute; right: -14%; top: 14%; width: 70%; height: 70%; border-radius: 50%; background: var(--glow-3); filter: blur(52px); opacity: 0.75; animation: veilDrift2 19s ease-in-out infinite;"></div>
|
|
<div style="position: absolute; left: 16%; bottom: -16%; width: 82%; height: 68%; border-radius: 50%; background: var(--glow-2); filter: blur(54px); opacity: 0.8; animation: veilDrift 23s ease-in-out infinite;"></div>
|
|
<div id="veilix-globe" style="position: absolute; left: 8%; top: 8%; width: 84%; height: 84%;"></div>
|
|
<div style="position: absolute; left: 8%; top: 30%; right: 8%; height: 26%; border-radius: 18px; background: color-mix(in oklab, var(--veil) 72%, transparent); border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: rotate(-8deg);"></div>
|
|
<div style="position: absolute; left: 12%; top: 46%; right: 4%; height: 24%; border-radius: 18px; background: color-mix(in oklab, var(--veil) 72%, transparent); border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); transform: rotate(6deg);"></div>
|
|
<div style="position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 10px; padding: 14px 16px; border-radius: 16px; background: color-mix(in oklab, var(--surface) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border);">
|
|
<div style="display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2);">
|
|
<span style="width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: block; flex: none;"></span>
|
|
Ваш IP закреплён только за вами
|
|
</div>
|
|
<div style="display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums;">
|
|
<span>4 900 ₽ первый месяц, далее 2 499 ₽</span>
|
|
<span>До 5 устройств</span>
|
|
<span>RU-адрес в комплекте</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="advantages" style="padding: 16px 0 8px;">
|
|
<div style="display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px;">
|
|
<h2 style="margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em;">Что это даёт на практике</h2>
|
|
</div>
|
|
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;">
|
|
<div style="position: relative; isolation: isolate; padding: clamp(20px, 5vw, 32px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
|
<div style="position: absolute; inset: 0; border-radius: 22px; overflow: hidden; pointer-events: none; -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black);">
|
|
<div style="position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--glow-1); filter: blur(60px); opacity: 0.5;"></div>
|
|
</div>
|
|
<div style="position: relative;">
|
|
<div style="display: flex; align-items: center; gap: 12px; margin-bottom: 18px;">
|
|
<span style="position: relative; width: 34px; height: 34px; flex: none; display: block;">
|
|
<span style="position: absolute; left: 11px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: block;"></span>
|
|
<span style="position: absolute; left: 4px; top: 19px; width: 26px; height: 14px; border-radius: 13px 13px 4px 4px; background: var(--accent); opacity: 0.35; display: block;"></span>
|
|
<span style="position: absolute; left: 23px; top: 18px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); display: block;"></span>
|
|
</span>
|
|
<h3 style="margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.025em;">Индивидуальный IP</h3>
|
|
</div>
|
|
<p style="margin: 0 0 26px; max-width: 34em; font-size: 16px; line-height: 1.55; color: var(--ink-2); font-weight: 300;">Адрес выделен под вас одного. Сервисы видят обычного человека из выбранной страны, а не сотню людей за одним адресом.</p>
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 28px;">
|
|
<div>
|
|
<div style="font-size: 15px; font-weight: 500; margin-bottom: 6px;">Западные AI-сервисы</div>
|
|
<div style="font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Риск блокировки ниже, чем у публичных VPN: их адреса уже давно в чёрных списках.</div>
|
|
</div>
|
|
<div>
|
|
<div style="font-size: 15px; font-weight: 500; margin-bottom: 6px;">Один адрес на всех устройствах</div>
|
|
<div style="font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Ноутбук, телефон, планшет выглядят одинаково. Вы всегда в одной локации со своим IP.</div>
|
|
</div>
|
|
<div>
|
|
<div style="font-size: 15px; font-weight: 500; margin-bottom: 6px;">Меньше проверок и капч</div>
|
|
<div style="font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">На массовых адресах срабатывает антибот-защита. На личном сервисы работают стабильнее.</div>
|
|
</div>
|
|
<div>
|
|
<div style="font-size: 15px; font-weight: 500; margin-bottom: 6px;">Трафик под шифрованием</div>
|
|
<div style="font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Дома, в отеле или в кафе соединение защищено в любой точке мира.</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display: grid; gap: 16px; align-content: start;">
|
|
<div style="padding: clamp(20px, 4.6vw, 26px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
|
<div style="display: flex; gap: 4px; margin-bottom: 16px;">
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: var(--accent); display: block;"></span>
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 75%, transparent); display: block;"></span>
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 55%, transparent); display: block;"></span>
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 35%, transparent); display: block;"></span>
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 18%, transparent); display: block;"></span>
|
|
</div>
|
|
<h3 style="margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;">До 5 устройств в тарифе</h3>
|
|
<p style="margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Нужно больше или другая страна — добавляете второй тариф со своим отдельным IP.</p>
|
|
</div>
|
|
|
|
<div style="padding: clamp(20px, 4.6vw, 26px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
|
<div style="display: flex; align-items: center; gap: 8px; margin-bottom: 16px;">
|
|
<span style="width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: block;"></span>
|
|
<span style="width: 26px; height: 2px; background: color-mix(in oklab, var(--accent) 40%, transparent); display: block;"></span>
|
|
<span style="width: 22px; height: 22px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--accent) 55%, transparent); display: block;"></span>
|
|
</div>
|
|
<h3 style="margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;">Плюс выделенный RU-адрес</h3>
|
|
<p style="margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Идёт к любому тарифу. Работает и как прямое соединение, и как мост в обе стороны.</p>
|
|
</div>
|
|
|
|
<div style="padding: clamp(20px, 4.6vw, 26px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
|
<div style="display: flex; align-items: center; gap: 6px; margin-bottom: 16px;">
|
|
<span style="width: 22px; height: 22px; border-radius: 7px; background: var(--accent); transform: rotate(45deg); display: block;"></span>
|
|
<span style="width: 22px; height: 22px; border-radius: 7px; background: var(--veil); border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); transform: rotate(45deg); display: block;"></span>
|
|
</div>
|
|
<h3 style="margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;">Два типа подключения</h3>
|
|
<p style="margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Если один способ перестал работать, второй уже настроен. Список дополняется и обновляется.</p>
|
|
<div style="display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums;">
|
|
<span style="padding: 4px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border);">WireGuard / Amnezia WG</span>
|
|
<span style="padding: 4px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border);">Xray: VLESS, Hysteria2, XHTTP</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="margin-top: 16px; padding: clamp(20px, 5vw, 32px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
|
<h3 style="margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.025em;">Трафик идёт коротким путём</h3>
|
|
<p style="margin: 0 0 28px; max-width: 46em; font-size: 16px; line-height: 1.55; color: var(--ink-2); font-weight: 300;">Маршрут выбирается сам, по адресу сайта. Российские сервисы не ломаются, зарубежные открываются, переключать ничего не нужно.</p>
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px;">
|
|
<div style="padding: 22px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border);">
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 16px;">Вы в России</div>
|
|
<div style="display: grid; gap: 12px;">
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px;">
|
|
<span style="flex: none; width: 72px; color: var(--ink-2); font-weight: 500;">RU-сайты</span>
|
|
<span style="flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 25%, transparent)); display: block;"></span>
|
|
<span style="flex: none; color: var(--ink-2);">напрямую через RU-сервер</span>
|
|
</div>
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px;">
|
|
<span style="flex: none; width: 72px; color: var(--ink-2); font-weight: 500;">Остальной мир</span>
|
|
<span style="flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); display: block;"></span>
|
|
<span style="flex: none; color: var(--ink-2);">туннелем в вашу локацию</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="padding: 22px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border);">
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 16px;">Вы за границей</div>
|
|
<div style="display: grid; gap: 12px;">
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px;">
|
|
<span style="flex: none; width: 72px; color: var(--ink-2); font-weight: 500;">Мировые сайты</span>
|
|
<span style="flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 25%, transparent)); display: block;"></span>
|
|
<span style="flex: none; color: var(--ink-2);">прямо из вашей локации</span>
|
|
</div>
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px;">
|
|
<span style="flex: none; width: 72px; color: var(--ink-2); font-weight: 500;">RU-сайты</span>
|
|
<span style="flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); display: block;"></span>
|
|
<span style="flex: none; color: var(--ink-2);">туннелем через RU-сервер</span>
|
|
</div>
|
|
</div>
|
|
<div style="margin-top: 16px; font-size: 13px; color: var(--ink-3);">Для тех, кто работает с Россией из другой страны.</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="prices" style="padding: 72px 0 8px;">
|
|
<div style="position: relative; overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black); -webkit-transform: translateZ(0); transform: translateZ(0); border-radius: 26px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);">
|
|
<div style="position: absolute; left: min(-60px, calc(-110px + 8vw)); bottom: min(-120px, calc(-170px + 10vw)); width: clamp(150px, 34vw, 340px); height: clamp(150px, 34vw, 340px); border-radius: 50%; background: radial-gradient(circle at 60% 40%, var(--glow-1) 0%, color-mix(in oklab, var(--glow-1) 35%, transparent) 55%, transparent 78%); filter: blur(70px); opacity: 0.45;"></div>
|
|
<div style="position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 5vw, 40px); padding: clamp(20px, 5vw, 40px);">
|
|
<div>
|
|
<div style="display: flex; align-items: baseline; gap: 10px; white-space: nowrap;">
|
|
<span style="font-size: clamp(34px, 8vw, 68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums;">{{ curSetup }}</span>
|
|
<span style="font-size: clamp(14px, 3.6vw, 16px); color: var(--ink-2);">первый месяц</span>
|
|
</div>
|
|
<div style="margin-top: 10px; font-size: clamp(15px, 3.8vw, 17px); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums;">далее <span>{{ curMonth }}</span> в месяц</div>
|
|
<div style="margin-top: 24px; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 300;">
|
|
<div style="display: flex; gap: 10px;"><span style="color: var(--accent);">—</span>Индивидуальный IP в выбранной стране</div>
|
|
<div style="display: flex; gap: 10px;"><span style="color: var(--accent);">—</span>Выделенный RU-адрес в комплекте</div>
|
|
<div style="display: flex; gap: 10px;"><span style="color: var(--accent);">—</span>До 5 устройств</div>
|
|
<div style="display: flex; gap: 10px;"><span style="color: var(--accent);">—</span><span style="display: grid; gap: 5px;"><span>2 типа подключения:</span><span style="display: flex; gap: 8px; color: var(--ink-2);"><span style="flex: none;">—</span><span>WireGuard / Amnezia WG</span></span><span style="display: flex; gap: 8px; color: var(--ink-2);"><span style="flex: none;">—</span><span>Xray: VLESS, Hysteria2, XHTTP</span></span></span></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="locations">
|
|
<div style="display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px;">
|
|
<div style="font-size: 15px; font-weight: 500;">Выберите локацию</div>
|
|
<div style="font-size: 13px; color: var(--ink-3);">{{ locHint }}</div>
|
|
</div>
|
|
<div style="display: grid; gap: 8px; max-height: 420px; overflow-y: auto; padding-right: 4px;">
|
|
<sc-for list="{{ items }}" as="loc" hint-placeholder-count="8">
|
|
<div role="button" tabindex="0" onClick="{{ loc.pick }}" style="display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid {{ loc.border }}; background: {{ loc.bg }}; color: var(--ink); font-size: 15px; cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
|
{{ loc.flag }}
|
|
<span style="flex: 1; min-width: 110px; display: grid; gap: 2px;">
|
|
<span>{{ loc.country }}</span>
|
|
<span style="font-size: 13px; color: var(--ink-3);">{{ loc.city }}</span>
|
|
</span>
|
|
<span style="display: grid; gap: 2px; text-align: right; font-variant-numeric: tabular-nums;">
|
|
<span style="font-size: 15px; font-weight: 500;">{{ loc.setup }}</span>
|
|
<span style="font-size: 13px; color: var(--ink-3);">далее <span>{{ loc.month }}</span></span>
|
|
</span>
|
|
</div>
|
|
</sc-for>
|
|
</div>
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px;">
|
|
<a href="Order.dc.html" style="display: flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 500; box-shadow: 0 10px 28px -12px var(--accent);" style-hover="background: var(--accent-hover); color: var(--on-accent);">Купить</a>
|
|
<button type="button" onClick="{{ openLead }}" hidden="{{ leadOpen }}" style="display: flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--border); background: transparent; color: var(--ink); font-family: inherit; font-size: 15px; cursor: pointer;" style-hover="border-color: var(--ink-3);">Нужны индивидуальные условия</button>
|
|
</div>
|
|
<div id="lead" hidden="{{ leadClosed }}" style="display: grid; gap: 10px; max-width: 460px; margin-top: 20px; scroll-margin-top: 90px;">
|
|
<div style="font-size: 15px; font-weight: 500;">Нужны индивидуальные условия</div>
|
|
<input type="text" placeholder="Имя" style="height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); font-family: inherit; font-size: 15px; width: 100%;" />
|
|
<input type="email" placeholder="Email" style="height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); font-family: inherit; font-size: 15px; width: 100%;" />
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;">
|
|
<input type="text" placeholder="Telegram" style="height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); font-family: inherit; font-size: 15px; width: 100%;" />
|
|
<input type="text" placeholder="WhatsApp" style="height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); font-family: inherit; font-size: 15px; width: 100%;" />
|
|
</div>
|
|
<textarea rows="3" placeholder="Коротко о задаче" style="padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); font-family: inherit; font-size: 15px; resize: vertical; width: 100%;"></textarea>
|
|
<button type="button" onClick="{{ sendLead }}" style="display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--accent); color: var(--on-accent); font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer;" style-hover="background: var(--accent-hover);">{{ leadButton }}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="faq" style="padding: 72px 0 32px;">
|
|
<h2 style="margin: 0 0 28px; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em;">Вопросы</h2>
|
|
<div style="display: grid; gap: 10px; max-width: 860px;">
|
|
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
|
<button type="button" onClick="{{ faq0 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
|
<span style="flex: 1;">Чем это отличается от обычного VPN за 300 рублей?</span>
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq0Rot }}; transition: transform 180ms ease; display: block;"></span>
|
|
</button>
|
|
<div hidden="{{ faq0Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">В массовом VPN ваш адрес делят сотни людей. Если кто-то из них попал в чёрный список, ограничения касаются всех. У вас адрес один и только ваш, поэтому сервисы относятся к нему как к домашнему интернету.</div>
|
|
</div>
|
|
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
|
<button type="button" onClick="{{ faq1 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
|
<span style="flex: 1;">Почему некоторые локации готовы только через 24 часа?</span>
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq1Rot }}; transition: transform 180ms ease; display: block;"></span>
|
|
</button>
|
|
<div hidden="{{ faq1Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">Мы не держим пул общих адресов. Если в нужной стране свободных серверов нет, мы устанавливаем сервер лично под вас и выдаём доступ в течение суток. Оплата за первый месяц начинается с момента выдачи.</div>
|
|
</div>
|
|
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
|
<button type="button" onClick="{{ faq2 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
|
<span style="flex: 1;">Нужно ли что-то настраивать самому?</span>
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq2Rot }}; transition: transform 180ms ease; display: block;"></span>
|
|
</button>
|
|
<div hidden="{{ faq2Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">Нет. В личном кабинете вы скачиваете готовый файл или сканируете QR-код с телефона. Маршрутизация уже настроена: российские сайты идут напрямую, зарубежные — через ваш сервер.</div>
|
|
</div>
|
|
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
|
<button type="button" onClick="{{ faq3 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
|
<span style="flex: 1;">Сколько устройств можно подключить?</span>
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq3Rot }}; transition: transform 180ms ease; display: block;"></span>
|
|
</button>
|
|
<div hidden="{{ faq3Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">До пяти на один тариф, все с одним и тем же адресом. Нужно больше устройств или вторая страна — берёте дополнительный тариф с отдельным индивидуальным IP.</div>
|
|
</div>
|
|
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
|
<button type="button" onClick="{{ faq4 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
|
<span style="flex: 1;">Зачем мне ещё и российский адрес?</span>
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq4Rot }}; transition: transform 180ms ease; display: block;"></span>
|
|
</button>
|
|
<div hidden="{{ faq4Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">Он работает в обе стороны. Из России — чтобы банки, госуслуги и стриминг видели обычное местное подключение. Из другой страны — чтобы те же сервисы открывались так, будто вы дома.</div>
|
|
</div>
|
|
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
|
<button type="button" onClick="{{ faq5 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
|
<span style="flex: 1;">Что будет, если способ подключения перестанет работать?</span>
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq5Rot }}; transition: transform 180ms ease; display: block;"></span>
|
|
</button>
|
|
<div hidden="{{ faq5Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">На вашем сервере одновременно работают два типа подключения. Если один способ начал блокироваться, вы переключаетесь на второй в том же кабинете. Набор протоколов мы дополняем и обновляем.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section hidden="{{ logoPickerOff }}" style="padding: 40px 0 24px; border-top: 1px dashed var(--border);">
|
|
<div style="display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px;">
|
|
<h2 style="margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em;">Варианты знака</h2>
|
|
<span style="font-size: 13px; color: var(--ink-3);">Нажмите, чтобы примерить в шапке</span>
|
|
</div>
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px;">
|
|
<button type="button" onClick="{{ pickMark1 }}" style="display: grid; gap: 14px; justify-items: start; padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: {{ mark1Bg }}; color: var(--ink); font-family: inherit; text-align: left; cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
|
<span style="position: relative; width: 40px; height: 40px; display: block;">
|
|
<span style="position: absolute; left: 0; top: 4px; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(140deg, var(--accent), color-mix(in oklab, var(--accent) 55%, var(--glow-3))); display: block;"></span>
|
|
<span style="position: absolute; right: 0; bottom: 4px; width: 30px; height: 30px; border-radius: 10px; background: var(--veil); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); backdrop-filter: blur(3px); display: block;"></span>
|
|
</span>
|
|
<span style="font-size: 14px; font-weight: 500;">Слои</span>
|
|
<span style="font-size: 13px; color: var(--ink-3); line-height: 1.4;">Одно скрыто за другим</span>
|
|
</button>
|
|
<button type="button" onClick="{{ pickMark2 }}" style="display: grid; gap: 14px; justify-items: start; padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: {{ mark2Bg }}; color: var(--ink); font-family: inherit; text-align: left; cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
|
<span style="position: relative; width: 40px; height: 40px; display: block; overflow: hidden;">
|
|
<span style="position: absolute; left: 3px; top: 3px; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), color-mix(in oklab, var(--accent) 50%, var(--glow-2))); display: block;"></span>
|
|
<span style="position: absolute; left: -8px; top: 19px; width: 56px; height: 26px; border-radius: 14px 14px 6px 6px; background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(4px); transform: rotate(-14deg); display: block;"></span>
|
|
</span>
|
|
<span style="font-size: 14px; font-weight: 500;">Вуаль</span>
|
|
<span style="font-size: 13px; color: var(--ink-3); line-height: 1.4;">Полупрозрачная ткань поверх</span>
|
|
</button>
|
|
<button type="button" onClick="{{ pickMark3 }}" style="display: grid; gap: 14px; justify-items: start; padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: {{ mark3Bg }}; color: var(--ink); font-family: inherit; text-align: left; cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
|
<span style="position: relative; width: 40px; height: 40px; display: block;">
|
|
<span style="position: absolute; left: 1px; top: 1px; width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--accent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(-30deg); display: block;"></span>
|
|
<span style="position: absolute; left: 10px; top: 10px; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid color-mix(in oklab, var(--accent) 45%, transparent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(20deg); display: block;"></span>
|
|
</span>
|
|
<span style="font-size: 14px; font-weight: 500;">Дуги</span>
|
|
<span style="font-size: 13px; color: var(--ink-3); line-height: 1.4;">Складка, лёгкий жест</span>
|
|
</button>
|
|
<button type="button" onClick="{{ pickMark4 }}" style="display: grid; gap: 14px; justify-items: start; padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: {{ mark4Bg }}; color: var(--ink); font-family: inherit; text-align: left; cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
|
<span style="position: relative; width: 40px; height: 40px; display: block;">
|
|
<span style="position: absolute; left: 6px; top: 6px; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 45%, var(--glow-1))); transform: rotate(45deg); display: block;"></span>
|
|
<span style="position: absolute; left: 13px; top: 13px; width: 14px; height: 14px; border-radius: 4px; background: color-mix(in oklab, var(--bg) 85%, transparent); transform: rotate(45deg); display: block;"></span>
|
|
</span>
|
|
<span style="font-size: 14px; font-weight: 500;">Диафрагма</span>
|
|
<span style="font-size: 13px; color: var(--ink-3); line-height: 1.4;">Проём, через который видно</span>
|
|
</button>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer style="margin-top: 40px; border-top: 1px solid var(--border); background: var(--surface-2);">
|
|
<div style="max-width: 1200px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 24px) 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;">
|
|
<div>
|
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 14px;">
|
|
<span style="position: relative; width: 24px; height: 24px; display: block; flex: none;">
|
|
<span hidden="{{ mark1Off }}" style="position: absolute; inset: 0;">
|
|
<span style="position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(140deg, var(--accent), color-mix(in oklab, var(--accent) 55%, var(--glow-3))); display: block;"></span>
|
|
<span style="position: absolute; right: 0; bottom: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--veil); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); display: block;"></span>
|
|
</span>
|
|
<span hidden="{{ mark2Off }}" style="position: absolute; inset: 0; overflow: hidden;">
|
|
<span style="position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), color-mix(in oklab, var(--accent) 50%, var(--glow-2))); display: block;"></span>
|
|
<span style="position: absolute; left: -5px; top: 11px; width: 34px; height: 15px; border-radius: 9px 9px 4px 4px; background: color-mix(in oklab, var(--surface-2) 72%, transparent); backdrop-filter: blur(3px); transform: rotate(-14deg); display: block;"></span>
|
|
</span>
|
|
<span hidden="{{ mark3Off }}" style="position: absolute; inset: 0;">
|
|
<span style="position: absolute; left: 1px; top: 1px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(-30deg); display: block;"></span>
|
|
<span style="position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--accent) 45%, transparent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(20deg); display: block;"></span>
|
|
</span>
|
|
<span hidden="{{ mark4Off }}" style="position: absolute; inset: 0;">
|
|
<span style="position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 45%, var(--glow-1))); transform: rotate(45deg); display: block;"></span>
|
|
<span style="position: absolute; left: 8px; top: 8px; width: 8px; height: 8px; border-radius: 3px; background: color-mix(in oklab, var(--surface-2) 85%, transparent); transform: rotate(45deg); display: block;"></span>
|
|
</span>
|
|
</span>
|
|
<span style="font-family: 'Unbounded', 'Commissioner', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.02em;">Вейликс</span>
|
|
</div>
|
|
<p style="margin: 0 0 20px; max-width: 26em; font-size: 14px; line-height: 1.55; color: var(--ink-3); font-weight: 300;">Персональные VPN-серверы с индивидуальным IP. Работаем с 2022 года.</p>
|
|
<div style="display: flex; flex-wrap: wrap; gap: 6px;">
|
|
<span style="display: flex; align-items: center; justify-content: center; width: 60px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);">VISA</span>
|
|
<span style="display: flex; align-items: center; justify-content: center; width: 60px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);">MC</span>
|
|
<span style="display: flex; align-items: center; justify-content: center; width: 60px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);">МИР</span>
|
|
<span style="display: flex; align-items: center; justify-content: center; width: 60px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);">CRYPTO</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 24px 32px; align-content: start;">
|
|
<div style="display: grid; gap: 10px; align-content: start; font-size: 14px;">
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 2px;">Сервис</div>
|
|
<a href="Price.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Цены</a>
|
|
<a href="Locations.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Локации</a>
|
|
<a href="Support.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Поддержка</a>
|
|
</div>
|
|
|
|
<div style="display: grid; gap: 10px; align-content: start; font-size: 14px;">
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 2px;">Документы</div>
|
|
<a href="#top" style="color: var(--ink-2);" style-hover="color: var(--ink);">Условия использования</a>
|
|
<a href="#top" style="color: var(--ink-2);" style-hover="color: var(--ink);">Политика конфиденциальности</a>
|
|
<a href="#top" style="color: var(--ink-2);" style-hover="color: var(--ink);">Возврат средств</a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div style="max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px) 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;">
|
|
<div style="font-size: 13px; color: var(--ink-3);">© 2026 Вейликс</div>
|
|
<div style="display: flex; align-items: center; gap: 8px;">
|
|
<div style="display: flex; padding: 2px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); flex: none;">
|
|
<button type="button" onClick="{{ setLight }}" title="Светлая тема" style="display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: {{ lightBg }}; color: {{ lightInk }}; cursor: pointer;"><span style="position: relative; width: 14px; height: 14px; display: block;"><span style="position: absolute; left: 3px; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: block;"></span><span style="position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0.45; display: block;"></span></span></button>
|
|
<button type="button" onClick="{{ setDark }}" title="Тёмная тема" style="display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: {{ darkBg }}; color: {{ darkInk }}; cursor: pointer;"><span style="width: 14px; height: 14px; border-radius: 50%; box-shadow: inset -5px -1.5px 0 0 currentColor; display: block;"></span></button>
|
|
<button type="button" onClick="{{ setSystem }}" title="Как в системе" style="display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: {{ systemBg }}; color: {{ systemInk }}; cursor: pointer;"><span style="width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); display: block;"></span></button>
|
|
</div>
|
|
<div style="display: flex; padding: 2px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); flex: none;">
|
|
<button type="button" onClick="{{ setRu }}" style="padding: 0 10px; height: 28px; border: 0; border-radius: 7px; background: {{ ruBg }}; color: {{ ruInk }}; font-family: inherit; font-size: 12px; cursor: pointer;">RU</button>
|
|
<button type="button" onClick="{{ setEn }}" style="padding: 0 10px; height: 28px; border: 0; border-radius: 7px; background: {{ enBg }}; color: {{ enInk }}; font-family: inherit; font-size: 12px; cursor: pointer;">EN</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</x-dc>
|
|
<script type="text/x-dc" data-dc-script data-props="{"defaultTheme":{"editor":"enum","options":["light","dark","system"],"default":"light","tsType":"'light' | 'dark' | 'system'","section":"Тема"},"logoMark":{"editor":"enum","options":["layers","veil","arcs","aperture"],"default":"layers","tsType":"string","section":"Логотип"},"showLogoPicker":{"editor":"boolean","default":false,"tsType":"boolean","section":"Логотип"}}">
|
|
class Component extends DCLogic {
|
|
state = { theme: null, sysDark: false, loc: 0, faq: 0, mark: null, langMenu: false, lang: "ru", narrow: false, stacked: false, menu: false, lead: false, leadSent: false };
|
|
|
|
data() {
|
|
const base = { setup: "4 900 ₽", month: "2 499 ₽" };
|
|
const rare = { setup: "6 900 ₽", month: "3 499 ₽" };
|
|
const far = { setup: "9 900 ₽", month: "4 999 ₽" };
|
|
const L = (country, city, code, lng, lat, ready, tier) => ({ country, city, code, lng, lat, ready, setup: tier.setup, month: tier.month, rare: tier !== base });
|
|
return [
|
|
L("Нидерланды", "Амстердам", "nl", 4.9, 52.37, true, base),
|
|
L("Германия", "Франкфурт", "de", 8.68, 50.11, true, base),
|
|
L("США", "Нью-Йорк", "us", -74.01, 40.71, true, base),
|
|
L("Великобритания", "Лондон", "gb", -0.13, 51.51, true, base),
|
|
L("Франция", "Париж", "fr", 2.35, 48.86, true, base),
|
|
L("Финляндия", "Хельсинки", "fi", 24.94, 60.17, true, base),
|
|
L("Швеция", "Стокгольм", "se", 18.07, 59.33, true, base),
|
|
L("Норвегия", "Осло", "no", 10.75, 59.91, false, base),
|
|
L("Дания", "Копенгаген", "dk", 12.57, 55.68, false, base),
|
|
L("Швейцария", "Цюрих", "ch", 8.54, 47.37, true, rare),
|
|
L("Австрия", "Вена", "at", 16.37, 48.21, true, base),
|
|
L("Испания", "Мадрид", "es", -3.7, 40.42, true, base),
|
|
L("Италия", "Милан", "it", 9.19, 45.46, true, base),
|
|
L("Польша", "Варшава", "pl", 21.01, 52.23, true, base),
|
|
L("Чехия", "Прага", "cz", 14.44, 50.08, true, base),
|
|
L("Румыния", "Бухарест", "ro", 26.1, 44.43, false, base),
|
|
L("Литва", "Вильнюс", "lt", 25.28, 54.69, true, base),
|
|
L("Латвия", "Рига", "lv", 24.11, 56.95, true, base),
|
|
L("Эстония", "Таллин", "ee", 24.75, 59.44, false, base),
|
|
L("Турция", "Стамбул", "tr", 28.98, 41.01, true, base),
|
|
L("Казахстан", "Алматы", "kz", 76.89, 43.24, false, base),
|
|
L("Армения", "Ереван", "am", 44.51, 40.18, false, base),
|
|
L("Грузия", "Тбилиси", "ge", 44.8, 41.72, false, base),
|
|
L("ОАЭ", "Дубай", "ae", 55.27, 25.2, true, rare),
|
|
L("Сингапур", "Сингапур", "sg", 103.82, 1.35, true, rare),
|
|
L("Япония", "Токио", "jp", 139.69, 35.69, true, rare),
|
|
L("Южная Корея", "Сеул", "kr", 126.98, 37.57, false, rare),
|
|
L("Канада", "Торонто", "ca", -79.38, 43.65, true, base),
|
|
L("Австралия", "Сидней", "au", 151.21, -33.87, false, far),
|
|
L("Бразилия", "Сан-Паулу", "br", -46.63, -23.55, false, far)
|
|
];
|
|
}
|
|
|
|
flagSpecs() {
|
|
return {
|
|
nl: { rows: ["#AE1C28", "#FFFFFF", "#21468B"] },
|
|
de: { rows: ["#000000", "#DD0000", "#FFCE00"] },
|
|
us: { rows: ["#B22234", "#FFFFFF", "#B22234", "#FFFFFF", "#B22234", "#FFFFFF"], marks: [{ l: 0, t: 0, w: 22, h: 17, bg: "#3C3B6E" }] },
|
|
gb: { bg: "#012169", marks: [{ l: 17, t: 0, w: 12, h: 32, bg: "#FFFFFF" }, { l: 0, t: 10, w: 46, h: 12, bg: "#FFFFFF" }, { l: 20, t: 0, w: 6, h: 32, bg: "#C8102E" }, { l: 0, t: 13, w: 46, h: 6, bg: "#C8102E" }] },
|
|
fr: { cols: ["#002395", "#FFFFFF", "#ED2939"] },
|
|
fi: { bg: "#FFFFFF", marks: [{ l: 13, t: 0, w: 8, h: 32, bg: "#003580" }, { l: 0, t: 12, w: 46, h: 8, bg: "#003580" }] },
|
|
se: { bg: "#006AA7", marks: [{ l: 13, t: 0, w: 6, h: 32, bg: "#FECC00" }, { l: 0, t: 13, w: 46, h: 6, bg: "#FECC00" }] },
|
|
no: { bg: "#BA0C2F", marks: [{ l: 12, t: 0, w: 10, h: 32, bg: "#FFFFFF" }, { l: 0, t: 11, w: 46, h: 10, bg: "#FFFFFF" }, { l: 15, t: 0, w: 4, h: 32, bg: "#00205B" }, { l: 0, t: 14, w: 46, h: 4, bg: "#00205B" }] },
|
|
dk: { bg: "#C8102E", marks: [{ l: 13, t: 0, w: 6, h: 32, bg: "#FFFFFF" }, { l: 0, t: 13, w: 46, h: 6, bg: "#FFFFFF" }] },
|
|
ch: { bg: "#D52B1E", marks: [{ l: 20, t: 8, w: 6, h: 16, bg: "#FFFFFF" }, { l: 15, t: 13, w: 16, h: 6, bg: "#FFFFFF" }] },
|
|
at: { rows: ["#ED2939", "#FFFFFF", "#ED2939"] },
|
|
es: { rows: ["#AA151B", "#F1BF00", "#AA151B"], sizes: "1fr 2fr 1fr" },
|
|
it: { cols: ["#008C45", "#F4F5F0", "#CD212A"] },
|
|
pl: { rows: ["#FFFFFF", "#DC143C"] },
|
|
cz: { rows: ["#FFFFFF", "#D7141A"], marks: [{ l: 0, t: 0, w: 18, h: 32, bg: "#11457E", clip: "polygon(0 0, 100% 50%, 0 100%)" }] },
|
|
ro: { cols: ["#002B7F", "#FCD116", "#CE1126"] },
|
|
lt: { rows: ["#FDB913", "#006A44", "#C1272D"] },
|
|
lv: { rows: ["#9E3039", "#FFFFFF", "#9E3039"], sizes: "2fr 1fr 2fr" },
|
|
ee: { rows: ["#0072CE", "#000000", "#FFFFFF"] },
|
|
tr: { bg: "#E30A17", marks: [{ l: 11, t: 8, w: 16, h: 16, r: "50%", bg: "#FFFFFF" }, { l: 16, t: 8, w: 16, h: 16, r: "50%", bg: "#E30A17" }] },
|
|
kz: { bg: "#00AFCA", marks: [{ l: 16, t: 8, w: 15, h: 15, r: "50%", bg: "#FEC50C" }] },
|
|
am: { rows: ["#D90012", "#0033A0", "#F2A800"] },
|
|
ge: { bg: "#FFFFFF", marks: [{ l: 20, t: 0, w: 6, h: 32, bg: "#FF0000" }, { l: 0, t: 13, w: 46, h: 6, bg: "#FF0000" }] },
|
|
ae: { rows: ["#00732F", "#FFFFFF", "#000000"], marks: [{ l: 0, t: 0, w: 11, h: 32, bg: "#FF0000" }] },
|
|
sg: { rows: ["#EF3340", "#FFFFFF"], marks: [{ l: 5, t: 3, w: 11, h: 11, r: "50%", bg: "#FFFFFF" }, { l: 9, t: 3, w: 11, h: 11, r: "50%", bg: "#EF3340" }] },
|
|
jp: { bg: "#FFFFFF", marks: [{ l: 16, t: 9, w: 14, h: 14, r: "50%", bg: "#BC002D" }] },
|
|
kr: { bg: "#FFFFFF", marks: [{ l: 16, t: 9, w: 14, h: 14, r: "50%", bg: "#CD2E3A" }, { l: 16, t: 9, w: 14, h: 14, r: "50%", bg: "#0047A0", clip: "polygon(0 50%, 100% 50%, 100% 100%, 0 100%)" }] },
|
|
ca: { cols: ["#D80621", "#FFFFFF", "#D80621"], sizes: "1fr 2fr 1fr", marks: [{ l: 20, t: 9, w: 7, h: 13, bg: "#D80621", clip: "polygon(50% 0, 100% 100%, 0 100%)" }] },
|
|
au: { bg: "#00247D", marks: [{ l: 9, t: 0, w: 4, h: 16, bg: "#FFFFFF" }, { l: 0, t: 6, w: 22, h: 4, bg: "#FFFFFF" }, { l: 30, t: 19, w: 7, h: 7, r: "50%", bg: "#FFFFFF" }] },
|
|
br: { bg: "#009739", marks: [{ l: 9, t: 4, w: 28, h: 24, bg: "#FEDD00", clip: "polygon(50% 0, 100% 50%, 50% 100%, 0 50%)" }, { l: 18, t: 11, w: 10, h: 10, r: "50%", bg: "#012169" }] }
|
|
};
|
|
}
|
|
|
|
flag(code) {
|
|
const h = React.createElement;
|
|
const spec = this.flagSpecs()[code] || {};
|
|
const style = {
|
|
width: "46px", height: "32px", borderRadius: "6px", overflow: "hidden",
|
|
display: "grid", border: "1px solid var(--border)", position: "relative", flex: "none"
|
|
};
|
|
let bands = [];
|
|
if (spec.rows) {
|
|
bands = spec.rows;
|
|
style.gridTemplateRows = spec.sizes || "repeat(" + bands.length + ", 1fr)";
|
|
} else if (spec.cols) {
|
|
bands = spec.cols;
|
|
style.gridAutoFlow = "column";
|
|
style.gridTemplateColumns = spec.sizes || "repeat(" + bands.length + ", 1fr)";
|
|
} else {
|
|
style.background = spec.bg || "var(--surface-2)";
|
|
}
|
|
const kids = bands.map((c, i) => h("span", { key: "b" + i, style: { background: c, display: "block" } }));
|
|
(spec.marks || []).forEach((m, i) => kids.push(h("span", {
|
|
key: "m" + i,
|
|
style: {
|
|
position: "absolute", left: m.l + "px", top: m.t + "px", width: m.w + "px", height: m.h + "px",
|
|
borderRadius: m.r || 0, background: m.bg, clipPath: m.clip || "none", display: "block"
|
|
}
|
|
})));
|
|
return h("span", { style: style }, kids);
|
|
}
|
|
|
|
async drawGlobe() {
|
|
const host = document.getElementById("veilix-globe");
|
|
if (!host) return;
|
|
if (!window.d3 || !window.topojson) { setTimeout(() => this.drawGlobe(), 200); return; }
|
|
const d3 = window.d3;
|
|
let topo;
|
|
try {
|
|
topo = await d3.json("https://cdn.jsdelivr.net/npm/world-atlas@2.0.2/countries-110m.json");
|
|
} catch (e) { return; }
|
|
const land = window.topojson.feature(topo, topo.objects.countries);
|
|
const S = 440, r = S / 2 - 4;
|
|
const projection = d3.geoOrthographic().rotate([-20, -22]).scale(r).translate([S / 2, S / 2]);
|
|
const path = d3.geoPath(projection);
|
|
host.innerHTML = "";
|
|
const svg = d3.select(host).append("svg")
|
|
.attr("viewBox", "0 0 " + S + " " + S)
|
|
.attr("width", "100%").attr("height", "100%")
|
|
.style("display", "block").style("overflow", "visible");
|
|
svg.append("circle").attr("cx", S / 2).attr("cy", S / 2).attr("r", r)
|
|
.attr("fill", "var(--ocean)").attr("stroke", "var(--border)");
|
|
const graticule = d3.geoGraticule10 ? d3.geoGraticule10() : null;
|
|
if (graticule) {
|
|
svg.append("path").datum(graticule).attr("d", path)
|
|
.attr("fill", "none").attr("stroke", "var(--land-line)")
|
|
.attr("stroke-width", 0.5).attr("opacity", 0.5);
|
|
}
|
|
svg.append("g").selectAll("path").data(land.features).join("path")
|
|
.attr("d", path).attr("fill", "var(--land)")
|
|
.attr("stroke", "var(--land-line)").attr("stroke-width", 0.6);
|
|
}
|
|
|
|
componentDidMount() {
|
|
this.drawGlobe();
|
|
const mq = window.matchMedia("(prefers-color-scheme: dark)");
|
|
this.mq = mq;
|
|
this.onSys = () => this.setState({ sysDark: mq.matches });
|
|
mq.addEventListener("change", this.onSys);
|
|
this.onResize = () => {
|
|
const n = window.innerWidth < 900;
|
|
const st = window.innerWidth < 700;
|
|
if (n !== this.state.narrow) this.setState({ narrow: n, menu: false });
|
|
if (st !== this.state.stacked) this.setState({ stacked: st });
|
|
};
|
|
window.addEventListener("resize", this.onResize);
|
|
this.onResize();
|
|
let saved = null;
|
|
try { saved = localStorage.getItem("veilix.theme"); } catch (e) {}
|
|
let savedLang = null;
|
|
try { savedLang = localStorage.getItem("veilix.lang"); } catch (e) {}
|
|
this.setState({ sysDark: mq.matches, theme: saved || this.props.defaultTheme || "light", lang: savedLang || "ru" }, () => this.applyLang());
|
|
}
|
|
|
|
applyLang() {
|
|
const lang = this.state.lang || "ru";
|
|
if (window.VEILIX_APPLY_LANG) window.VEILIX_APPLY_LANG(document.body, lang);
|
|
else setTimeout(() => this.applyLang(), 150);
|
|
}
|
|
|
|
setLang(l) {
|
|
try { localStorage.setItem("veilix.lang", l); } catch (e) {}
|
|
this.setState({ lang: l, langMenu: false }, () => this.applyLang());
|
|
}
|
|
|
|
componentWillUnmount() {
|
|
if (this.mq) this.mq.removeEventListener("change", this.onSys);
|
|
if (this.onResize) window.removeEventListener("resize", this.onResize);
|
|
}
|
|
|
|
componentDidUpdate() { this.apply(); this.applyLang(); }
|
|
|
|
apply() {
|
|
const theme = this.state.theme || this.props.defaultTheme || "light";
|
|
const dark = theme === "dark" || (theme === "system" && this.state.sysDark);
|
|
document.documentElement.setAttribute("data-veilix-theme", dark ? "dark" : "light");
|
|
}
|
|
|
|
setTheme(t) {
|
|
try { localStorage.setItem("veilix.theme", t); } catch (e) {}
|
|
this.setState({ theme: t }, () => this.apply());
|
|
}
|
|
|
|
renderVals() {
|
|
const theme = this.state.theme || this.props.defaultTheme || "light";
|
|
const mark = this.state.mark || this.props.logoMark || "layers";
|
|
const marks = ["layers", "veil", "arcs", "aperture"];
|
|
const sel = "var(--accent-soft)";
|
|
const v = {
|
|
locHint: this.data()[this.state.loc].ready ? "Свободные серверы есть сейчас" : "Сервер установим под вас за 24 часа",
|
|
openLead: () => this.setState({ lead: true }),
|
|
sendLead: () => this.setState({ leadSent: true }),
|
|
leadOpen: this.state.lead,
|
|
leadClosed: !this.state.lead,
|
|
leadButton: this.state.leadSent ? "Заявка отправлена" : "Отправить",
|
|
curSetup: this.data()[this.state.loc].setup,
|
|
curMonth: this.data()[this.state.loc].month,
|
|
items: this.data().map((d, n) => ({
|
|
country: d.country,
|
|
city: d.city,
|
|
flag: this.flag(d.code),
|
|
setup: d.setup,
|
|
month: d.month,
|
|
bg: this.state.loc === n ? sel : "transparent",
|
|
border: this.state.loc === n ? "var(--accent)" : "var(--border)",
|
|
pick: () => this.setState({ loc: n })
|
|
})),
|
|
logoPickerOff: this.props.showLogoPicker !== true,
|
|
langMenuOff: !this.state.langMenu,
|
|
heroAlign: this.state.stacked ? "center" : "end",
|
|
navOff: this.state.narrow,
|
|
burgerOff: !this.state.narrow,
|
|
menuOff: !(this.state.narrow && this.state.menu),
|
|
toggleMenu: () => this.setState(s => ({ menu: !s.menu, langMenu: false })),
|
|
closeMenu: () => this.setState({ menu: false }),
|
|
setRu: () => this.setLang("ru"),
|
|
setEn: () => this.setLang("en"),
|
|
langLabel: this.state.lang === "en" ? "EN" : "RU",
|
|
ruBg: this.state.lang === "en" ? "transparent" : sel,
|
|
enBg: this.state.lang === "en" ? sel : "transparent",
|
|
ruInk: this.state.lang === "en" ? "var(--ink-3)" : "var(--ink)",
|
|
enInk: this.state.lang === "en" ? "var(--ink)" : "var(--ink-3)",
|
|
ruCheck: this.state.lang === "en" ? "" : "✓",
|
|
enCheck: this.state.lang === "en" ? "✓" : "",
|
|
toggleLangMenu: () => this.setState(s => ({ langMenu: !s.langMenu })),
|
|
setLight: () => this.setTheme("light"),
|
|
setDark: () => this.setTheme("dark"),
|
|
setSystem: () => this.setTheme("system"),
|
|
lightBg: theme === "light" ? sel : "transparent",
|
|
darkBg: theme === "dark" ? sel : "transparent",
|
|
systemBg: theme === "system" ? sel : "transparent",
|
|
lightInk: theme === "light" ? "var(--ink)" : "var(--ink-3)",
|
|
darkInk: theme === "dark" ? "var(--ink)" : "var(--ink-3)",
|
|
systemInk: theme === "system" ? "var(--ink)" : "var(--ink-3)"
|
|
};
|
|
for (let i = 0; i < 5; i++) {
|
|
v["loc" + i + "Bg"] = this.state.loc === i ? sel : "transparent";
|
|
v["loc" + i + "Dot"] = this.state.loc === i ? "var(--accent)" : "var(--ink-3)";
|
|
v["pickLoc" + i] = () => this.setState({ loc: i });
|
|
}
|
|
for (let i = 0; i < 6; i++) {
|
|
v["faq" + i] = () => this.setState(s => ({ faq: s.faq === i ? -1 : i }));
|
|
v["faq" + i + "Off"] = this.state.faq !== i;
|
|
v["faq" + i + "Rot"] = this.state.faq === i ? "rotate(-135deg) translateY(2px)" : "rotate(45deg) translateY(-2px)";
|
|
}
|
|
marks.forEach((name, idx) => {
|
|
const n = idx + 1;
|
|
v["mark" + n + "Off"] = mark !== name;
|
|
v["mark" + n + "Bg"] = mark === name ? sel : "transparent";
|
|
v["pickMark" + n] = () => this.setState({ mark: name });
|
|
});
|
|
return v;
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|