From 41be8ee97666ef7affb0e5a0ff0704f5447dc563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1ndly=20Gerg=C5=91?= Date: Tue, 5 Jan 2021 23:09:01 +0200 Subject: [PATCH] feat: Add price databases --- src/prices.html | 8 ++++---- src/prices/dedicated.json | 11 +++++++++++ src/prices/domain.json | 16 ++++++++++++++++ src/prices/k8.json | 11 +++++++++++ src/prices/saas.json | 15 +++++++++++++++ src/style/index.scss | 2 +- 6 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 src/prices/dedicated.json create mode 100644 src/prices/domain.json create mode 100644 src/prices/k8.json create mode 100644 src/prices/saas.json diff --git a/src/prices.html b/src/prices.html index 47c3767..06fde75 100644 --- a/src/prices.html +++ b/src/prices.html @@ -11,13 +11,13 @@

Servere virtuale

Servere dedicate

- +

Kubernetes

- +

Software as a Service

- +

Domenii

- + diff --git a/src/prices/dedicated.json b/src/prices/dedicated.json new file mode 100644 index 0000000..b9103dd --- /dev/null +++ b/src/prices/dedicated.json @@ -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] + ] +} diff --git a/src/prices/domain.json b/src/prices/domain.json new file mode 100644 index 0000000..140887d --- /dev/null +++ b/src/prices/domain.json @@ -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] + ] +} diff --git a/src/prices/k8.json b/src/prices/k8.json new file mode 100644 index 0000000..9c863b4 --- /dev/null +++ b/src/prices/k8.json @@ -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] + ] +} diff --git a/src/prices/saas.json b/src/prices/saas.json new file mode 100644 index 0000000..d860b73 --- /dev/null +++ b/src/prices/saas.json @@ -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] + ] +} diff --git a/src/style/index.scss b/src/style/index.scss index a050008..e908fe4 100644 --- a/src/style/index.scss +++ b/src/style/index.scss @@ -20,7 +20,7 @@ margin-top: 60px; &_box { - max-width: 35%; + max-width: 450px; } &_slogan {