From f8cc852478afca2a86f90b80b157031a3563b68f Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Sun, 9 Jul 2017 14:19:10 +0200 Subject: [PATCH] tweaks --- Gemfile | 8 +-- Gemfile.lock | 4 +- _layouts/plugin.html | 41 ++++++------- _plugins/dco.md | 2 +- _sass/colors.scss | 2 +- assets/css/index.scss | 21 ++++++- index.html | 135 ++++++++++++++++++++++++------------------ 7 files changed, 123 insertions(+), 90 deletions(-) diff --git a/Gemfile b/Gemfile index 0151e46..ad1518b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,11 @@ source 'https://rubygems.org' -require 'json' -require 'open-uri' -versions = JSON.parse(open('https://pages.github.com/versions.json').read) +# require 'json' +# require 'open-uri' +# versions = JSON.parse(open('https://pages.github.com/versions.json').read) group :jekyll_plugins do - gem 'github-pages', versions['github-pages'] + gem 'github-pages' #, versions['github-pages'] gem 'jekyll-octicons' gem 'jekyll-livereload' end diff --git a/Gemfile.lock b/Gemfile.lock index a626c80..e013aaf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -163,7 +163,6 @@ GEM gemoji (~> 3.0) html-pipeline (~> 2.2) jekyll (>= 3.0) - json (2.0.3) kramdown (1.13.2) liquid (3.0.6) listen (3.0.6) @@ -207,10 +206,9 @@ PLATFORMS ruby DEPENDENCIES - github-pages (= 140) + github-pages jekyll-livereload jekyll-octicons - json rb-fsevent (= 0.9.8) BUNDLED WITH diff --git a/_layouts/plugin.html b/_layouts/plugin.html index 59a4477..269ec71 100644 --- a/_layouts/plugin.html +++ b/_layouts/plugin.html @@ -4,58 +4,53 @@ layout: default {% include nav.html %} -
+
-
-
-
-
+

{{ page.title }}

-

{{ page.description }}

+

{{ page.description }}

+
+
{% octicon cloud-download width:14 class:"v-align-middle" %} {{ page.installs }}
+
{% octicon star heigh:16 class:"v-align-middle" %} {{ page.stars }}
+
-
-
+
-
+
-
-
+
+
{% for screenshot in page.screenshots limit:1 %} {% endfor %}
+ {% if page.screenshots.size > 1 %}
{% for screenshot in page.screenshots %} -
+
{% endfor %}
+ {% endif %}

Topics

{% for topic in page.topics %} - #{{ topic }} + #{{ topic }} {% endfor %}

About

-

- Author: - - @{{ page.author }} -

Updated: June 12, 2017

-

{{ page.installs | default: 0 }} installs

-

{{ page.stars | default: 0 }} stars

@@ -63,7 +58,7 @@ layout: default
-
+
{{ content }} diff --git a/_plugins/dco.md b/_plugins/dco.md index 2827543..221886e 100644 --- a/_plugins/dco.md +++ b/_plugins/dco.md @@ -1,5 +1,5 @@ --- -title: Certificate of Origin +title: Developer Certificate of Origin description: Enforce the DCO on Pull Requests slug: dco octicon: law diff --git a/_sass/colors.scss b/_sass/colors.scss index 4c413a7..a752e4b 100644 --- a/_sass/colors.scss +++ b/_sass/colors.scss @@ -1,6 +1,6 @@ $brand: (red, #EF4136), (blue, #00B0D8), - (blue-dark, darken(#00B0D8, 25%)), + (blue-dark, darken(#00B0D8, 10%)), (blue-light, lighten(#AFDFE4, 15%)), (orange, #FCBA63); diff --git a/assets/css/index.scss b/assets/css/index.scss index d6b612c..e5b5181 100644 --- a/assets/css/index.scss +++ b/assets/css/index.scss @@ -25,8 +25,9 @@ img { .octicon { display: inline-block; - vertical-align: text-top; + vertical-align: middle; fill: currentColor; + } .cover { @@ -78,3 +79,21 @@ code { border-color: transparent; border-style: solid solid outset; } + +.markdown-body { + h1 { @include alt-h1; } + h2 { @include alt-h2; } + h3 { @include alt-h3; } + + h1, h2, h3 { + margin-top: $spacer-6; + + &:first-child { + margin-top: 0; + } + } + + p { + color: $text-gray; + } +} diff --git a/index.html b/index.html index 0e2c1cd..06e194a 100644 --- a/index.html +++ b/index.html @@ -1,39 +1,45 @@ --- layout: default --- -
-
-
+
+ +
-
-
+
+
-
-

Probot

-

- Why should a human
- do the work of a robot? +
+

Probot

+

+ GitHub Apps to automate
and improve your workflow

-
GitHub Apps to automate and improve your workflow
+

+ Use one of the pre-built open source apps that extend GitHub, or easily build and share your own. +

-
-
-

Explore

-

Replace this with a pitch about all the awesome apps built by the community that you can just use.

+ +
+
+

Discover

+

+ Check out these apps built by the community that extend your project on GitHub. They're all open source and free to use on any project. +

{% for plugin in site.plugins limit:6 %} @@ -56,25 +62,41 @@ layout: default
-

By the community, for the community

-

Find a bunch of really cool plugins built by other people in the community, just for you.

- Explore more plugins +

+ Discover dozens of apps that extend GitHub and improve your workflow. +

+ + {% octicon telescope class:"mr-2" %} + Explore more apps +
-
+
-

Build your own bot

-

Something about how easy it is to get started.

+

Build your own app

+

Apps are easy to write and share.

-
-
-
-

Easily scriptable:

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+ +
+
+

Optimized for GitHub

+

+ Receive webhooks and use the authenticated client to access the GitHub API. Granular permissions give each app access to the data it needs and nothing more. +

+
+
+ +
+
+
+

Easily scriptable

+

Focus on what you want to build. A simple API—built on the latest ES6 JavaScript features—hides the details you don't care about.

-
+
{% highlight javascript %} module.exports = robot => { @@ -87,42 +109,41 @@ module.exports = robot => { }; {% endhighlight %}
+
+
-
- -
-
- @probot commented -
-

Hello World!

+
+
+

+

Apps are first class actors within GitHub.

+
+ +
+ +
+
+ @probot commented
+

Hello World!

- -
-
-
- -
-
-

Full access to the GitHub API

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
-
-

Somethign cool about it

-

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

- -

Somethign cool about it

-

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

- -

Somethign cool about it

-

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum..

+
+
+

Serverless deployment

+

Use one of the hosted apps on any of your GitHub accounts, and deploy your custom apps in minutes.

+

+ + {% octicon cloud-upload class:"mr-1" %} + Deploy Your App + +

+
+
+ +
+
-
-