Initial commit: abyssVpn project
- Tauri desktop app (apps/desktop) - Python Django API service (services/api) - Deployment scripts and docs
This commit is contained in:
@@ -0,0 +1,216 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
||||
<script id="tailwind-config">
|
||||
tailwind.config = {
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
"colors": {
|
||||
"on-tertiary-fixed-variant": "#7b2e00",
|
||||
"secondary-container": "#6bfd6a",
|
||||
"on-tertiary-container": "#fffbff",
|
||||
"on-secondary": "#ffffff",
|
||||
"secondary-fixed-dim": "#4ee253",
|
||||
"on-secondary-fixed-variant": "#00530e",
|
||||
"primary-fixed": "#dbe1ff",
|
||||
"on-secondary-fixed": "#002203",
|
||||
"tertiary-fixed": "#ffdbcc",
|
||||
"surface-container": "#ebeef6",
|
||||
"inverse-on-surface": "#eef1f9",
|
||||
"tertiary-fixed-dim": "#ffb695",
|
||||
"primary": "#0050d6",
|
||||
"tertiary": "#9e3e00",
|
||||
"on-primary": "#ffffff",
|
||||
"surface": "#f8f9ff",
|
||||
"secondary-fixed": "#72ff70",
|
||||
"surface-container-low": "#f1f3fc",
|
||||
"on-secondary-container": "#007317",
|
||||
"on-primary-fixed-variant": "#003ea8",
|
||||
"surface-bright": "#f8f9ff",
|
||||
"error": "#ba1a1a",
|
||||
"on-primary-container": "#fefcff",
|
||||
"on-error-container": "#93000a",
|
||||
"surface-tint": "#0053db",
|
||||
"surface-container-high": "#e5e8f0",
|
||||
"primary-fixed-dim": "#b4c5ff",
|
||||
"on-tertiary-fixed": "#351000",
|
||||
"secondary": "#006e16",
|
||||
"outline-variant": "#c3c6d8",
|
||||
"primary-container": "#2a6af9",
|
||||
"tertiary-container": "#c64f00",
|
||||
"on-error": "#ffffff",
|
||||
"outline": "#737687",
|
||||
"on-primary-fixed": "#00174b",
|
||||
"on-tertiary": "#ffffff",
|
||||
"surface-variant": "#dfe2eb",
|
||||
"surface-container-highest": "#dfe2eb",
|
||||
"background": "#f8f9ff",
|
||||
"on-surface-variant": "#424655",
|
||||
"inverse-primary": "#b4c5ff",
|
||||
"error-container": "#ffdad6",
|
||||
"surface-container-lowest": "#ffffff",
|
||||
"on-surface": "#181c22",
|
||||
"on-background": "#181c22",
|
||||
"surface-dim": "#d7dae2",
|
||||
"inverse-surface": "#2d3137"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"xs": "4px",
|
||||
"sm": "8px",
|
||||
"xl": "32px",
|
||||
"lg": "24px",
|
||||
"xxl": "48px",
|
||||
"md": "16px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"h1": ["Inter"], "body-lg": ["Inter"], "caption": ["Inter"], "label-sm": ["Inter"], "label-md": ["Inter"], "h2": ["Inter"], "body-md": ["Inter"], "display": ["Inter"]
|
||||
},
|
||||
"fontSize": {
|
||||
"h1": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
||||
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
||||
"caption": ["12px", {"lineHeight": "18px", "fontWeight": "400"}],
|
||||
"label-sm": ["12px", {"lineHeight": "18px", "fontWeight": "500"}],
|
||||
"label-md": ["14px", {"lineHeight": "20px", "fontWeight": "500"}],
|
||||
"h2": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
||||
"body-md": ["14px", {"lineHeight": "22px", "fontWeight": "400"}],
|
||||
"display": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "600"}]
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
||||
}
|
||||
body { font-family: 'Inter', sans-serif; background-color: #F5F6F7; }
|
||||
</style>
|
||||
<style>
|
||||
body {
|
||||
min-height: max(884px, 100dvh);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-surface-container-lowest text-on-surface antialiased min-h-screen flex flex-col">
|
||||
<!-- TopAppBar -->
|
||||
<header class="bg-white/95 dark:bg-gray-900/95 backdrop-blur-md border-b border-gray-100 dark:border-gray-800 shadow-[0_2px_8px_rgba(31,35,41,0.05)] sticky top-0 z-50 flex justify-between items-center w-full px-5 h-14">
|
||||
<div class="flex items-center gap-sm">
|
||||
<div class="w-8 h-8 rounded-full bg-surface-container overflow-hidden">
|
||||
<img alt="User" class="w-full h-full object-cover" data-alt="Portrait of a professional user for profile avatar in a clean minimalist style" src="https://lh3.googleusercontent.com/aida-public/AB6AXuDrQino6RuDosdoTJseFyoOc6C9UdWf3o8LmsU9RD767Flvo6yiLNjcxRQa0DeXdoj2gMgiZ9wLIHNYlvoBa28AOdytYcU6_xsLzQonQtffQwz0zRSonfYbp7UPWSz4rhKoHaQ5uf657I8XtRRqygdSaDHAVHd3h4rwD5FOUpoZEFK0xkGQzfVHNBWwXfmmVOgS-ch0ojzJMG2dcUlnLLzX5Yska9oI9xADuRCH7mkYbxWe_KJ1Kt78dXiSWClJmpPaf7USDDPS48ZG"/>
|
||||
</div>
|
||||
</div>
|
||||
<h1 class="text-xl font-bold text-[#1F2329] dark:text-white font-['Inter'] tracking-tight">NetGuard Workspace</h1>
|
||||
<button class="w-10 h-10 flex items-center justify-center rounded-lg hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors active:opacity-70">
|
||||
<span class="material-symbols-outlined text-gray-500" data-icon="settings">settings</span>
|
||||
</button>
|
||||
</header>
|
||||
<!-- Main Content Canvas -->
|
||||
<main class="flex-grow flex flex-col items-center px-lg pt-xl pb-xxl max-w-lg mx-auto w-full">
|
||||
<!-- Status Indicator -->
|
||||
<div class="flex flex-col items-center mb-xl">
|
||||
<div class="px-md py-xs bg-error-container rounded-full mb-md">
|
||||
<span class="font-label-md text-error flex items-center gap-xs">
|
||||
<span class="w-2 h-2 rounded-full bg-error"></span>
|
||||
Disconnected
|
||||
</span>
|
||||
</div>
|
||||
<p class="font-body-md text-on-surface-variant">Tap to secure your connection</p>
|
||||
</div>
|
||||
<!-- Connection Hub (Bento Pattern) -->
|
||||
<div class="w-full relative flex flex-col items-center py-xl">
|
||||
<!-- Pulsing Ring Background -->
|
||||
<!-- Central Connect Button -->
|
||||
<button class="relative z-10 w-48 h-48 rounded-full bg-white shadow-[0_16px_32px_rgba(31,35,41,0.08)] border-8 border-surface-container-low flex flex-col items-center justify-center group active:scale-95 transition-all duration-200">
|
||||
<div class="w-24 h-24 rounded-full flex items-center justify-center mb-sm bg-gray-50 border border-gray-100">
|
||||
<span class="material-symbols-outlined text-[48px] text-primary" data-icon="power_settings_new">power_settings_new</span>
|
||||
</div>
|
||||
<span class="font-label-md text-primary font-bold tracking-wider">CONNECT</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Server Selection Card -->
|
||||
<div class="w-full mt-xl">
|
||||
<div class="bg-white rounded-xl p-md border border-gray-100 shadow-[0_2px_8px_rgba(31,35,41,0.05)] hover:bg-gray-50 transition-colors cursor-pointer flex items-center justify-between">
|
||||
<div class="flex items-center gap-md">
|
||||
<div class="w-10 h-10 rounded-lg bg-surface-container-low flex items-center justify-center overflow-hidden">
|
||||
<img alt="Germany" class="w-6 h-6 object-contain" data-alt="Small crisp icon representing the German flag with vibrant colors" src="https://lh3.googleusercontent.com/aida-public/AB6AXuCYeXS0hdKWWwqWTO58Gbx1s456kPWZDj-MOFsRfAE8gkFYW3sy2p0SfU3WjHCzo-FM2fCqZY2s1VlDpLAchGx44_a5Cxt9MYHYdPctnJpseN6ZJQtBrocLSVNsWwxPz-H5BvC5Fwhy0Ee33I3gp2k3XKQ3X12_fgC_LFkACAIV_cVffishupFsxWNFbWdn4T7bWhKXvre634y2FXx_NLji9DSXfq8dqWoY69SHoWT7Uwy_6pbbdc5-N0YAqX1oEwUN7WRsWzrwcIyb"/>
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-label-md text-on-surface">Frankfurt, Germany</span>
|
||||
<span class="font-caption text-on-surface-variant flex items-center gap-xs">
|
||||
<span class="material-symbols-outlined text-[14px] text-secondary" data-icon="signal_cellular_alt">signal_cellular_alt</span>
|
||||
Optimal Latency (24ms)
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-outline" data-icon="chevron_right">chevron_right</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Metrics Grid -->
|
||||
<div class="grid grid-cols-2 gap-md w-full mt-md">
|
||||
<!-- Duration Card -->
|
||||
<div class="bg-white rounded-xl p-md border border-gray-100 shadow-[0_2px_8px_rgba(31,35,41,0.05)]">
|
||||
<div class="flex items-center gap-xs mb-xs">
|
||||
<span class="material-symbols-outlined text-on-surface-variant text-[18px]" data-icon="schedule">schedule</span>
|
||||
<span class="font-caption text-on-surface-variant uppercase tracking-wider">Duration</span>
|
||||
</div>
|
||||
<div class="font-h2 text-on-surface">00:00:00</div>
|
||||
</div>
|
||||
<!-- Usage Card -->
|
||||
<div class="bg-white rounded-xl p-md border border-gray-100 shadow-[0_2px_8px_rgba(31,35,41,0.05)]">
|
||||
<div class="flex items-center gap-xs mb-xs">
|
||||
<span class="material-symbols-outlined text-on-surface-variant text-[18px]" data-icon="database">database</span>
|
||||
<span class="font-caption text-on-surface-variant uppercase tracking-wider">Data Usage</span>
|
||||
</div>
|
||||
<div class="font-h2 text-on-surface">0.00 MB</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Informational Banner -->
|
||||
<div class="w-full mt-md p-md bg-primary-fixed/30 rounded-xl border border-primary-fixed flex gap-md items-start">
|
||||
<span class="material-symbols-outlined text-primary" data-icon="info">info</span>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-label-md text-on-primary-fixed-variant">Privacy Shield</span>
|
||||
<p class="font-body-md text-on-primary-fixed-variant opacity-80">Your IP address is currently visible to websites and trackers.</p>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- BottomNavBar -->
|
||||
<nav class="bg-white dark:bg-gray-900 fixed bottom-0 w-full z-50 pb-safe border-t border-gray-100 dark:border-gray-800 shadow-[0_-2px_10px_rgba(31,35,41,0.03)] flex justify-around items-center h-16 w-full px-2">
|
||||
<!-- Connection Tab (Active) -->
|
||||
<div class="flex flex-col items-center justify-center text-[#3370FF] dark:text-blue-400 font-['Inter'] text-[11px] font-medium active:scale-95 transition-transform duration-150 cursor-pointer">
|
||||
<span class="material-symbols-outlined" data-icon="security" data-weight="fill" style="font-variation-settings: 'FILL' 1;">security</span>
|
||||
<span class="mt-1">Connection</span>
|
||||
</div>
|
||||
<!-- Devices Tab -->
|
||||
<div class="flex flex-col items-center justify-center text-gray-500 dark:text-gray-400 font-['Inter'] text-[11px] font-medium hover:text-[#3370FF] active:scale-95 transition-all duration-150 cursor-pointer">
|
||||
<span class="material-symbols-outlined" data-icon="devices">devices</span>
|
||||
<span class="mt-1">Devices</span>
|
||||
</div>
|
||||
<!-- Logs Tab -->
|
||||
<div class="flex flex-col items-center justify-center text-gray-500 dark:text-gray-400 font-['Inter'] text-[11px] font-medium hover:text-[#3370FF] active:scale-95 transition-all duration-150 cursor-pointer">
|
||||
<span class="material-symbols-outlined" data-icon="list_alt">list_alt</span>
|
||||
<span class="mt-1">Logs</span>
|
||||
</div>
|
||||
<!-- Profile Tab -->
|
||||
<div class="flex flex-col items-center justify-center text-gray-500 dark:text-gray-400 font-['Inter'] text-[11px] font-medium hover:text-[#3370FF] active:scale-95 transition-all duration-150 cursor-pointer">
|
||||
<span class="material-symbols-outlined" data-icon="person">person</span>
|
||||
<span class="mt-1">Profile</span>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- Map Background Aesthetics (Subtle overlay) -->
|
||||
<div class="fixed inset-0 -z-10 opacity-[0.03] pointer-events-none">
|
||||
<img alt="Map" class="w-full h-full object-cover" data-alt="Faded abstract world map graphic with clean minimalist line work and soft neutral gray tones" data-location="Frankfurt" src="https://lh3.googleusercontent.com/aida-public/AB6AXuBlHVC0mEVIqxEf2K6zP63dbd52cu_jf3Ba1xPvWdGr8PYxViPDaFKw4Kcb5UJSOBE6oDue2RwmJbbDUWCmLJ4U2E6N-cNMJmPBgMT2FLp6sF4UODY7Ln6WI0F8YEMHbLySyfau_B7N1zPK7alLEbgH2vpWj-u9W1KNm1yzoU6uu4RP8TKbrEJHxivEJCZkkjNlurkcuwj9dBgrB0eQqeTwbKZlJRHxCSCteCprFbhrRVHU9wwrAvT3RX3W5S1Nh7UMNIYmudxmMSD3"/>
|
||||
</div>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user