repo: remove confirmed cross-project DockDeck Stitch scratch
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / AI image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / AI image, SBOM and container scan (push) Canceled after 0s
This commit is contained in:
-371
@@ -1,371 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html class="dark" lang="nl"><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=Geist:wght@400;500;600;700&family=Inter:wght@400;500;600&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"/>
|
||||
<style>
|
||||
body {
|
||||
background-color: #0b1326;
|
||||
color: #dbe2fd;
|
||||
font-family: 'Inter', sans-serif;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.glass-panel {
|
||||
background: rgba(15, 23, 42, 0.6);
|
||||
backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(30, 41, 59, 0.5);
|
||||
}
|
||||
.glass-panel:hover {
|
||||
background: rgba(45, 52, 73, 0.5);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
.drawer-overlay {
|
||||
background: rgba(6, 13, 32, 0.8);
|
||||
backdrop-filter: blur(4px);
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.side-drawer {
|
||||
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.active-dot {
|
||||
box-shadow: 0 0 8px #4edea3;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
background: #0b1326;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #2d3449;
|
||||
border-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
<script id="tailwind-config">
|
||||
tailwind.config = {
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
"colors": {
|
||||
"on-error-container": "#ffdad6",
|
||||
"surface-glass": "rgba(15, 23, 42, 0.6)",
|
||||
"on-surface": "#dbe2fd",
|
||||
"inverse-surface": "#dbe2fd",
|
||||
"background": "#0b1326",
|
||||
"surface-dim": "#0b1326",
|
||||
"on-primary": "#292b5e",
|
||||
"surface": "#0b1326",
|
||||
"on-tertiary": "#4f2500",
|
||||
"on-tertiary-fixed-variant": "#703700",
|
||||
"surface-container-highest": "#2d3449",
|
||||
"on-secondary": "#003824",
|
||||
"on-primary-fixed": "#131449",
|
||||
"tertiary": "#ffb783",
|
||||
"on-error": "#690005",
|
||||
"inverse-primary": "#585990",
|
||||
"primary-fixed": "#e1e0ff",
|
||||
"outline": "#908fa0",
|
||||
"secondary": "#4edea3",
|
||||
"secondary-fixed-dim": "#4edea3",
|
||||
"error": "#ffb4ab",
|
||||
"inverse-on-surface": "#283044",
|
||||
"outline-variant": "rgba(30, 41, 59, 0.5)",
|
||||
"primary-fixed-dim": "#c0c1ff",
|
||||
"error-container": "#93000a",
|
||||
"tertiary-container": "#d97721",
|
||||
"status-degraded": "#ffb783",
|
||||
"secondary-fixed": "#6ffbbe",
|
||||
"on-secondary-fixed-variant": "#005236",
|
||||
"surface-container-lowest": "#060d20",
|
||||
"primary-container": "#8a8cc6",
|
||||
"tertiary-fixed": "#ffdcc5",
|
||||
"surface-container": "#171f33",
|
||||
"on-primary-fixed-variant": "#404176",
|
||||
"on-secondary-fixed": "#002114",
|
||||
"on-secondary-container": "#003e28",
|
||||
"surface-variant": "#2d3449",
|
||||
"on-surface-variant": "#c7c4d7",
|
||||
"surface-bright": "#31394e",
|
||||
"primary": "#c0c1ff",
|
||||
"surface-container-high": "#222a3e",
|
||||
"on-background": "#dbe2fd",
|
||||
"surface-container-low": "#131b2e",
|
||||
"tertiary-fixed-dim": "#ffb783",
|
||||
"on-tertiary-container": "#452000",
|
||||
"secondary-container": "#00b47d",
|
||||
"status-online": "#4edea3",
|
||||
"on-primary-container": "#222457",
|
||||
"status-offline": "#ffb4ab",
|
||||
"surface-tint": "#c0c1ff",
|
||||
"on-tertiary-fixed": "#301400"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"stack-lg": "48px",
|
||||
"margin-mobile": "16px",
|
||||
"base": "8px",
|
||||
"stack-sm": "12px",
|
||||
"stack-md": "24px",
|
||||
"container-max": "1440px",
|
||||
"margin-desktop": "40px",
|
||||
"gutter": "24px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"headline-md": ["Geist"],
|
||||
"body-lg": ["Inter"],
|
||||
"display-lg": ["Geist"],
|
||||
"label-md": ["Geist"],
|
||||
"headline-lg": ["Geist"],
|
||||
"body-md": ["Inter"],
|
||||
"headline-lg-mobile": ["Geist"],
|
||||
"code-sm": ["Geist"]
|
||||
},
|
||||
"fontSize": {
|
||||
"headline-md": ["24px", {"lineHeight": "32px", "fontWeight": "500"}],
|
||||
"body-lg": ["18px", {"lineHeight": "28px", "fontWeight": "400"}],
|
||||
"display-lg": ["48px", {"lineHeight": "56px", "letterSpacing": "-0.02em", "fontWeight": "600"}],
|
||||
"label-md": ["14px", {"lineHeight": "20px", "letterSpacing": "0.02em", "fontWeight": "500"}],
|
||||
"headline-lg": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.01em", "fontWeight": "600"}],
|
||||
"body-md": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
||||
"headline-lg-mobile": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
||||
"code-sm": ["13px", {"lineHeight": "18px", "fontWeight": "400"}]
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body class="bg-background text-on-surface">
|
||||
<!-- TopNavBar -->
|
||||
<header class="fixed top-0 w-full z-50 flex justify-between items-center h-16 px-gutter w-full bg-surface-glass backdrop-blur-xl border-b border-outline-variant/20 shadow-sm">
|
||||
<div class="flex items-center gap-4">
|
||||
<span class="font-headline-md text-headline-md font-bold text-primary">DockDeck</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-stack-sm">
|
||||
<button class="p-2 rounded-full hover:bg-surface-variant/50 transition-colors active:scale-95 duration-150">
|
||||
<span class="material-symbols-outlined text-on-surface-variant">settings</span>
|
||||
</button>
|
||||
<button class="p-2 rounded-full hover:bg-surface-variant/50 transition-colors active:scale-95 duration-150">
|
||||
<span class="material-symbols-outlined text-on-surface-variant">account_circle</span>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<div class="flex pt-16 min-h-screen">
|
||||
<!-- SideNavBar (Active: Settings) -->
|
||||
<aside class="hidden xl:flex fixed left-0 top-16 h-[calc(100vh-64px)] w-64 flex flex-col p-base gap-stack-sm bg-surface-container-low border-r border-outline-variant/10">
|
||||
<div class="px-4 py-6">
|
||||
<h2 class="font-headline-md text-headline-md text-primary">Admin</h2>
|
||||
<p class="text-on-surface-variant font-label-md text-label-md opacity-70">Unraid Server</p>
|
||||
</div>
|
||||
<nav class="flex-1 flex flex-col gap-1">
|
||||
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all hover:translate-x-1 duration-200 font-label-md text-label-md" href="#">
|
||||
<span class="material-symbols-outlined">dashboard</span> Dashboard
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all hover:translate-x-1 duration-200 font-label-md text-label-md" href="#">
|
||||
<span class="material-symbols-outlined">layers</span> Containers
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all hover:translate-x-1 duration-200 font-label-md text-label-md" href="#">
|
||||
<span class="material-symbols-outlined">image</span> Images
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all hover:translate-x-1 duration-200 font-label-md text-label-md" href="#">
|
||||
<span class="material-symbols-outlined">lan</span> Network
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-4 py-3 bg-secondary-container text-on-secondary-container rounded-lg font-label-md text-label-md font-bold" href="#">
|
||||
<span class="material-symbols-outlined">settings</span> Settings
|
||||
</a>
|
||||
</nav>
|
||||
<div class="mt-auto border-t border-outline-variant/10 pt-4 flex flex-col gap-1">
|
||||
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all font-label-md text-label-md" href="#">
|
||||
<span class="material-symbols-outlined">description</span> Docs
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all font-label-md text-label-md" href="#">
|
||||
<span class="material-symbols-outlined">logout</span> Logout
|
||||
</a>
|
||||
</div>
|
||||
</aside>
|
||||
<!-- Main Content Canvas -->
|
||||
<main class="flex-1 xl:ml-64 p-margin-mobile md:p-margin-desktop max-w-container-max mx-auto w-full">
|
||||
<div class="flex flex-col gap-stack-lg">
|
||||
<!-- Header Section -->
|
||||
<div class="flex flex-col md:flex-row md:items-end justify-between gap-4">
|
||||
<div>
|
||||
<h1 class="font-headline-lg text-headline-lg text-primary mb-2">Favorieten beheren</h1>
|
||||
<p class="text-on-surface-variant font-body-md text-body-md max-w-2xl">Beheer uw meest gebruikte tools en websites. Wijzig de volgorde of voeg nieuwe snelkoppelingen toe aan uw dashboard.</p>
|
||||
</div>
|
||||
<button class="flex items-center gap-2 px-6 py-3 bg-primary text-on-primary rounded-xl font-bold transition-all hover:brightness-110 active:scale-95 shadow-lg shadow-primary/10" onclick="toggleDrawer(true)">
|
||||
<span class="material-symbols-outlined">add_circle</span>
|
||||
Favoriet toevoegen
|
||||
</button>
|
||||
</div>
|
||||
<!-- Bento Grid / List of Favorites -->
|
||||
<div class="grid grid-cols-1 gap-4">
|
||||
<!-- Favorite Item: Google -->
|
||||
<div class="glass-panel p-4 rounded-xl flex items-center justify-between group transition-all duration-300">
|
||||
<div class="flex items-center gap-6">
|
||||
<div class="cursor-grab text-on-surface-variant/30 hover:text-primary transition-colors">
|
||||
<span class="material-symbols-outlined">drag_indicator</span>
|
||||
</div>
|
||||
<div class="w-12 h-12 rounded-xl bg-surface-container flex items-center justify-center overflow-hidden border border-outline-variant/20">
|
||||
<img class="w-8 h-8 object-contain" data-alt="A clean, minimalist logo of Google with its signature four colors, rendered as a crisp vector on a dark tech-inspired background with subtle glowing edges in DockDeck style." src="https://lh3.googleusercontent.com/aida-public/AB6AXuAlE81yePhc02KeHr-gmasdFhq1WtLkC0LJeFkxUg0RW87B8cY2m9O23Fn9WUgUwiObNBl981WVwXJmHsN4Czq7stRcRndmZHbU_5kSqAEBBm8tm2SabPDQ8Ot1d9tdJJn9Ok0KT3jaGJfyxVvU8dmX03XoFLJ_SvIziPVeeJKJM9H4Vsso8MglAg49dxeeyLHeS3TJqjfp8dYUFaE-UCcZgaDCwulShWUobiE0T5T3Z1v0y32rtc07FxcpjvjgNkPWVDSBslWNQyoI"/>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-headline-md text-body-lg text-on-surface">Google</h3>
|
||||
<p class="font-code-sm text-code-sm text-on-surface-variant opacity-60">https://www.google.com</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
<span class="px-3 py-1 bg-surface-container-high rounded-full font-label-md text-label-md text-secondary border border-secondary/20">Zoeken</span>
|
||||
<button class="p-2 text-on-surface-variant hover:text-primary hover:bg-surface-bright/30 rounded-lg transition-all">
|
||||
<span class="material-symbols-outlined">edit</span>
|
||||
</button>
|
||||
<button class="p-2 text-on-surface-variant hover:text-error hover:bg-error-container/20 rounded-lg transition-all">
|
||||
<span class="material-symbols-outlined">delete</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Favorite Item: YouTube -->
|
||||
<div class="glass-panel p-4 rounded-xl flex items-center justify-between group transition-all duration-300">
|
||||
<div class="flex items-center gap-6">
|
||||
<div class="cursor-grab text-on-surface-variant/30 hover:text-primary transition-colors">
|
||||
<span class="material-symbols-outlined">drag_indicator</span>
|
||||
</div>
|
||||
<div class="w-12 h-12 rounded-xl bg-surface-container flex items-center justify-center overflow-hidden border border-outline-variant/20">
|
||||
<img class="w-8 h-8 object-contain" data-alt="A minimalist YouTube logo icon with its iconic red play button, styled with a glassmorphism aesthetic, featuring soft inner glows and sharp vector precision on a navy blue tech surface." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBvZMwuqnPupp6YRdhFt5loY-xdO2b6-mSU5Di_6V2elSgBv68Jrt9fbGZUBTX5apaoLjNN9RVn66iFCgh84t4cfm7l4nFe8lbRXFcFr8k9TEaMSSTO32l8DayJZ_Wm0s3VW3BeqGrFaYAvj39PwB4vXXsmXaara9jWQliybNOTqAnShJu47sx4vYkE3neBT_3av3YKnj_hqAXAMKOgXJ7nlNsjg8dZVlo6C28gvtW35j6HZZHqTw67nZHUBd77NofOgcNTyIs3WQaA"/>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-headline-md text-body-lg text-on-surface">YouTube</h3>
|
||||
<p class="font-code-sm text-code-sm text-on-surface-variant opacity-60">https://www.youtube.com</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
<span class="px-3 py-1 bg-surface-container-high rounded-full font-label-md text-label-md text-secondary border border-secondary/20">Media</span>
|
||||
<button class="p-2 text-on-surface-variant hover:text-primary hover:bg-surface-bright/30 rounded-lg transition-all">
|
||||
<span class="material-symbols-outlined">edit</span>
|
||||
</button>
|
||||
<button class="p-2 text-on-surface-variant hover:text-error hover:bg-error-container/20 rounded-lg transition-all">
|
||||
<span class="material-symbols-outlined">delete</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Favorite Item: GitHub -->
|
||||
<div class="glass-panel p-4 rounded-xl flex items-center justify-between group transition-all duration-300">
|
||||
<div class="flex items-center gap-6">
|
||||
<div class="cursor-grab text-on-surface-variant/30 hover:text-primary transition-colors">
|
||||
<span class="material-symbols-outlined">drag_indicator</span>
|
||||
</div>
|
||||
<div class="w-12 h-12 rounded-xl bg-surface-container flex items-center justify-center overflow-hidden border border-outline-variant/20">
|
||||
<img class="w-8 h-8 object-contain" data-alt="A sleek white GitHub octocat logo rendered against a deep indigo backdrop. The visual style is high-performance utility with neon-white accents and a subtle digital grid pattern in the background." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCqZ51I69-nfCcUf71LBc_RmVX3oVDq5LdlwAPToEb6OmLHY6_q_ARiy_2mXkkfBepa3Z5IMgTZhTSJqrK7OIJiYQjmvghueMA04JmBktPXPTRJMYLXrv9cXaEccq7B0Y28uJtKa2PAUHndAfZw8UltLXTzh6K080ufb709-tHj5s1tlaYaS2yGjcCrV8Q5GdTMTbtLjQQtOyp5P4FQbc7_PGGudjKwp8cZZFkuf0wV4FM3DIbfuaLYwyQAJT-PFESas_uZQ2h6YzYy"/>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-headline-md text-body-lg text-on-surface">GitHub</h3>
|
||||
<p class="font-code-sm text-code-sm text-on-surface-variant opacity-60">https://github.com</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
<span class="px-3 py-1 bg-surface-container-high rounded-full font-label-md text-label-md text-secondary border border-secondary/20">Ontwikkeling</span>
|
||||
<button class="p-2 text-on-surface-variant hover:text-primary hover:bg-surface-bright/30 rounded-lg transition-all">
|
||||
<span class="material-symbols-outlined">edit</span>
|
||||
</button>
|
||||
<button class="p-2 text-on-surface-variant hover:text-error hover:bg-error-container/20 rounded-lg transition-all">
|
||||
<span class="material-symbols-outlined">delete</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Guidance Footer -->
|
||||
<div class="p-stack-md bg-surface-container-low rounded-xl border border-outline-variant/10">
|
||||
<div class="flex items-center gap-4 text-on-surface-variant">
|
||||
<span class="material-symbols-outlined text-secondary">info</span>
|
||||
<p class="font-label-md text-label-md">U kunt de volgorde wijzigen door de items aan de linkerhendel te verslepen naar de gewenste positie.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<!-- Side Drawer Overlay -->
|
||||
<div class="drawer-overlay fixed inset-0 z-[60] opacity-0 pointer-events-none transition-all duration-300" id="drawerOverlay" onclick="toggleDrawer(false)"></div>
|
||||
<!-- Side Drawer -->
|
||||
<div class="side-drawer fixed top-0 right-0 h-full w-full max-w-md bg-surface-container border-l border-outline-variant/30 z-[70] translate-x-full shadow-2xl flex flex-col" id="sideDrawer">
|
||||
<div class="p-6 border-b border-outline-variant/10 flex items-center justify-between">
|
||||
<h2 class="font-headline-md text-headline-md text-primary">Favoriet toevoegen</h2>
|
||||
<button class="p-2 rounded-full hover:bg-surface-variant/50 text-on-surface-variant transition-colors" onclick="toggleDrawer(false)">
|
||||
<span class="material-symbols-outlined">close</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex-1 overflow-y-auto p-6 flex flex-col gap-6">
|
||||
<!-- Icon Preview -->
|
||||
<div class="flex flex-col items-center gap-3 py-6 bg-surface-container-low rounded-2xl border border-outline-variant/10">
|
||||
<div class="w-20 h-20 rounded-2xl bg-surface-bright flex items-center justify-center border-2 border-dashed border-outline-variant group cursor-pointer hover:border-primary transition-colors">
|
||||
<span class="material-symbols-outlined text-4xl text-on-surface-variant group-hover:text-primary">add_photo_alternate</span>
|
||||
</div>
|
||||
<p class="font-label-md text-label-md text-on-surface-variant">Icoon preview</p>
|
||||
</div>
|
||||
<div class="space-y-4">
|
||||
<div class="flex flex-col gap-2">
|
||||
<label class="font-label-md text-label-md text-on-surface-variant ml-1">Naam</label>
|
||||
<input class="w-full bg-surface-container-low border border-outline-variant/30 rounded-xl px-4 py-3 text-on-surface focus:ring-2 focus:ring-primary focus:border-transparent outline-none transition-all font-body-md text-body-md" placeholder="Bijv. Google" type="text"/>
|
||||
</div>
|
||||
<div class="flex flex-col gap-2">
|
||||
<label class="font-label-md text-label-md text-on-surface-variant ml-1">URL</label>
|
||||
<input class="w-full bg-surface-container-low border border-outline-variant/30 rounded-xl px-4 py-3 text-on-surface focus:ring-2 focus:ring-primary focus:border-transparent outline-none transition-all font-body-md text-body-md" placeholder="https://..." type="url"/>
|
||||
</div>
|
||||
<div class="flex flex-col gap-2">
|
||||
<label class="font-label-md text-label-md text-on-surface-variant ml-1">Categorie</label>
|
||||
<select class="w-full bg-surface-container-low border border-outline-variant/30 rounded-xl px-4 py-3 text-on-surface focus:ring-2 focus:ring-primary focus:border-transparent outline-none transition-all font-body-md text-body-md appearance-none">
|
||||
<option>Geen categorie</option>
|
||||
<option>Ontwikkeling</option>
|
||||
<option>Media</option>
|
||||
<option>Zoeken</option>
|
||||
<option>Social</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-6 border-t border-outline-variant/10 grid grid-cols-2 gap-4">
|
||||
<button class="px-6 py-3 rounded-xl border border-outline-variant text-on-surface-variant font-bold hover:bg-surface-variant transition-colors" onclick="toggleDrawer(false)">
|
||||
Annuleren
|
||||
</button>
|
||||
<button class="px-6 py-3 bg-primary text-on-primary rounded-xl font-bold hover:brightness-110 active:scale-95 transition-all">
|
||||
Opslaan
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
function toggleDrawer(isOpen) {
|
||||
const drawer = document.getElementById('sideDrawer');
|
||||
const overlay = document.getElementById('drawerOverlay');
|
||||
|
||||
if (isOpen) {
|
||||
drawer.classList.remove('translate-x-full');
|
||||
overlay.classList.remove('opacity-0', 'pointer-events-none');
|
||||
} else {
|
||||
drawer.classList.add('translate-x-full');
|
||||
overlay.classList.add('opacity-0', 'pointer-events-none');
|
||||
}
|
||||
}
|
||||
|
||||
// Lightweight atmospheric interaction: Hover glow effect
|
||||
document.querySelectorAll('.glass-panel').forEach(card => {
|
||||
card.addEventListener('mousemove', e => {
|
||||
const rect = card.getBoundingClientRect();
|
||||
const x = e.clientX - rect.left;
|
||||
const y = e.clientY - rect.top;
|
||||
card.style.setProperty('--mouse-x', `${x}px`);
|
||||
card.style.setProperty('--mouse-y', `${y}px`);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user