Spaces:
Running
Running
Download library.html from Alex200912/deepsite-project: direct link, hf CLI and curl.
- Browser
- Download file 3.28 kB
-
https://huggingface.co/spaces/Alex200912/deepsite-project/resolve/main/library.html
- Command line
-
hf download hf://spaces/Alex200912/deepsite-project/library.html
-
curl -L -o library.html https://huggingface.co/spaces/Alex200912/deepsite-project/resolve/main/library.html
3.28 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Law Library | Virtual Mahogany</title> | |
| <script src="https://cdn.jsdelivr.net/npm/three@0.132.2/build/three.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/controls/OrbitControls.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/loaders/GLTFLoader.js"></script> | |
| <style> | |
| body { | |
| margin: 0; | |
| overflow: hidden; | |
| font-family: 'Times New Roman', serif; | |
| } | |
| canvas { | |
| display: block; | |
| width: 100vw; | |
| height: 100vh; | |
| } | |
| #libraryUI { | |
| position: absolute; | |
| top: 20px; | |
| left: 20px; | |
| background: rgba(139, 0, 0, 0.85); | |
| padding: 15px; | |
| border-radius: 8px; | |
| color: #F5DEB3; | |
| border: 1px solid #F5DEB3; | |
| max-width: 300px; | |
| } | |
| #bookInfo { | |
| position: absolute; | |
| bottom: 30px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| background: rgba(139, 0, 0, 0.9); | |
| padding: 20px; | |
| border-radius: 8px; | |
| color: #F5DEB3; | |
| border: 1px solid #F5DEB3; | |
| max-width: 600px; | |
| display: none; | |
| } | |
| #catalog { | |
| position: absolute; | |
| right: 20px; | |
| top: 20px; | |
| background: rgba(139, 0, 0, 0.85); | |
| padding: 15px; | |
| border-radius: 8px; | |
| color: #F5DEB3; | |
| border: 1px solid #F5DEB3; | |
| width: 250px; | |
| } | |
| .closeBtn { | |
| background: #8B0000; | |
| color: #F5DEB3; | |
| border: 1px solid #F5DEB3; | |
| padding: 5px 10px; | |
| cursor: pointer; | |
| margin-top: 10px; | |
| } | |
| .closeBtn:hover { | |
| background: #F5DEB3; | |
| color: #8B0000; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="libraryUI"> | |
| <h2>Mahogany Law Library</h2> | |
| <p>Two-level library with spiral staircase. Thousands of books with individual physics.</p> | |
| <p>• Click books to view insights • Use catalog to filter content • Green reading lamps illuminate study areas</p> | |
| </div> | |
| <div id="catalog"> | |
| <h3>Research Catalog</h3> | |
| <select id="categoryFilter"> | |
| <option value="all">All Categories</option> | |
| <option value="corporate">Corporate Law</option> | |
| <option value="litigation">Litigation</option> | |
| <option value="international">International Law</option> | |
| <option value="compliance">Compliance</option> | |
| </select> | |
| <div style="margin-top: 10px;"> | |
| <button id="returnBtn">Return to Lobby</button> | |
| </div> | |
| </div> | |
| <div id="bookInfo"> | |
| <h3 id="bookTitle">Book Title</h3> | |
| <p id="bookContent">Book content will appear here...</p> | |
| <button class="closeBtn" onclick="document.getElementById('bookInfo').style.display='none'">Close</button> | |
| </div> | |
| <script src="js/library.js" type="module"></script> | |
| </body> | |
| </html> |