|
1 | | -<html> |
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
2 | 3 | <head> |
3 | 4 | <title>Shell: A Unix Shell in Every Slack Channel</title> |
4 | 5 | <%= partial 'public/partials/_head.html.erb' %> |
5 | 6 | <script src="/scripts/register.js"></script> |
6 | 7 | <script src="/scripts/status.js"></script> |
7 | 8 | <meta name="slack-app-id" content="A01F73M28BF"> |
8 | | - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> |
9 | | - <link rel="icon" href="/favicon.ico" type="image/x-icon"> |
10 | | - <meta name="description" content="Add a rudimentary Unix shell to every Slack channel."/> |
| 9 | + <meta name="description" content="Add a rudimentary Unix shell to every Slack channel."> |
11 | 10 | </head> |
12 | | - <body> |
13 | | - <p class='icon'> |
14 | | - <a href="/"><img src='img/icon.png'></a> |
15 | | - </p> |
16 | | - <p> |
17 | | - <h1>Whoa, a bash shell inside Slack!</h1> |
18 | | - </p> |
19 | | - <p> |
20 | | - Creates a rudimentary file system in every channel.<br>Invite the bot into a channel, try <span style="font-family: Courier">man</span>, <span style="font-family: Courier">ls</span>, and other unix commands. |
21 | | - </p> |
22 | | - <p> </p> |
23 | | - <p id='messages' /> |
24 | | - <p id='register'> |
25 | | - <a href="<%= SlackRubyBotServer::Config.oauth_authorize_url %>?scope=<%= SlackRubyBotServer::Config.oauth_scope_s %>&client_id=<%= ENV['SLACK_CLIENT_ID'] %>"><img alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x"></a> |
26 | | - </p> |
27 | | - <p id='active_teams_count'> </p> |
28 | | - <p> </p> |
29 | | - <p class='image'> |
30 | | - <img src='img/shell.gif'> |
31 | | - </p> |
| 11 | + <body class="site-page"> |
| 12 | + <%= partial 'public/partials/_navigation.html.erb' %> |
| 13 | + <main id="main"> |
| 14 | + <section class="hero page-container" aria-labelledby="hero-title"> |
| 15 | + <div class="hero-intro"> |
| 16 | + <img class="hero-logo" src="/img/icon.png" width="512" height="512" alt="Shell terminal logo"> |
| 17 | + <div> |
| 18 | + <h1 id="hero-title">Shell for Slack</h1> |
| 19 | + <p class="hero-tagline">Whoa, a bash shell inside Slack!</p> |
| 20 | + <p class="hero-description">A rudimentary file system in every channel. Invite the bot into a channel, try <code>man</code>, <code>ls</code>, and other Unix commands.</p> |
| 21 | + <div class="hero-actions"> |
| 22 | + <p id="register"><%= partial 'public/partials/_install_button.html.erb' %></p> |
| 23 | + <a class="secondary-button" href="/help.html#get-started">Get started</a> |
| 24 | + </div> |
| 25 | + <p id="messages" role="status" aria-live="polite"></p> |
| 26 | + <p id="active_teams_count" class="team-count" aria-live="polite"> </p> |
| 27 | + </div> |
| 28 | + </div> |
| 29 | + <figure class="hero-preview"> |
| 30 | + <img src="/img/shell.gif" width="691" height="419" alt="Shell running Unix commands inside a Slack channel"> |
| 31 | + <figcaption>A little command line, right where your team works.</figcaption> |
| 32 | + </figure> |
| 33 | + </section> |
| 34 | + <section class="homepage-section page-container" id="how-to-use" aria-labelledby="how-title"> |
| 35 | + <h2 id="how-title">A shell in every channel</h2> |
| 36 | + <p class="section-intro">Your familiar commands. A shared space to try them.</p> |
| 37 | + <ol class="setup-steps"> |
| 38 | + <li><h3>Add Shell to Slack</h3><p>Connect your workspace using Add to Slack.</p></li> |
| 39 | + <li><h3>Invite <code>@sh</code></h3><p>Invite the bot into a channel to create its own rudimentary file system.</p></li> |
| 40 | + <li><h3>Try a command</h3><p>Start with <code>man</code> or <code>ls</code>. Create files, explore directories, or try the basic <code>vi</code> editor.</p></li> |
| 41 | + </ol> |
| 42 | + <a class="secondary-button" href="/help.html">Explore the commands</a> |
| 43 | + </section> |
| 44 | + <section class="homepage-section page-container narrow-container" id="open-source" aria-labelledby="source-title"> |
| 45 | + <h2 id="source-title">Open source</h2> |
| 46 | + <p>Shell is a shell bot for Slack, built with <a href="https://github.com/slack-ruby/slack-ruby-bot-server-events">slack-ruby-bot-server-events</a>. Explore the code, report an issue, or contribute on <a href="https://github.com/slack-ruby/slack-shellbot">GitHub</a>.</p> |
| 47 | + <p class="install-cta"><%= partial 'public/partials/_install_button.html.erb' %></p> |
| 48 | + </section> |
| 49 | + </main> |
32 | 50 | <%= partial 'public/partials/_footer.html.erb' %> |
33 | 51 | </body> |
34 | 52 | </html> |
35 | | - |
|
0 commit comments