feat: Add price databases

This commit is contained in:
Fándly Gergő 2021-01-05 23:09:01 +02:00
parent cf75e7da68
commit 41be8ee976
6 changed files with 58 additions and 5 deletions

View File

@ -11,13 +11,13 @@
<p class="prices_header">Servere virtuale</p> <p class="prices_header">Servere virtuale</p>
<app-price-table data-content="/prices/vps.json"></app-price-table> <app-price-table data-content="/prices/vps.json"></app-price-table>
<p class="prices_header">Servere dedicate</p> <p class="prices_header">Servere dedicate</p>
<app-price-table data-content="/prices/vps.json"></app-price-table> <app-price-table data-content="/prices/dedicated.json"></app-price-table>
<p class="prices_header">Kubernetes</p> <p class="prices_header">Kubernetes</p>
<app-price-table data-content="/prices/vps.json"></app-price-table> <app-price-table data-content="/prices/k8.json"></app-price-table>
<p class="prices_header">Software as a Service</p> <p class="prices_header">Software as a Service</p>
<app-price-table data-content="/prices/vps.json"></app-price-table> <app-price-table data-content="/prices/saas.json"></app-price-table>
<p class="prices_header">Domenii</p> <p class="prices_header">Domenii</p>
<app-price-table data-content="/prices/vps.json"></app-price-table> <app-price-table data-content="/prices/domain.json"></app-price-table>
</div> </div>
</body> </body>
</html> </html>

11
src/prices/dedicated.json Normal file
View File

@ -0,0 +1,11 @@
{
"columns": ["CPU", "Memorie", "SSD", "preț/oră"],
"units": ["", "MB", "TB", "ron"],
"data": [
[32, 256, 8, 16],
[64, 512, 32, 35],
[32, 4096, 64, 55],
[128, 2048, 64, 60],
[128, 4192, 64, 75]
]
}

16
src/prices/domain.json Normal file
View File

@ -0,0 +1,16 @@
{
"columns": ["Domeniu", "preț/an"],
"units": ["", "ron"],
"data": [
[".ro", 45],
[".eu", 45],
[".com", 110],
[".net", 95],
[".bizz", 250],
[".tech", 250],
[".dev", 80],
[".to", 330],
[".fit", 300],
[".guide", 35]
]
}

11
src/prices/k8.json Normal file
View File

@ -0,0 +1,11 @@
{
"columns": ["vCPU", "Memorie", "Transfer de date", "SSD", "preț/oră"],
"units": ["", "MB", "GB", "GB", "ron"],
"data": [
[2, 1024, 1024, 40, 0.18],
[4, 4096, 4096, 100, 1.6],
[8, 8192, 8192, 512, 6.1],
[16, 8192, 8192, 512, 9.1],
[32, 16384, 8192, 2048, 15.7]
]
}

15
src/prices/saas.json Normal file
View File

@ -0,0 +1,15 @@
{
"columns": ["Aplicația", "Max utilizatori", "preț/oră", "preț/GB"],
"units": ["", "", "ron", "ron"],
"data": [
["Moodle", 500, 0.5, 0.08][("Moodle", 1000, 1.3, 0.08)][
("Moodle", 2000, 2.5, 0.08)
][("Big Blue Button", 100, 4.5, 0.08)][("Big Blue Button", 300, 8, 0.08)][
("Big Blue Button", 1000, 20, 0.08)
][("WordPress", 5000, 0.5, 0.12)],
["WordPress", 10000, 1, 0.12],
["GitLab", 10, 1, 0.08],
["GitLab", 50, 1.5, 0.08],
["GitLab", 200, 3, 0.08]
]
}

View File

@ -20,7 +20,7 @@
margin-top: 60px; margin-top: 60px;
&_box { &_box {
max-width: 35%; max-width: 450px;
} }
&_slogan { &_slogan {