Skip to content

Commit

Permalink
feat: table-black template added
Browse files Browse the repository at this point in the history
  • Loading branch information
davodm committed Oct 9, 2023
1 parent 0904277 commit 0b9b93b
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions static/templates/table-black.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="https://use.typekit.net/sfb0qnc.css">
</head>

<body style="width: 1024px; height: 1024px; max-height: 1024px;background: #141823;margin:0;font-family: halyard-display;color:#FFF;">
<div style="width: 100%; height: 100%; position: relative; display: block;overflow: hidden;">

<img src="../images/logo-bg-half.png" style="position: absolute;left:0;top:112px;z-index:-1;pointer-events: none; height: 800px;">

<div
style="width: 615px; border-radius: 50vh; border: 1px #003940 solid; background:rgba(217, 217, 217, 0.10); display: block; margin: 20px auto;padding-bottom: 10px;">
<h2
style="color: #FFF; font-size: 58px; font-weight: 400; text-align: center;line-height: 1.4;margin:0;">
{{title}}
</h2>
{{#if subtitle}}
<h4
style="color: #DCDCDC; font-size: 26px; font-weight: 300; text-align: center;line-height: 1.4;margin:0;">
{{subtitle}}
</h4>
{{/if}}
</div>

<div style="width:850px; max-height:650px;display: block; margin:20px auto 0 auto;z-index:1;">

<table
style="width:100%; border:0; font-weight:200; font-size:26px;text-align: left;line-height: 2.2;border-collapse: collapse;">
<tr style="border-bottom: 2px #FFF solid;">
<th style="white-space: nowrap;">Token</th>
<th>Average Price</th>
<th>Traded Volume</th>
</tr>
{{#each tokens}}
<tr>
<td style="word-break: break-all;">
<img src="{{icon}}" style="width: 30px; height: 30px; margin-right: 10px; vertical-align: middle;">
{{name}}
</td>
<td>{{price}}</td>
<td>{{volume}}</td>
</tr>
{{/each}}
</table>

<div
style="width:100%;margin-top:80px;font-weight: 300;display: flex;flex-wrap: nowrap;justify-content: space-between;align-items: center;">
<div style="color: #FFF;">
<span style="font-size:25px;">@irancryptomarket</span>
<br>
<span style="font-size:18px;">Last update: {{lastUpdate}}</span>
</div>
<img src="../images/logo-footer-light.png" style="max-width: 300px;max-height: 68px;">
</div>

</div>

</div>
</body>

</html>

0 comments on commit 0b9b93b

Please sign in to comment.