feat: impl design header

This commit is contained in:
2026-05-07 19:49:45 +05:00
parent 7cc2b8542d
commit f425145e81
13 changed files with 978 additions and 304 deletions
+277 -113
View File
@@ -1,129 +1,293 @@
<!DOCTYPE html>
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Choose Browser - Light</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
}
</script>
</head>
<body class="min-h-screen bg-gradient-to-br from-slate-100 via-white to-slate-100 flex flex-col">
<nav class="flex items-center justify-center gap-8 p-4 border-b border-slate-200">
<a href="dark.html" class="text-sm font-mono text-slate-500 hover:text-slate-700 transition-colors">Dark</a>
<span class="text-sm font-mono text-slate-600">Light</span>
</nav>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Choose Browser - Light</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: "class",
};
</script>
</head>
<body class="min-h-screen bg-gradient-to-br from-slate-100 via-white to-slate-100 flex flex-col">
<nav class="flex items-center justify-center gap-8 p-4 border-b border-slate-200">
<a href="dark.html" class="text-sm font-mono text-slate-500 hover:text-slate-700 transition-colors">Dark</a>
<span class="text-sm font-mono text-slate-600">Light</span>
</nav>
<main class="flex-1 flex items-center justify-center p-4">
<div class="w-full max-w-md">
<div class="bg-white/80 backdrop-blur-xl border border-slate-200 rounded-2xl shadow-xl shadow-slate-200/50 overflow-hidden">
<div class="p-5 border-b border-slate-100">
<div class="flex items-center gap-3 mb-4">
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-blue-500 to-cyan-500 flex items-center justify-center shadow-lg shadow-blue-500/25">
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-white" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<line x1="2" y1="12" x2="22" y2="12"></line>
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>
<main class="flex-1 flex items-center justify-center p-4">
<div class="w-full max-w-md">
<div
class="bg-white/80 backdrop-blur-xl border border-slate-200 rounded-2xl shadow-xl shadow-slate-200/50 overflow-hidden"
>
<div class="p-5 border-b border-slate-100">
<div class="flex items-center gap-3 mb-4">
<div
class="w-10 h-10 rounded-xl bg-gradient-to-br from-blue-500 to-cyan-500 flex items-center justify-center shadow-lg shadow-blue-500/25"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="w-5 h-5 text-white"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10"></circle>
<line x1="2" y1="12" x2="22" y2="12"></line>
<path
d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"
></path>
</svg>
</div>
<div>
<h2 class="text-lg font-semibold text-slate-900">Выберите браузер</h2>
<p class="text-sm text-slate-500">Для открытия ссылки</p>
</div>
</div>
<div class="flex items-center gap-2 px-4 py-3 bg-slate-50 rounded-xl border border-slate-200">
<svg
xmlns="http://www.w3.org/2000/svg"
class="w-4 h-4 text-slate-400 flex-shrink-0"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</div>
<div>
<h2 class="text-lg font-semibold text-slate-900">Выберите браузер</h2>
<p class="text-sm text-slate-500">Для открытия ссылки</p>
<span class="text-sm text-slate-600 truncate font-mono">ku6epxboctuk.github.io</span>
</div>
</div>
<div class="flex items-center gap-2 px-4 py-3 bg-slate-50 rounded-xl border border-slate-200">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-slate-400 flex-shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
<span class="text-sm text-slate-600 truncate font-mono">ku6epxboctuk.github.io</span>
</div>
</div>
<div class="p-3">
<div class="space-y-2">
<button class="w-full flex items-center gap-4 p-4 rounded-xl transition-all duration-200 bg-blue-50 ring-2 ring-blue-500/30">
<div class="w-12 h-12 rounded-xl flex items-center justify-center text-2xl bg-gradient-to-br shadow-lg from-orange-500 to-red-500">🦊</div>
<div class="flex-1 text-left">
<div class="flex items-center gap-2">
<span class="font-medium text-slate-900">Work browser</span>
<span class="px-2 py-0.5 text-xs font-medium bg-blue-100 text-blue-600 rounded-full">По умолчанию</span>
<div class="p-3">
<div class="space-y-2">
<button
class="w-full flex items-center gap-4 p-4 rounded-xl transition-all duration-200 bg-blue-50 ring-2 ring-blue-500/30"
>
<div
class="w-12 h-12 rounded-xl flex items-center justify-center text-2xl bg-gradient-to-br shadow-lg from-orange-500 to-red-500"
>
🦊
</div>
</div>
<div class="w-6 h-6 rounded-full flex items-center justify-center bg-blue-500 text-white">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
</div>
</button>
<div class="flex-1 text-left">
<div class="flex items-center gap-2">
<span class="font-medium text-slate-900">Work browser</span>
<span class="px-2 py-0.5 text-xs font-medium bg-blue-100 text-blue-600 rounded-full"
>По умолчанию</span
>
</div>
</div>
<div class="w-6 h-6 rounded-full flex items-center justify-center bg-blue-500 text-white">
<svg
xmlns="http://www.w3.org/2000/svg"
class="w-4 h-4"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</div>
</button>
<button class="w-full flex items-center gap-4 p-4 rounded-xl transition-all duration-200 bg-white hover:bg-slate-50 group">
<div class="w-12 h-12 rounded-xl flex items-center justify-center text-2xl bg-gradient-to-br shadow-lg from-pink-500 to-rose-500">🔥</div>
<div class="flex-1 text-left">
<span class="font-medium text-slate-900">Ku6epXBOCTuK</span>
</div>
<div class="w-6 h-6 rounded-full flex items-center justify-center bg-slate-100 group-hover:bg-slate-200">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-slate-400 group-hover:text-slate-500" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</button>
<button
class="w-full flex items-center gap-4 p-4 rounded-xl transition-all duration-200 bg-white hover:bg-slate-50 group"
>
<div
class="w-12 h-12 rounded-xl flex items-center justify-center text-2xl bg-gradient-to-br shadow-lg from-pink-500 to-rose-500"
>
🔥
</div>
<div class="flex-1 text-left">
<span class="font-medium text-slate-900">Ku6epXBOCTuK</span>
</div>
<div
class="w-6 h-6 rounded-full flex items-center justify-center bg-slate-100 group-hover:bg-slate-200"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="w-4 h-4 text-slate-400 group-hover:text-slate-500"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
<button class="w-full flex items-center gap-4 p-4 rounded-xl transition-all duration-200 bg-white hover:bg-slate-50 group">
<div class="w-12 h-12 rounded-xl flex items-center justify-center text-2xl bg-gradient-to-br shadow-lg from-blue-500 to-green-500">🌐</div>
<div class="flex-1 text-left">
<span class="font-medium text-slate-900">Chrome</span>
</div>
<div class="w-6 h-6 rounded-full flex items-center justify-center bg-slate-100 group-hover:bg-slate-200">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-slate-400 group-hover:text-slate-500" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</button>
<button
class="w-full flex items-center gap-4 p-4 rounded-xl transition-all duration-200 bg-white hover:bg-slate-50 group"
>
<div
class="w-12 h-12 rounded-xl flex items-center justify-center text-2xl bg-gradient-to-br shadow-lg from-blue-500 to-green-500"
>
🌐
</div>
<div class="flex-1 text-left">
<span class="font-medium text-slate-900">Chrome</span>
</div>
<div
class="w-6 h-6 rounded-full flex items-center justify-center bg-slate-100 group-hover:bg-slate-200"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="w-4 h-4 text-slate-400 group-hover:text-slate-500"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
<button class="w-full flex items-center gap-4 p-4 rounded-xl transition-all duration-200 bg-white hover:bg-slate-50 group">
<div class="w-12 h-12 rounded-xl flex items-center justify-center text-2xl bg-gradient-to-br shadow-lg from-violet-500 to-purple-500">🧘</div>
<div class="flex-1 text-left">
<span class="font-medium text-slate-900">Zen Browser</span>
</div>
<div class="w-6 h-6 rounded-full flex items-center justify-center bg-slate-100 group-hover:bg-slate-200">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 text-slate-400 group-hover:text-slate-500" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</button>
</div>
</div>
<div class="px-5 pb-4 space-y-3">
<label class="flex items-center gap-3 cursor-pointer group">
<div class="w-5 h-5 rounded-md border-2 border-slate-300 group-hover:border-slate-400 flex items-center justify-center transition-all"></div>
<span class="text-sm text-slate-500 group-hover:text-slate-700 transition-colors">
Запомнить выбор для <span class="text-slate-700 font-mono">ku6epxboctuk.github.io</span>
</span>
</label>
<label class="flex items-center gap-3 cursor-pointer group">
<div class="w-5 h-5 rounded-md border-2 border-blue-500 bg-blue-500 flex items-center justify-center transition-all">
<svg xmlns="http://www.w3.org/2000/svg" class="w-3 h-3 text-white" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
<button
class="w-full flex items-center gap-4 p-4 rounded-xl transition-all duration-200 bg-white hover:bg-slate-50 group"
>
<div
class="w-12 h-12 rounded-xl flex items-center justify-center text-2xl bg-gradient-to-br shadow-lg from-violet-500 to-purple-500"
>
🧘
</div>
<div class="flex-1 text-left">
<span class="font-medium text-slate-900">Zen Browser</span>
</div>
<div
class="w-6 h-6 rounded-full flex items-center justify-center bg-slate-100 group-hover:bg-slate-200"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="w-4 h-4 text-slate-400 group-hover:text-slate-500"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
</div>
<span class="text-sm text-slate-700 transition-colors">Всегда спрашивать</span>
</label>
</div>
</div>
<div class="px-5 py-4 border-t border-slate-100 flex items-center justify-between">
<div class="flex items-center gap-4">
<button class="flex items-center gap-2 text-sm text-slate-500 hover:text-slate-900 transition-colors">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"></circle><path d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42m12.72 12.72 1.42 1.42M1 12h2m18 0h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"></path></svg>
<span>Настроить</span>
</button>
<button class="flex items-center gap-2 text-sm text-slate-500 hover:text-slate-900 transition-colors">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>
<span>Обратная связь</span>
<div class="px-5 pb-4 space-y-3">
<label class="flex items-center gap-3 cursor-pointer group">
<div
class="w-5 h-5 rounded-md border-2 border-slate-300 group-hover:border-slate-400 flex items-center justify-center transition-all"
></div>
<span class="text-sm text-slate-500 group-hover:text-slate-700 transition-colors">
Запомнить выбор для <span class="text-slate-700 font-mono">ku6epxboctuk.github.io</span>
</span>
</label>
<label class="flex items-center gap-3 cursor-pointer group">
<div
class="w-5 h-5 rounded-md border-2 border-blue-500 bg-blue-500 flex items-center justify-center transition-all"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="w-3 h-3 text-white"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
</div>
<span class="text-sm text-slate-700 transition-colors">Всегда спрашивать</span>
</label>
</div>
<div class="px-5 py-4 border-t border-slate-100 flex items-center justify-between">
<div class="flex items-center gap-4">
<button class="flex items-center gap-2 text-sm text-slate-400 hover:text-white transition-colors">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-sun-icon lucide-sun"
>
<circle cx="12" cy="12" r="4" />
<path d="M12 2v2" />
<path d="M12 20v2" />
<path d="m4.93 4.93 1.41 1.41" />
<path d="m17.66 17.66 1.41 1.41" />
<path d="M2 12h2" />
<path d="M20 12h2" />
<path d="m6.34 17.66-1.41 1.41" />
<path d="m19.07 4.93-1.41 1.41" />
</svg>
</button>
<button class="flex items-center gap-2 text-sm text-slate-400 hover:text-white transition-colors">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-cog-icon lucide-cog"
>
<path d="M11 10.27 7 3.34" />
<path d="m11 13.73-4 6.93" />
<path d="M12 22v-2" />
<path d="M12 2v2" />
<path d="M14 12h8" />
<path d="m17 20.66-1-1.73" />
<path d="m17 3.34-1 1.73" />
<path d="M2 12h2" />
<path d="m20.66 17-1.73-1" />
<path d="m20.66 7-1.73 1" />
<path d="m3.34 17 1.73-1" />
<path d="m3.34 7 1.73 1" />
<circle cx="12" cy="12" r="2" />
<circle cx="12" cy="12" r="8" />
</svg>
</button>
</div>
<div class="flex">
<p class="text-center text-xs text-slate-600">Esc - закрыть</p>
</div>
<button
class="px-6 py-2.5 rounded-xl font-medium text-sm bg-gradient-to-r from-blue-500 to-cyan-500 text-white hover:shadow-lg hover:shadow-blue-500/25 hover:scale-105 transition-all"
>
Открыть
</button>
</div>
<button class="px-6 py-2.5 rounded-xl font-medium text-sm bg-gradient-to-r from-blue-500 to-cyan-500 text-white hover:shadow-lg hover:shadow-blue-500/25 hover:scale-105 transition-all">
Открыть
</button>
</div>
</div>
<p class="text-center text-xs text-slate-400 mt-4">Нажмите Esc для отмены</p>
</div>
</main>
</body>
</html>
</main>
</body>
</html>