-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (73 loc) · 4.41 KB
/
index.html
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/wish2/assets/favicon-BST0-Rqg.ico" type="image/x-icon">
<title>WebGraphics</title>
<script type="module" crossorigin src="/wish2/assets/index-BTXLJ5ni.js"></script>
<link rel="stylesheet" crossorigin href="/wish2/assets/index-BCQkHSzH.css">
</head>
<body>
<div id="container"></div>
<div class="content">
<ul>
<li><p class="des">달을 클릭하면 추가할 수 있어요. (PC에서만 가능)</p></li>
<li><button onclick="window.open('https://webgldev.github.io/wish2', '_blank')">✨ Sea</button></li>
<li><button onclick="window.open('https://webgldev.github.io/wish', '_blank')">🌾 Autumn</button></li>
<li><button onclick="window.open('https://github.com/webgldev', '_blank')">Github</button></li>
<li><button onclick="window.open('https://discord.gg/CpDsSpRzQp', '_blank')">Discord</button></li>
<li><button onclick="window.open('https://open.kakao.com/o/gm2Q9qoe', '_blank')">Kakao</button></li>
<li><button id="resetView">View Reset</button></li>
</ul>
</div>
<div id="planetFormModal" style="display: none;">
<form id="planetForm">
<p>행성을 생성해주세요.</p>
<input type="text" id="name" placeholder="행성 이름" required />
<textarea id="wish" placeholder="소원" required></textarea>
<input type="password" id="password" placeholder="비밀번호" required />
<button type="submit">행성 생성</button>
<button id="closePlanetForm" class="close" type="button">닫기</button>
</form>
</div>
<div id="passwordInput" style="position: absolute; display: none;">
<p><span id="planetName"></span></p>
<input type="password" id="inputPassword" placeholder="비밀번호 입력" required />
<div>
<button id="submitPassword">확인</button>
<button id="closePasswordInputModal" class="close">닫기</button>
</div>
</div>
<div id="wishModal" class="modal">
<div class="modal-content">
<h2 id="wishName">이름</h2>
<p id="wishText">소원 내용</p>
<div>
<button id="modifyWishBtn" class="close">수정</button>
<button id="closeWishModal" class="close">닫기</button>
<div id="editWishDiv" style="display: none;">
<input type="text" id="editNameInput" placeholder="이름 수정" required>
<textarea id="editWishInput" placeholder="소원 수정" rows="3" required></textarea>
<input type="password" id="editPasswordInput" placeholder="비밀번호 입력" required />
<button id="saveWishBtn" class="close">저장</button>
<button id="cancelWishBtn" class="close">취소</button>
</div>
</div>
<button id="deletePlanetBtn">행성 삭제</button>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/controls/OrbitControls.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/loaders/FontLoader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/geometries/TextGeometry.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/postprocessing/EffectComposer.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/postprocessing/RenderPass.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/postprocessing/ShaderPass.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/shaders/CopyShader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/shaders/LuminosityHighPassShader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/postprocessing/UnrealBloomPass.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/loaders/GLTFLoader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/objects/Water.js"></script>
</body>
</html>