Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
174 lines (164 loc) · 6.85 KB
/
Copy pathindex.html
File metadata and controls
174 lines (164 loc) · 6.85 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light">
<title>api-example-apps</title>
<link rel="stylesheet" href="styles.css">
<script defer src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
<script>
window.addEventListener("DOMContentLoaded", () => {
if (window.lucide) {
window.lucide.createIcons();
}
});
</script>
</head>
<body>
<header class="app-header">
<div class="brand-lockup">
<div class="brand-mark" aria-hidden="true">A</div>
<div>
<p class="eyebrow">BTAA Geospatial API</p>
<h1>api-example-apps</h1>
</div>
</div>
<nav class="header-actions" aria-label="Project links">
<a class="header-link" href="https://lib-geoportal-prd-web-01.oit.umn.edu/api/docs" target="_blank" rel="noreferrer">
API Docs
</a>
<a class="header-link" href="https://github.com/ewlarson/api-example-apps/blob/main/CONTRIBUTING.md" target="_blank" rel="noreferrer">
Contribute
</a>
</nav>
</header>
<main class="workspace">
<section class="intro-band">
<div>
<p class="section-label">Example apps and starter</p>
<h2>Small, focused demos for API exploration.</h2>
</div>
<p>
Each app is a standalone static page that shows one practical BTAA Geospatial API pattern, with a copyable template for new contributors.
</p>
</section>
<section class="app-grid" aria-label="Example apps and starter template">
<a class="app-card" href="apps/nearby-maps/">
<span class="app-icon" aria-hidden="true">
<i data-lucide="map-pin"></i>
</span>
<span class="app-kicker">Search + distance</span>
<h2>Nearby Maps</h2>
<p>Find map records around a latitude and longitude, rank them by client-side distance, and open the source or BTAA record.</p>
<span class="app-action">
Open app
<i data-lucide="arrow-right" aria-hidden="true"></i>
</span>
</a>
<a class="app-card" href="apps/hexagons/">
<span class="app-icon" aria-hidden="true">
<i data-lucide="hexagon"></i>
</span>
<span class="app-kicker">Map aggregate</span>
<h2>Hexagons</h2>
<p>Explore the API H3 aggregate layer on a Leaflet map, inspect record density, and open hexagon popups.</p>
<span class="app-action">
Open app
<i data-lucide="arrow-right" aria-hidden="true"></i>
</span>
</a>
<a class="app-card" href="apps/provider-bubbles/">
<span class="app-icon" aria-hidden="true">
<i data-lucide="circle-dot"></i>
</span>
<span class="app-kicker">Provider facets</span>
<h2>Provider Bubbles</h2>
<p>Map provider collection counts over campus locations, rank Geoportal holdings, and inspect resource-class facets.</p>
<span class="app-action">
Open app
<i data-lucide="arrow-right" aria-hidden="true"></i>
</span>
</a>
<a class="app-card" href="apps/search-fight/">
<span class="app-icon" aria-hidden="true">
<i data-lucide="search"></i>
</span>
<span class="app-kicker">Keyword comparison</span>
<h2>Search Fight</h2>
<p>Compare two keyword searches by total records, year facets, and sample results from the live API.</p>
<span class="app-action">
Open app
<i data-lucide="arrow-right" aria-hidden="true"></i>
</span>
</a>
<a class="app-card" href="apps/metadata-scorecard/">
<span class="app-icon" aria-hidden="true">
<i data-lucide="gauge"></i>
</span>
<span class="app-kicker">Metadata quality</span>
<h2>Metadata Scorecard</h2>
<p>Open one resource by ID, inspect its OGM metadata, and score field coverage from a CSV scoring matrix.</p>
<span class="app-action">
Open app
<i data-lucide="arrow-right" aria-hidden="true"></i>
</span>
</a>
<a class="app-card" href="apps/btaa-road-trip/">
<span class="app-icon" aria-hidden="true">
<i data-lucide="route"></i>
</span>
<span class="app-kicker">Campus route</span>
<h2>BTAA Road Trip</h2>
<p>Travel east to west across BTAA campuses, then inspect live API map records in a pan-and-zoom display at each stop.</p>
<span class="app-action">
Open app
<i data-lucide="arrow-right" aria-hidden="true"></i>
</span>
</a>
<a class="app-card" href="apps/map-memory/">
<span class="app-icon" aria-hidden="true"><i data-lucide="layers"></i></span>
<span class="app-kicker">Search + thumbnails</span>
<h2>Map Memory</h2>
<p>Choose a city, flip real historic map thumbnails, and find the matching pairs. Explore the library records behind your deck.</p>
<span class="app-action">Open app <i data-lucide="arrow-right" aria-hidden="true"></i></span>
</a>
<a class="app-card" href="templates/example-app/">
<span class="app-icon" aria-hidden="true">
<i data-lucide="blocks"></i>
</span>
<span class="app-kicker">Contributor starter</span>
<h2>Example App Template</h2>
<p>Copy a working search app with API status, error handling, result cards, and links ready to customize.</p>
<span class="app-action">
Open template
<i data-lucide="arrow-right" aria-hidden="true"></i>
</span>
</a>
<article class="app-card app-card-planned">
<span class="app-icon" aria-hidden="true">
<i data-lucide="tags"></i>
</span>
<span class="app-kicker">Facet pattern</span>
<h2>Subject Picker</h2>
<p>Planned demo for letting users start with a topic, then inspect the API filters behind the result set.</p>
<span class="planned-label">Planned</span>
</article>
</section>
<section class="repo-band">
<div>
<p class="section-label">Project shape</p>
<h2>One folder per app, one idea per app.</h2>
</div>
<code>apps/nearby-maps/</code>
<code>apps/hexagons/</code>
<code>apps/provider-bubbles/</code>
<code>apps/search-fight/</code>
<code>apps/metadata-scorecard/</code>
<code>apps/btaa-road-trip/</code>
<code>apps/map-memory/</code>
<code>templates/example-app/</code>
</section>
</main>
</body>
</html>