-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (57 loc) · 2.53 KB
/
index.html
File metadata and controls
64 lines (57 loc) · 2.53 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VoidQuill</title>
<link rel="stylesheet" href="src/main.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=Orbitron:wght@400;700&family=Inter:wght@400;600&display=swap" rel="stylesheet">
</head>
<body>
<div id="app-container">
<!-- Accessibility / Perf Override Button -->
<button id="toggle-animation-button" class="btn-toggle-anim" title="Toggle background animation">✨</button>
<!-- ACCESSIBILITY FIX: Describe the decorative canvas to screen readers -->
<canvas
id="blackhole-canvas"
role="img"
aria-label="An abstract animation of white and purple particles spiraling into a central black hole.">
</canvas>
<!-- Main screen UI -->
<h1 class="main-title">VoidQuill</h1>
<div class="main-action">
<button id="compose-button" class="btn btn-primary btn-hero">Compose Thought</button>
<button id="listen-button" class="btn btn-secondary btn-hero">Listen to the Void</button>
</div>
</div>
<!-- Modal for writing the post -->
<div id="compose-modal" class="modal-overlay" role="dialog" aria-modal="true" aria-labelledby="compose-modal-title">
<div class="modal-content">
<button id="compose-close-button" class="modal-close" aria-label="Close">×</button>
<h2 id="compose-modal-title">Whisper to the singularity...</h2>
<div class="input-area">
<textarea
id="post-content"
rows="6"
aria-label="Your message to the void"
></textarea>
<div id="feedback-message" class="feedback" aria-live="assertive"></div>
</div>
<div class="button-group">
<button id="release-button" class="btn btn-primary">Release into the Void</button>
</div>
</div>
</div>
<!-- Modal for displaying a post from the void -->
<div id="post-modal" class="modal-overlay" role="dialog" aria-modal="true" aria-labelledby="post-modal-title">
<div class="modal-content">
<button id="modal-close-button" class="modal-close" aria-label="Close modal">×</button>
<h2 id="post-modal-title" class="visually-hidden">A thought from the void</h2>
<p class="modal-text"></p>
</div>
</div>
<script type="module" src="src/main.js"></script>
</body>
</html>