Skip to content

Commit

Permalink
Merge pull request #2280 from moreal/docs-landing-page
Browse files Browse the repository at this point in the history
Deploy `index.html` also to gh-pages
  • Loading branch information
moreal authored Nov 1, 2023
2 parents 8ec6acf + e3a87cc commit 84f891e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
dotnet run --project NineChronicles.Headless.Executable -- \
docs \
public/cli
- name: Copy Landing Page to deploy
run: cp Docs/resources/landing.html public/index.html
- name: Copy GraphQL Schema to deploy
run: cp schema.graphql public/schema.graphql
- name: Deploy
Expand Down
25 changes: 25 additions & 0 deletions Docs/resources/landing.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>NineChronicles Headless</title>
<meta charset="UTF-8"/>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="flex min-h-screen min-w-screen justify-center items-center">
<div class="flex flex-col justify-center items-center gap-5">
<p class="bg-gray-700 p-5 text-white text-4xl font-extrabold">NineChronicles.Headless</p>
<span>A headless node to validate, network, operate NineChronicles chain.</span>
<hr class="w-full" />
<div class="flex flex-row justify-center items-center gap-2">
<a href="https://github.com/planetarium/NineChronicles.Headless"><i class="fa fa-github"></i> Repository</a>
<span>|</span>
<a href="https://planetarium.github.io/NineChronicles.Headless/graphql">GraphQL Docs</a>
<span>|</span>
<a href="https://planetarium.github.io/NineChronicles.Headless/cli">CLI Docs</a>
</div>
</div>
</div>
</body>
</html>

0 comments on commit 84f891e

Please sign in to comment.