Skip to content

Commit

Permalink
Update contents
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jul 14, 2024
1 parent 91d3f7f commit 6fe84a6
Show file tree
Hide file tree
Showing 15 changed files with 129 additions and 562 deletions.
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true

source "https://rubygems.org"

# gem "rails"

gem "jekyll", "~> 4.3"
gem "webrick", "~> 1.8"
90 changes: 90 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
colorator (1.1.0)
concurrent-ruby (1.3.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.0)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
forwardable-extended (2.6.0)
google-protobuf (3.25.3)
google-protobuf (3.25.3-arm64-darwin)
google-protobuf (3.25.3-x86_64-darwin)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (6.0.0)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.1)
strscan
rouge (4.3.0)
safe_yaml (1.0.5)
sass-embedded (1.69.5)
google-protobuf (~> 3.23)
rake (>= 13.0.0)
sass-embedded (1.69.5-arm64-darwin)
google-protobuf (~> 3.23)
sass-embedded (1.69.5-x86_64-darwin)
google-protobuf (~> 3.23)
sass-embedded (1.69.5-x86_64-linux-gnu)
google-protobuf (~> 3.23)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
arm64-darwin
ruby
x86_64-darwin
x86_64-linux

DEPENDENCIES
jekyll (~> 4.3)
webrick (~> 1.8)

BUNDLED WITH
2.5.9
25 changes: 19 additions & 6 deletions _data/pricing.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- title: Paket Lite
style: 'color: indigo'
price: Rp. 100.000
price: 100K
renew: Per Tahun
items:
- icon: fa-hdd
Expand All @@ -13,11 +13,11 @@
text: Tim maks <b>2 akun</b>
- title: Paket Kit
style: 'color: darkblue'
price: Rp. 300.000
price: 300K
renew: Per Tahun
items:
- icon: fa-hdd
text: Kapasitas Disk <b>6 GiB</b>
text: Kapasitas Disk <b>10 GiB</b>
- icon: fa-briefcase
text: Data Transfer Bulanan <b>50 GiB</b>
- icon: fa-business-time
Expand All @@ -26,14 +26,27 @@
text: Tim maks <b>3 akun</b>
- title: Paket Pro
style: 'color: white; background: black; text-shadow: 0 0 15px white'
price: Rp. 1.000.000
price: 600K
renew: Per Tahun
items:
- icon: fa-hdd
text: Kapasitas Disk <b>20 GiB</b>
text: Kapasitas Disk <b>10 GiB</b>
- icon: fa-briefcase
text: Data Transfer Bulanan <b>300 GiB</b>
text: Data Transfer Bulanan <b>200 GiB</b>
- icon: fa-business-time
text: Maksimal <b>25 website</b>
- icon: fa-users
text: Tim maks <b>5 akun</b>
- title: Paket Max
style: 'color: white; background: black; text-shadow: 0 0 15px white'
price: 1800K
renew: Per Tahun
items:
- icon: fa-hdd
text: Kapasitas Disk <b>50 GiB</b>
- icon: fa-briefcase
text: Data Transfer Bulanan <b>500 GiB</b>
- icon: fa-business-time
text: Maksimal <b>100 website</b>
- icon: fa-users
text: Tim maks <b>20 akun</b>
24 changes: 0 additions & 24 deletions _includes/docs-toc.html

This file was deleted.

2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<footer class="site-footer h-card py-5 text-center bg" style="--bg: url(/assets/bg-3.svg);">
<footer class="site-footer h-card py-5 text-center bg" style="--bg: url(/assets/bg/3.svg);">

<ul class="footer-list">
<li><a href="/">Fitur</a></li>
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<a class="nav-link" href="/price">Harga</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/docs/">Dokumentasi</a>
<a class="nav-link" href="https://domcloud.co/docs/intro">Dokumentasi</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/domcloud/domcloud-id/discussions">Diskusi</a>
Expand Down
12 changes: 9 additions & 3 deletions _includes/home/2_slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@
}, {
"val": 250000,
"plan": "Paket Pro",
"price": "Rp. 1.000.000",
"price": "Rp. 600.000",
"desc": "Untuk website ambisius",
"color": "lightblue",
}, {
"val": 500000,
"plan": "Paket Max",
"price": "Rp. 1.800.000",
"desc": "Untuk website dengan bigdata",
"color": "lightblue",
}];
const lerpColor = function (a, b, amount) {
const ar = a >> 16,
Expand All @@ -53,13 +59,13 @@
return (rr << 16) + (rg << 8) + (rb | 0);
};
var f = function (e) {
var v = Math.ceil(Math.pow(e.target.value, 4) * 1000) * 250
var v = Math.ceil(Math.pow(e.target.value, 4) * 1000) * 500
var t = rlist.findIndex(x => x.val >= v);
document.getElementById('rval').innerText = v.toLocaleString();
document.getElementById('rplan').innerText = rlist[t].plan;
document.getElementById('rprice').innerText = rlist[t].price;
document.getElementById('rdesc').innerText = rlist[t].desc;
document.getElementById('rcolor').style.backgroundColor = '#' + lerpColor(0xffffff, 0x000020, e.target.value - 0.1).toString(16);
document.getElementById('rcolor').style.backgroundColor = '#' + lerpColor(0xffffff, 0x000020, e.target.value).toString(16);
document.getElementById('rcolor').style.color = rlist[t].color;
document.getElementById('rcolor').style.boxShadow = `inset 0 0 ${t}px ${t * 2}px ` + rlist[t].color;
};
Expand Down
28 changes: 0 additions & 28 deletions _layouts/docs.html

This file was deleted.

11 changes: 0 additions & 11 deletions docs/cname.md

This file was deleted.

86 changes: 0 additions & 86 deletions docs/index.md

This file was deleted.

Loading

0 comments on commit 6fe84a6

Please sign in to comment.