Skip to content

Commit

Permalink
map_howto
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperknot committed Jan 18, 2024
1 parent 6ba719d commit 92c9def
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 2 deletions.
35 changes: 35 additions & 0 deletions website/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -244,3 +244,38 @@ hr {
max-width: 600px;
margin: 50px auto;
}

.plan-table {
max-width: 600px;
width: 100%;
margin: 20px auto 40px;
table-layout: fixed;
border-collapse: collapse;

}

.plan-icon {
font-size: 30px;
}

.plan-name {
font-weight: 700;
}

td {
padding: 10px;
border-bottom: 1px solid #ddd;
text-align: center;
}

tr:nth-child(even) {
background-color: hsl(0, 0%, 98%);
}

/*tr:nth-child(odd) {*/
/* background-color: #ffffff;*/
/*}*/

tr:hover {
background-color: hsl(0, 0%, 96%);
}
2 changes: 1 addition & 1 deletion website/blocks/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It's truly **open-source**: everything, including the full production setup, is

## How can I use it?

<!--map_docs-->
<!--map_howto-->

## How can I donate or support this project?

Expand Down
2 changes: 2 additions & 0 deletions website/blocks/map_howto.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,5 @@
</div>
</div>
</div>

<div id="pricing"></div>
42 changes: 42 additions & 0 deletions website/blocks/support_plans.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<table class="plan-table">
<tr>
<td class="plan-icon">🗡️</td>
<td class="plan-name">Steel Plan</td>
<td class="plan-price">$10 / month</td>
</tr>
<tr>
<td class="plan-icon">🥘</td>
<td class="plan-name">Copper Plan</td>
<td class="plan-price">$20 / month</td>
</tr>
<tr>
<td class="plan-icon">🛎️</td>
<td class="plan-name">Bronze Plan</td>
<td class="plan-price">$40 / month</td>
</tr>
<tr>
<td class="plan-icon">🍴</td>
<td class="plan-name">Silver Plan</td>
<td class="plan-price">$75 / month</td>
</tr>
<tr>
<td class="plan-icon">🏆</td>
<td class="plan-name">Gold Plan</td>
<td class="plan-price">$150 / month</td>
</tr>
<tr>
<td class="plan-icon">💿</td>
<td class="plan-name">Platinum Plan</td>
<td class="plan-price">$250 / month</td>
</tr>
<tr>
<td class="plan-icon">💍</td>
<td class="plan-name">Sapphire Plan</td>
<td class="plan-price">$500 / month</td>
</tr>
<tr>
<td class="plan-icon">💎</td>
<td class="plan-name">Diamond Plan</td>
<td class="plan-price">$1000 / month</td>
</tr>
</table>
2 changes: 1 addition & 1 deletion website/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h1>OpenFreeMap</h1>
<script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
<script src="https://unpkg.com/nouislider@15.7.1/dist/nouislider.min.js"></script>

<script src="map_docs.js"></script>
<script src="map_howto.js"></script>
<script src="support_plans.js"></script>

<script src="https://unpkg.com/prismjs@1.29.0/components/prism-core.min.js"></script>
Expand Down

0 comments on commit 92c9def

Please sign in to comment.