Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move the landing / dashboard page to an external HTML file
- Loading branch information
1 parent
68d2807
commit 058d5f3
Showing
3 changed files
with
54 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Counterfact</title> | ||
<meta name="description" content="Counterfact dashboard" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<style type="text/css"> | ||
body { | ||
font-family: sans-serif; | ||
|
||
margin: 20vh; | ||
font-size: 3vh; | ||
text-align: center; | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
margin: 0; | ||
line-height: 2em; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Counterfact is running!</h1> | ||
<ul> | ||
<li> | ||
The generated code is at<br /><a href="vscode://file{{basePath}}" | ||
>{{basePath}}</a | ||
> | ||
</li> | ||
<li> | ||
You can explore the API using | ||
<a href="/counterfact/swagger">Swagger UI</a> | ||
</li> | ||
<li> | ||
<a | ||
href="https://github.com/pmcelhaney/counterfact/blob/main/docs/usage.md#generated-code-" | ||
>How does this work?</a | ||
> | ||
</li> | ||
</ul> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters