Skip to content

Commit

Permalink
test index.html landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolie Rabideau authored and Jolie Rabideau committed Dec 6, 2023
1 parent f9578a6 commit a56034e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/assets/github-pages-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Platform.Bible API</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 40px;
padding: 20px;
background-color: #f8f8f8;
text-align: center;
}

h1 {
color: #333;
}

a {
display: block;
margin: 20px 0;
padding: 10px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}

a:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<h1>Platform.Bible API</h1>
<a href="papi-components/index.html">Go to papi-components</a>
<a href="papi-dts/index.html">Go to papi-dts</a>
</body>
</html>
4 changes: 3 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
run: touch docs-for-pages/.nojekyll

- name: Add landing page
run: cp README.md docs-for-pages
run: |
cp .github/assets/github-pages-index.html docs-for-pages
mv docs-for-pages/github-pages-index.html docs-for-pages/index.html
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
Expand Down

0 comments on commit a56034e

Please sign in to comment.