Repository navigation
Expand file tree
/
Copy pathgalleryExtern.html
More file actions
42 lines (37 loc) · 1.67 KB
/
Copy pathgalleryExtern.html
File metadata and controls
42 lines (37 loc) · 1.67 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shader Shop</title>
<link rel="canonical" href="https://javakhanstudio.github.io/Shader_Demo_Conf/galleryExtern.html">
<link rel="stylesheet" href="css/global.css">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/simpleShaderCard.css">
<script src="https://cdn.jsdelivr.net/npm/three@0.153.0/build/three.min.js"></script>
<link rel="icon" href="images/LogoSBP.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap"
rel="stylesheet">
</head>
<body>
<script src="js/load-sections.js"></script>
<div id="header-placeholder"></div>
<main>
<script type="module">
import {loadShaders} from "./js/galleryShadersViews.js" ;
loadShaders("extern") ;
</script>
<script type="module">
import { injectShaderToElement } from './js/shaderInjector.js';
import { shaders } from './js/externShaderMaterials/ZShadersList.js';
loadAllSections.then(() => {
injectShaderToElement(shaders[1], 'header');
}).catch(error => console.error("Error loading sections:", error));
</script>
</main>
<div id="footer-placeholder"></div>
</body>
</html>