Skip to content

Commit

Permalink
Feature: home page (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: juandiego <jcrisanto@zutun.io>
  • Loading branch information
juan-crisanto-qenta and jd-crisanto authored Mar 25, 2024
1 parent 7ea8c19 commit eaa302f
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 12 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
- name: Copy ProWallet docs
run: mkdir -p docs/${{ env.PROWALLET_DIRECTORY }} && cp -r artifacts/* docs/${{ env.PROWALLET_DIRECTORY }}

- name: Copy index.html to root directory
run: cp index.html docs/index.html
- name: Copy index_sample.html to root directory
run: |
cp index_sample.html docs/index.html
cp prowallet_logo.png docs/prowallet_logo.png
- name: Save artifact with build results
uses: actions/upload-artifact@v3
Expand All @@ -55,6 +57,7 @@ jobs:
run: |
mkdir -p dir
cp index.html dir/index.html
cp prowallet_logo.png dir/prowallet_logo.png
- name: Unzip artifact
run: unzip -O UTF-8 -qq ${{ env.PROWALLET_DIRECTORY }}/${{ env.PROWALLET_ARTIFACT }} -d dir/${{ env.PROWALLET_DIRECTORY }}
Expand Down
6 changes: 4 additions & 2 deletions Writerside/cfg/buildprofiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variables>
<primary-color>iris</primary-color>
<custom-favicons>https://guides.qenta.com/_/img/Favicon-QENTA-RGB.png</custom-favicons>
<custom-favicons>https://qenta.com/wp-content/uploads/2023/05/favicon.png</custom-favicons>
<header-logo>qenta_logo.png</header-logo>
<product-web-url>https://qenta.com/</product-web-url>
<product-web-url>https://prowallet.gcoin.com/</product-web-url>
<!--
<download-title>Developer Portal</download-title>
<download-page>https://example.com</download-page>
-->
<showDownloadButton>false</showDownloadButton>
<noindex-content>true</noindex-content>
</variables>
Expand Down
8 changes: 0 additions & 8 deletions index.html

This file was deleted.

157 changes: 157 additions & 0 deletions index_sample.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="https://qenta.com/wp-content/uploads/2023/05/favicon.png" type="image/x-icon" />
<title>Developer Portal | Qenta</title>
<style>
body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: var(--rs-font-family-ui,var(--rs-font-family-jb-sans,"JetBrains Sans",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Droid Sans","Helvetica Neue",Arial,sans-serif));
}
header {
background-color: #303033;
display: flex;
align-items: center;
justify-content: start;
padding: 10px;
gap: 10px;
}
header h4 {
color: white;
margin: 0;
font-weight: var(--rs-font-weight-semi-bold, 530);
line-height: var(--rs-h4-line-height, 24px);
}
section {
padding: 80px 120px;
}
section h1 {
color: #19191c;
font-size: 43px;
}
section h2 {
color: #19191c;
font-size: 32px;
margin-block-end: 1.5em;
}
section p.subtitle {
color: #19191c;
font-size: 29px;
font-weight: 320;
line-height: 39px;
margin-bottom: 50px;
padding-right: 200px;
}
.grid-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.card {
padding: 20px;
border: 1px solid #c1c1c1;
transition: all ease;
min-height: 200px;
display: flex;
flex-direction: column;
align-items: baseline;
justify-content: left;
position: relative;
}
.card:hover {
transform: scale(1.03);
}
.card a {
text-decoration: none;
color: inherit;
}
.card-icon {
top: 10px;
left: 10px;
width: 150px;
}
.card h3 {
text-align: left;
margin-block-start: 1.5em;
margin-block-end: 0.7em;
}
.card p.description {
color: rgba(25,25,28,.7);
font-size: 16px;
font-weight: 400;
line-height: 24px;
}
footer {
font-size: 13px;
background-color: #303033;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;
margin-right: auto;
margin-left: auto;
}

footer a {
color: white;
}

footer div.footer__left {
display: flex;
flex-wrap: wrap;
gap: 10px;
padding-left: 20px;
}

footer div.footer__right {
display: flex;
flex-wrap: wrap;
gap: 10px;
padding-right: 20px;
}

</style>
</head>
<body>
<header>
<img
src="https://developer.qenta.com/prowallet/images/qenta_logo.png"
alt="QENTA Logo"
style="height: 50px; margin-left: 20px; margin-right: 15px;"
/>
<h4>Qenta Documentation</h4>
</header>
<section>
<h1>Qenta Product Documentation</h1>
<p class="subtitle">
Need help? Here is the complete coverage for all the products and services provided by Qenta.
</p>
<h2>Products</h2>
<div class="grid-container">
<div class="card">
<a href="/prowallet">
<img src="prowallet_logo.png" alt="ProWallet icon" class="card-icon">
<h3>ProWallet</h3>
<p class="description">ProWallet allows you to perform mass payments and manage your treasury</p>
</a>
</div>
</div>
</section>
<footer>
<div class="footer__left">
<p>Copyright &copy; Qenta 2024</p>
</div>
<div class="footer__right">
<p>Powered by <a target="_blank" href="https://qenta.com/">Qenta</a></p>
</div>
</footer>
</body>
</html>
Binary file added prowallet_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eaa302f

Please sign in to comment.