Skip to content

Commit

Permalink
Update Download page
Browse files Browse the repository at this point in the history
  • Loading branch information
gcolliso committed Jul 23, 2020
1 parent b8c5e61 commit 7856a54
Show file tree
Hide file tree
Showing 16 changed files with 398 additions and 60 deletions.
7 changes: 4 additions & 3 deletions assets/sass/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ $colors: mergeColorMaps(("primary-dark": ($nats-dark-blue, $white), "light-green
@import "bulma/sass/components/card"
@import "bulma/sass/components/dropdown"
@import "bulma/sass/components/level"
// @import "bulma/sass/components/list"
@import "bulma/sass/components/list"
@import "bulma/sass/components/media"
// @import "bulma/sass/components/menu"
// @import "bulma/sass/components/message"
Expand Down Expand Up @@ -189,6 +189,7 @@ $colors: mergeColorMaps(("primary-dark": ($nats-dark-blue, $white), "light-green
font-style: normal !important

table tr td
font-size: 1.1rem
+desktop
min-width: 20rem
+mobile
Expand All @@ -215,7 +216,7 @@ $colors: mergeColorMaps(("primary-dark": ($nats-dark-blue, $white), "light-green
background-color: $light

.background-con
background: url(/img/home-background.jpg) repeat-x center 150px
background: url(/img/home-background.jpg) repeat-x center 225px

.has-top-margin
margin-top: 2rem
Expand Down Expand Up @@ -248,7 +249,7 @@ $colors: mergeColorMaps(("primary-dark": ($nats-dark-blue, $white), "light-green
padding-right: .5em
margin-bottom: 0rem;

.fa-star
//.fa-star
color: $nats-blue
//Blog Pagination
Expand Down
2 changes: 1 addition & 1 deletion content/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ NATS is unique in its simplicity and performance, and as a result powers some of

Our roadmap represents coming features lined up for the future of NATS. We are excited to bring these advances to the NATS community and look forward to your valuable input. Please contact us at [info@nats.io](mailto:info@nats.io) or join our Slack channel with any questions, comments, or requests.

{{< figure src="/img/roadmap.png" width="90%" alt="NATS roadmap" caption="NATS Roadmap" >}}
{{< figure src="/img/roadmap.png" width="90%" alt="NATS roadmap" >}}

---

Expand Down
14 changes: 8 additions & 6 deletions content/download/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@ Here you will find the NATS Server (for simple, fast publish-subscribe), NATS St

Also available are a wide variety of community contributed clients, connectors, and utilities. We are always happy to receive contributions to review - send us a PR, or contact us at [info@nats.io](mailto:info@nats.io) to share what you have built with us!

{{< clients >}}
## Servers

---
# Clients
To add a new client, you can submit a pull request to update the contents of [this file](https://github.com/nats-io/nats-site/blob/master/data/addons.toml).
{{< servers >}}

## Clients
To add a new client, you can submit a pull request to update the contents of [this file](https://github.com/nats-io/nats-site/blob/master/data/addons.toml).

### NATS Clients
{{< client_glc >}}

---
### NATS Streaming Clients
{{< streaming_client_glc >}}

# Connectors and Utilities
## Connectors and Utilities

To add a new connector or utility, you can submit a pull request to update the contents of [this file](https://github.com/nats-io/nats-site/blob/master/data/addons.toml).

Expand Down
72 changes: 44 additions & 28 deletions data/language.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ name = "C"
org = "nats-io"
repo= "nats.c"
suported = true
author = "Synadia"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = '2.1.0'
release_date = '2019-10-02'
Expand All @@ -38,7 +38,7 @@ org = "nats-io"
repo= "stan.c"
streaming_support = true
suported = true
author = "Synadia"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = '2.1.0'
release_date = '2019-10-02'
Expand All @@ -60,8 +60,8 @@ org = "nats-io"
repo = "nats.net"
supported = true
streaming_support = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.10.0"
release_date = "2019-11-18"
[[language.c-sharp.orgs]]
Expand All @@ -79,8 +79,8 @@ name = "Crystal"
org = "nats-io"
repo = "nats.cr"
supported = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.0.0"
release_date = "2019-09-10"
[[language.crystal.orgs]]
Expand All @@ -98,8 +98,8 @@ name = "Elixir"
org = "nats-io"
repo = "nats.ex"
supported = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.6.1"
release_date = "2019-03-03"
[[language.elixir.orgs]]
Expand Down Expand Up @@ -138,11 +138,19 @@ name = "Go"
org = "nats-io"
repo = "nats.go"
supported = true
streaming_support = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "1.7.2"
release_date = "2019-02-21"
[[language.go.orgs]]
org = "nats-io"
repo = "stan.go"
supported = true
streaming_support = true
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.7.0"
release_date = "2020-06-23"

[language.haskell]
name = "Haskell"
Expand All @@ -162,8 +170,8 @@ org = "nats-io"
repo = "nats.java"
supported = true
streaming_support = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "2.6.0"
release_date = "2019-07-22"
[[language.java.orgs]]
Expand Down Expand Up @@ -252,8 +260,8 @@ name = "NGINX"
org = "nats-io"
repo = "nginx-nats"
supported = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_date = "2015-08-18"

[language.nodejs]
Expand All @@ -262,20 +270,28 @@ name = "Node.js"
org = "nats-io"
repo = "node-nats"
supported = true
streaming_support = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "1.2.6"
date = "2019-03-29"
[[language.nodejs.orgs]]
org = "nats-io"
repo = "stan.js"
supported = true
streaming_support = true
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.3.2"
date = "2020-05-12"

[language.pureruby]
name = "Pure Ruby"
[[language.pureruby.orgs]]
org = "nats-io"
repo = "pure-ruby-nats"
supported = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.6.0"
release_date = "2019-06-19"

Expand All @@ -296,8 +312,8 @@ org = "nats-io"
repo = "nats.py"
supported = true
streaming_support = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.9.2"
release_date = "2019-05-31"

Expand All @@ -307,8 +323,8 @@ name = "Python Tornado"
org = "nats-io"
repo = "python-nats"
supported = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.8.0"
release_date = "2018-09-22"

Expand Down Expand Up @@ -339,8 +355,8 @@ org = "nats-io"
repo = "ruby-nats"
supported = true
streaming_support = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "0.11.0"
release_date = "2019-06-09"

Expand Down Expand Up @@ -384,7 +400,7 @@ name = "TypeScript"
org = "nats-io"
repo = "ts-nats"
supported = true
author = "Synadia"
link = "https://synadia.com"
author = "NATS Authors"
link = "https://github.com/nats-io"
release_version = "1.0.4"
release_date = "2018-08-27"
27 changes: 27 additions & 0 deletions data/servers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- title: NATS Server
org: nats-io
repo: nats-server
language: Go
author:
name: Synadia
link: https://synadia.com
release:
version: '2.1.4'
date: '2020-01-31'
docker: nats
prefix: nats-server
official: true
- title: NATS Streaming Server
org: nats-io
repo: nats-streaming-server
language: Go
author:
name: Synadia
link: https://synadia.com
release:
version: '0.17.0'
date: '2020-02-11'
docker: nats-streaming
prefix: nats-streaming
official: true
streaming_support: true
6 changes: 2 additions & 4 deletions layouts/download/server.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

{{ partial "hero.html" . }}

<section class="section">
<div class="container">

<div class="columns">
{{ $repo := printf "%s/%s" $org $repo }}
{{ $link := printf "https://github.com/%s" $repo }}
Expand Down Expand Up @@ -112,8 +111,7 @@
</div>
</div>
</div>
</div>
</section>


<section class="section">
{{ partial "download/clients.html" . }}
Expand Down
19 changes: 14 additions & 5 deletions layouts/partials/download/clients.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{{ $clients := site.Data.clients }}
{{ $streaming := (slice) }}
{{/* Template for the client listing on every page in the /download domain */}}

{{ $isMain := eq $.Page.Title "Download" }}
{{ $clients := site.Data.clients }} {{/* All clients */}}
{{ $streaming := (slice) }} {{/* Assemble a list of streaming clients */}}
{{ range $clients }}
{{ $this := . }}
{{ range .clients }}
Expand All @@ -9,21 +12,21 @@
{{ end }}
{{ end }}



<div class="container content">
<div class="columns is-variable is-8">
<div class="column is-two-thirds">
<p class="is-size-3 has-text-weight-bold">
NATS
</p>

{{ if not $isMain }}
<div class="buttons">
<span class="icon is-medium"><a class="button is-primary has-text-weight-bold" href="/download/nats-server">
<i class="fas fa-download"></i></span>
<span>NATS Server</span>
</a>
</div>
{{ end }}


<div class="buttons has-addons">
Expand All @@ -41,12 +44,14 @@
NATS Streaming
</p>

{{ if not $isMain }}
<div class="buttons">
<span class="icon is-medium"><a class="button is-light-green has-text-weight-bold" href="/download/nats-streaming-server">
<i class="fas fa-download"></i></span>
<span>NATS Streaming Server</span>
</a>
</div>
{{ end }}

<div class="buttons has-addons">
{{ range $streaming }}
Expand All @@ -55,8 +60,10 @@
</div>
</div>
</div>
</div>

</div>

{{/* Inline template for each client button */}}
{{ define "client" }}
{{ $title := .Title }}
{{ $lang := cond (isset . "language") .language .language_alt }}
Expand All @@ -67,3 +74,5 @@
</a>
{{ end }}



2 changes: 2 additions & 0 deletions layouts/partials/download/github-embed.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
<a class="github-button" href="{{ $repo }}/subscription" data-icon="octicon-eye" aria-label="Watch {{ .repo }} on GitHub" data-show-count="true">Watch</a>
<a class="github-button" href="{{ $repo }}" data-icon="octicon-star" aria-label="Star {{ .repo }} on GitHub" data-show-count="true">Star</a>
<a class="github-button" href="{{ $repo }}/fork" data-icon="octicon-repo-forked" aria-label="Fork {{ .repo }} on GitHub" data-show-count="true">Fork</a>
<a class="github-button" href="{{ $repo }}" aria-label="View {{ .repo }} on GitHub" >View on GitHub</a>

</div>
7 changes: 7 additions & 0 deletions layouts/partials/download/github_embed_clients.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{{ $repo := printf "https://github.com/%s" .repo }}

<div class="github-embed">
<a class="github-button" href="{{ $repo }}" aria-label="View {{ .repo }} on GitHub" >View on GitHub</a>
<a class="github-button" href="{{ $repo }}" data-icon="octicon-star" aria-label="Star {{ .repo }} on GitHub" data-show-count="true">Star</a>

</div>
Loading

0 comments on commit 7856a54

Please sign in to comment.