-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (84 loc) · 4.34 KB
/
Copy pathindex.html
File metadata and controls
90 lines (84 loc) · 4.34 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Debate Webring</title>
<meta name="description" content="A global webring connecting competitive debaters and the things they make." />
<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=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
</head>
<body class="index-page">
<header>
<h1><a href="index.html">debate webring</a></h1>
<nav>
<a href="about.html">about</a>
<a href="join.html">join</a>
</nav>
</header>
<div id="app">
<!-- Left panel: search + scrollable list -->
<div id="left-panel">
<div id="search-area">
<input id="search-input" type="text" placeholder="Search by name or url..." autocomplete="off" spellcheck="false" />
<div id="filter-row">
<div class="custom-select" id="filter-type">
<button class="custom-select-trigger" type="button" aria-haspopup="listbox" aria-expanded="false">
<span class="custom-select-label">All types</span>
<svg class="custom-select-chevron" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>
</button>
<div class="custom-select-panel" role="listbox">
<div class="custom-select-option selected" data-value="" role="option">All types</div>
<div class="custom-select-option" data-value="website" role="option">Website</div>
<div class="custom-select-option" data-value="newsletter" role="option">Newsletter</div>
<div class="custom-select-option" data-value="youtube" role="option">YouTube</div>
<div class="custom-select-option" data-value="podcast" role="option">Podcast</div>
<div class="custom-select-option" data-value="other" role="option">Other</div>
</div>
</div>
<div class="custom-select" id="filter-location">
<button class="custom-select-trigger" type="button" aria-haspopup="listbox" aria-expanded="false">
<span class="custom-select-label">All countries</span>
<svg class="custom-select-chevron" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>
</button>
<div class="custom-select-panel" role="listbox">
<div class="custom-select-option selected" data-value="" role="option">All countries</div>
</div>
</div>
</div>
</div>
<div id="site-list"></div>
</div>
<!-- Right panel: constellation map -->
<div id="right-panel">
<svg id="ring-svg" aria-label="Webring constellation"></svg>
<div id="zoom-hint">
<span class="hint-key">scroll to zoom</span>
<span class="hint-sep">·</span>
<span class="hint-key">drag to pan</span>
</div>
<div id="info-card" class="hidden" role="complementary" aria-live="polite">
<div class="card-header">
<div class="card-name" id="card-name"></div>
<span class="card-type" id="card-type"></span>
<button class="card-close" id="card-close" aria-label="Close">×</button>
</div>
<div class="card-meta" id="card-meta"></div>
<div class="card-description" id="card-description"></div>
<div class="card-actions">
<a class="btn-visit" id="card-visit" href="#" target="_blank" rel="noopener">visit →</a>
</div>
</div>
<div id="ring-controls">
<button class="ring-nav-btn" id="prev-btn" aria-label="Previous site">← prev</button>
<span id="ring-counter" aria-live="polite"></span>
<button class="ring-nav-btn" id="next-btn" aria-label="Next site">next →</button>
</div>
</div>
</div>
<script src="sites.js"></script>
<script src="ring.js"></script>
</body>
</html>