Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates! #266

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions _data/toc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Getting Started:
- docs/README.md
- docs/quickstarts.md
- docs/hello-world.md
- docs/development.md
- docs/webhooks.md
Expand Down
Binary file added assets/checks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/comment.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,11 @@ body {
.flex-1 {
flex: 1;
}

.page-section {
padding: 32px;
}

.code {
padding: 10px;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to do these with Primer:

p1 will give you a little padding, p6 will give you a lot of padding.

Binary file added assets/deploy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/pr.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,69 @@ <h2 class="alt-h1 text-center">Explore</h2>
</div>
</div>

<div id="build" class="border-top page-section f4">
<div class="container-lg px-3">
<h2 class="alt-h1 text-center lh-condensed">Quickstarts</h2>
<p class="alt-lead text-center">Apps are easy to write and share.</p>
<p class="text-center">
<a href="/docs/">Get started with this app {% octicon chevron-right %}</a>
</p>

<div class="page-section d-flex flex-column flex-md-row gutter flex-items-center flex-md-items-center">
<div class="col-md-7 hide-md">
<img alt="" src="/assets/comment.png" class="width-fit">
</div>
<div class="col-md-6">
<h3 class="alt-h3 mb-2">Comment on an Issue</h3>
<p class="">
Get started with an app that will post a comment any time an issue is opened.
</p>
<p class="mt-3">
<a href="/docs/">Get started with this app {% octicon chevron-right %}</a>
</p>
</div>
</div>

<div class="page-section d-flex flex-column flex-md-row gutter flex-items-center flex-md-items-center">
<div class="col-md-6">
<h3 class="alt-h3 mb-2">Create a Check</h3>
<p class="">
Get started with an app that creates successful checks on pull requests.
</p>
<p class="mt-3">
<a href="/docs/">Get started with this app {% octicon chevron-right %}</a>
</p>
</div>

<div class="col-md-7 hide-md">
<img alt="" src="/assets/checks.png" class="width-fit">
</div>
</div>

<div class="page-section d-flex flex-column flex-md-row gutter flex-items-center flex-md-items-center">
<div class="col-md-7 hide-md">
<img alt="" src="/assets/pr.png" class="width-fit">
</div>
<div class="col-md-6">
<h3 class="alt-h3 mb-2">Open a Pull Request</h3>
<p class="">
Get started with an app that will open a new pull request when you install it on your repository.
</p>
<p class="mt-3">
<a href="/docs/">Get started with this app {% octicon chevron-right %}</a>
</p>
</div>
</div>

<p class="text-center mb-6">
<a class="btn btn-outline btn-large" href="/docs/">
{% octicon versions class:"mr-2" %}
Browse Quickstarts
</a>
</p>
</div>
</div>

<div id="build" class="border-top page-section f4">
<div class="container-lg px-3">
<h2 class="alt-h1 text-center lh-condensed">Build your own app</h2>
Expand Down