Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
issue #70: change DO promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsk committed Aug 29, 2018
1 parent 8682251 commit 1984815
Show file tree
Hide file tree
Showing 14 changed files with 308 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/404.html
Expand Up @@ -52,7 +52,7 @@
<div class="content">
<div class="row">
<div class="col-md-5 offset-md-1">
<div class="partners"><a title="https://www.digitalocean.com/" class="partner digitalocean" href="https://click.octolab.net/digitalocean" rel="noopener nofollow"><img src="img/logo/digitalocean.black.svg" alt="Powered by DigitalOcean" /></a><a title="https://www.patreon.com/octolab/memberships" class="partner patreon" href="https://click.octolab.net/patreon" rel="noopener nofollow"><img src="img/logo/patreon.black.svg" alt="Become a Patron" /></a></div>
<div class="partners"><a title="https://www.patreon.com/octolab/memberships" class="partner patreon" href="https://click.octolab.net/patreon" rel="noopener nofollow"><img src="img/logo/patreon.black.svg" alt="Become a Patron" /></a></div>
</div>
<div class="col-md-3 offset-md-1">
<h5>Latest releases</h5>
Expand Down
1 change: 1 addition & 0 deletions docs/css/main.css
Expand Up @@ -10,6 +10,7 @@ footer .fa-heart { color: red; }
.navbar .navbar-brand img { max-height: 100%; }
.navbar .nav-link.active { color: inherit; background-color: rgba(255, 255, 255, 0.1); }

#home .icon.digitalocean img { width: 33%; }
#home .github-vote { padding: 1em 0; }
#home .footer .partner { display: block; margin: 40px auto; text-align: center; }
#home .footer .digitalocean img { width: 100%; }
Expand Down
71 changes: 71 additions & 0 deletions docs/img/logo/digitalocean.horizontal.black.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions docs/img/logo/digitalocean.vertical.black.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions docs/index.html
Expand Up @@ -157,6 +157,12 @@ <h4 class="info-title">Cloud ready</h4>
<h4 class="info-title">Scalable</h4>
<p>You can scale it horizontally without any constraints.</p>
</div>
</div><div class="col-md-4 mr-auto ml-auto">
<div class="info">
<div class="icon digitalocean"><a title="https://www.digitalocean.com/" href="https://click.octolab.net/digitalocean" rel="noopener nofollow"><img src="img/logo/digitalocean.vertical.black.svg" alt="DigitalOcean" /></a></div>
<h4 class="info-title">Works on minimum available droplet</h4>
<p>It has low memory footprint and CPU usage.</p>
</div>
</div></div>
</div>
</div>
Expand Down Expand Up @@ -543,7 +549,6 @@ <h6 class="text-muted">event API, webhooks, debugging and many others...</h6>
frameborder="0" onmousewheel="" width="100%" height="533"
style="background: #ededed;">
</iframe>

<button type="button" class="btn btn-primary btn-lg d-block mx-auto"
data-toggle="modal" data-target="#promote-project">
Promote yours!
Expand Down Expand Up @@ -748,7 +753,7 @@ <h3 class="title">Get in Touch!</h3>
<div class="content">
<div class="row">
<div class="col-md-5 offset-md-1">
<div class="partners"><a title="https://www.digitalocean.com/" class="partner digitalocean" href="https://click.octolab.net/digitalocean" rel="noopener nofollow"><img src="img/logo/digitalocean.black.svg" alt="Powered by DigitalOcean" /></a><a title="https://www.patreon.com/octolab/memberships" class="partner patreon" href="https://click.octolab.net/patreon" rel="noopener nofollow"><img src="img/logo/patreon.black.svg" alt="Become a Patron" /></a></div>
<div class="partners"><a title="https://www.patreon.com/octolab/memberships" class="partner patreon" href="https://click.octolab.net/patreon" rel="noopener nofollow"><img src="img/logo/patreon.black.svg" alt="Become a Patron" /></a></div>
</div>
<div class="col-md-3 offset-md-1">
<h5>Latest releases</h5>
Expand Down
2 changes: 1 addition & 1 deletion docs/promo/index.html
Expand Up @@ -52,7 +52,7 @@
<div class="content">
<div class="row">
<div class="col-md-5 offset-md-1">
<div class="partners"><a title="https://www.digitalocean.com/" class="partner digitalocean" href="https://click.octolab.net/digitalocean" rel="noopener nofollow"><img src="img/logo/digitalocean.black.svg" alt="Powered by DigitalOcean" /></a><a title="https://www.patreon.com/octolab/memberships" class="partner patreon" href="https://click.octolab.net/patreon" rel="noopener nofollow"><img src="img/logo/patreon.black.svg" alt="Become a Patron" /></a></div>
<div class="partners"><a title="https://www.patreon.com/octolab/memberships" class="partner patreon" href="https://click.octolab.net/patreon" rel="noopener nofollow"><img src="img/logo/patreon.black.svg" alt="Become a Patron" /></a></div>
</div>
<div class="col-md-3 offset-md-1">
<h5>Latest releases</h5>
Expand Down
4 changes: 3 additions & 1 deletion site/data/partner.yml
Expand Up @@ -26,7 +26,9 @@ list:
name: DigitalOcean
href: digitalocean
logo:
black: { src: img/logo/digitalocean.black.svg, alt: Powered by DigitalOcean }
horizontal: { src: img/logo/digitalocean.horizontal.black.svg, alt: DigitalOcean }
vertical: { src: img/logo/digitalocean.vertical.black.svg, alt: DigitalOcean }
powered_by: { src: img/logo/digitalocean.powered_by.black.svg, alt: Powered by DigitalOcean }

- &ecwid
id: ecwid
Expand Down
Expand Up @@ -19,6 +19,18 @@ <h4 class="info-title">{{ .title }}</h4>
</div>
</div>
{{- end -}}
{{- with index .Site.Data.partner.find "digitalocean" -}}
<div class="col-md-4 mr-auto ml-auto">
<div class="info">
<div class="icon {{ .id }}">
{{- $text := printf "![%s](%s)" .logo.vertical.alt .logo.vertical.src | markdownify -}}
{{- partial "proxy/click" (dict "page" $ "id" .href "text" $text) -}}
</div>
<h4 class="info-title">Works on minimum available droplet</h4>
<p>It has low memory footprint and CPU usage.</p>
</div>
</div>
{{- end -}}
</div>
</div>
</div>
Expand Down
Expand Up @@ -47,7 +47,6 @@ <h6 class="text-muted">event API, webhooks, debugging and many others...</h6>
frameborder="0" onmousewheel="" width="100%" height="533"
style="background: #ededed;">
</iframe>

<button type="button" class="btn btn-primary btn-lg d-block mx-auto"
data-toggle="modal" data-target="#promote-project">
Promote yours!
Expand Down
1 change: 1 addition & 0 deletions site/themes/materialkit/static/css/main.css
Expand Up @@ -10,6 +10,7 @@ footer .fa-heart { color: red; }
.navbar .navbar-brand img { max-height: 100%; }
.navbar .nav-link.active { color: inherit; background-color: rgba(255, 255, 255, 0.1); }

#home .icon.digitalocean img { width: 33%; }
#home .github-vote { padding: 1em 0; }
#home .footer .partner { display: block; margin: 40px auto; text-align: center; }
#home .footer .digitalocean img { width: 100%; }
Expand Down

0 comments on commit 1984815

Please sign in to comment.