-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
<link rel="stylesheet" href="css/demo.css"> | ||
</head> | ||
<body> | ||
|
||
<div id="header"> | ||
<h1>Web Authentication API demo</h1> | ||
</div> | ||
|
@@ -67,11 +68,34 @@ <h4>Your credentials</h4> | |
<button id="button-logout">Logout</button> | ||
</div> | ||
|
||
<!-- Vanta net container --> | ||
<div id="background"></div> | ||
|
||
<!-- External dependencies --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@hexagon/base64@1/dist/base64.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/qr-creator/dist/qr-creator.min.js"></script> | ||
|
||
<!-- Vanta net background --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/three.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vanta.net.min.js"></script> | ||
<script> | ||
VANTA.NET({ | ||
el: "#background", | ||
mouseControls: false, | ||
touchControls: false, | ||
gyroControls: true, | ||
minHeight: 200.00, | ||
minWidth: 200.00, | ||
scale: 1.00, | ||
scaleMobile: 1.00, | ||
color: 0x17294d, | ||
backgroundColor: 0x4050f, | ||
maxDistance: 18.00, | ||
spacing: 18.00 | ||
}); | ||
</script> | ||
|
||
<!-- Internals--> | ||
<script src="js/utils.js"></script> | ||
<script src="js/view.js"></script> | ||
|