-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (27 loc) · 1.45 KB
/
index.html
File metadata and controls
27 lines (27 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LinkShelf</title>
</head>
<body>
<!-- SVG: линза — при прокрутке карточек фон за ними искажается как за стеклом -->
<svg aria-hidden="true" style="position:absolute;width:0;height:0;">
<defs>
<!-- Карточки: сильное преломление (видно при скролле) -->
<filter id="liquid-glass-filter" filterUnits="userSpaceOnUse" x="-500" y="-500" width="2000" height="2000" color-interpolation-filters="sRGB">
<feTurbulence type="fractalNoise" baseFrequency="0.012" numOctaves="3" seed="2" result="lens"/>
<feDisplacementMap in="SourceGraphic" in2="lens" scale="55" xChannelSelector="R" yChannelSelector="G" result="displaced"/>
</filter>
<!-- Панели: мягкая линза -->
<filter id="liquid-glass-panel" filterUnits="userSpaceOnUse" x="-500" y="-500" width="2000" height="2000" color-interpolation-filters="sRGB">
<feTurbulence type="fractalNoise" baseFrequency="0.006" numOctaves="3" seed="2" result="lens"/>
<feDisplacementMap in="SourceGraphic" in2="lens" scale="18" xChannelSelector="R" yChannelSelector="G" result="displaced"/>
</filter>
</defs>
</svg>
<div id="root"></div>
<script type="module" src="./src/main.jsx"></script>
</body>
</html>