Skip to content

Commit be92b69

Browse files
Update getting-started.md
1 parent 6254386 commit be92b69

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

docusaurus/docs/getting-started.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
---
1+
---<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>FMCSA Dashboard</title>
5+
</head>
6+
7+
<body>
8+
<h1>🚛 FMCSA Scraper Dashboard</h1>
9+
10+
<button onclick="startScrape()">Start Scraper</button>
11+
12+
<p id="status">Idle</p>
13+
14+
<script>
15+
async function startScrape() {
16+
document.getElementById("status").innerText =
17+
"Scraping Started...";
18+
19+
await fetch("/api/scrape");
20+
}
21+
</script>
22+
23+
</body>
24+
</html>
225
id: getting-started
326
title: Getting Started
427
---

0 commit comments

Comments
 (0)