|
1 |
| -<section class="phx-hero"> |
2 |
| - <h1><%= gettext "Welcome to %{name}!", name: "Phoenix" %></h1> |
3 |
| - <p>A productive web framework that<br/>does not compromise speed or maintainability.</p> |
4 |
| -</section> |
5 |
| - |
6 |
| -<section class="row"> |
7 |
| - <article class="column"> |
8 |
| - <h2>Resources</h2> |
9 |
| - <ul> |
10 |
| - <li> |
11 |
| - <a href="https://hexdocs.pm/phoenix/overview.html">Guides & Docs</a> |
12 |
| - </li> |
13 |
| - <li> |
14 |
| - <a href="https://github.com/phoenixframework/phoenix">Source</a> |
15 |
| - </li> |
16 |
| - <li> |
17 |
| - <a href="https://github.com/phoenixframework/phoenix/blob/v1.4/CHANGELOG.md">v1.4 Changelog</a> |
18 |
| - </li> |
19 |
| - </ul> |
20 |
| - </article> |
21 |
| - <article class="column"> |
22 |
| - <h2>Help</h2> |
23 |
| - <ul> |
24 |
| - <li> |
25 |
| - <a href="https://elixirforum.com/c/phoenix-forum">Forum</a> |
26 |
| - </li> |
27 |
| - <li> |
28 |
| - <a href="https://webchat.freenode.net/?channels=elixir-lang">#elixir-lang on Freenode IRC</a> |
29 |
| - </li> |
30 |
| - <li> |
31 |
| - <a href="https://twitter.com/elixirphoenix">Twitter @elixirphoenix</a> |
32 |
| - </li> |
33 |
| - </ul> |
34 |
| - </article> |
35 |
| -</section> |
| 1 | +<h2 class="bg-teal white h-25 tc ttu f1 lh-title lh-solid mt0 pa2 pb3 mb0 pb0"> |
| 2 | + Hits! |
| 3 | + <a href="http://hits.dwyl.io/" > |
| 4 | + <img src="http://hits.dwyl.io/homepage.svg" alt="Hit Count" class="pa0 ba bw1 b--white"> |
| 5 | + </a> |
| 6 | +</h2> |
| 7 | +<h4 class="mt0 tc fw5 f5 teal pa2 mb0"> |
| 8 | + The <em>easy</em> way to know how many people are |
| 9 | + <strong><em>viewing</em></strong> your GitHub projects! |
| 10 | +</h4> |
| 11 | + |
| 12 | +<h2 class="mt0 fw5 tc f2 bg-teal white pa2"><em>How?</em></h2> |
| 13 | +<div id="how" class="dn"> |
| 14 | + |
| 15 | + |
| 16 | + <table class="collapse pv2 ph3 w-100"> |
| 17 | + <tr class=""> |
| 18 | + <td class="pv2 ph3 w-40"> |
| 19 | + Input your <strong class="fw5">GitHub Username</strong> |
| 20 | + (<em> <strong class="u">or</strong> org name</em>): |
| 21 | + </td> |
| 22 | + <td class="pv2 ph3 w-40"> |
| 23 | + <input class="input-reset f4 pa2 ba bw1 mr5 w-80" type="text" |
| 24 | + id="username" name="username" placeholder="username" autofocus maxlength="50"> |
| 25 | + </td> |
| 26 | + </tr> |
| 27 | + <tr class=""> |
| 28 | + <td class="pv2 ph3 w-40"> |
| 29 | + Input the <strong class="fw5">GitHub Project/Repository</strong> |
| 30 | + name: |
| 31 | + </td> |
| 32 | + <td class="pv2 ph3 w-40"> |
| 33 | + <input class="input-reset f4 pa2 ba bw1 mr5 w-80" type="text" |
| 34 | + id="repo" name="repo" placeholder="repo/project" maxlength="100"> |
| 35 | + </td> |
| 36 | + </tr> |
| 37 | + </table> |
| 38 | + |
| 39 | + <h3 class="mt3 fw5 tc db f3 bg-teal white pa2">Your Badge <em>Markdown:</em></h3> |
| 40 | +</div> |
| 41 | +<pre id="badge" class="pl2 fw4 ba bw1 pa3 ma2" style="white-space: pre-wrap; word-break: keep-all;"> |
| 42 | + [](http://hits.dwyl.io/{username}/{repo}) |
| 43 | +</pre> |
| 44 | + |
| 45 | +<p class="pl2" id="nojs"> |
| 46 | + Using the above markdown as a template, <br /> |
| 47 | + <em>Replace</em> the <strong class="code">{username}</strong> with <em>your</em> GitHub username <br /> |
| 48 | + <em>Replace</em> the <strong class="code">{repo}</strong> with the repo name. |
| 49 | +</p> |
| 50 | + |
| 51 | +<p class="pl2"> |
| 52 | +<em>Copy</em> the markdown snippet and <em>Paste</em> it into your |
| 53 | +<strong class="code">README.md</strong> file <br /> |
| 54 | + to start tracking the view count on your GitHub project! |
| 55 | +</p> |
| 56 | + |
| 57 | +<h2 class="mt0 fw5 tc f4 bg-teal white pa2 mt5"><em>Recently</em> Viewed Projects (<em>tracked by Hits</em>)</h2> |
| 58 | +<div class="h5 pl2" id='hits'> |
| 59 | + <div style="display:none">Dummy Child Node for insertBefore to work</div> |
| 60 | +</div> |
| 61 | + |
| 62 | +<style> |
| 63 | + .teal { |
| 64 | + color: #4DB6AC; |
| 65 | + } |
| 66 | + .bg-teal { |
| 67 | + background: #4DB6AC; |
| 68 | + } |
| 69 | + body { /* dwyl font */ |
| 70 | + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 71 | + } |
| 72 | +</style> |
0 commit comments