You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

289 lines
8.4 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!-- Standard Meta -->
  5. <meta charset="utf-8" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  8. <!-- Site Properities -->
  9. <title>Telegraph</title>
  10. <link rel="stylesheet" type="text/css" href="/semantic-ui/semantic.min.css">
  11. <style type="text/css">
  12. .hidden.menu {
  13. display: none;
  14. }
  15. .masthead.segment {
  16. min-height: 700px;
  17. padding: 1em 0em;
  18. }
  19. .masthead .logo.item img {
  20. margin-right: 1em;
  21. }
  22. .masthead .ui.menu .ui.button {
  23. margin-left: 0.5em;
  24. }
  25. .masthead h1.ui.header {
  26. margin-top: 3em;
  27. margin-bottom: 0em;
  28. font-size: 4em;
  29. font-weight: normal;
  30. }
  31. .masthead h2 {
  32. font-size: 1.7em;
  33. font-weight: normal;
  34. }
  35. .ui.vertical.stripe {
  36. padding: 8em 0em;
  37. }
  38. .ui.vertical.stripe h3 {
  39. font-size: 2em;
  40. }
  41. .ui.vertical.stripe .button + h3,
  42. .ui.vertical.stripe p + h3 {
  43. margin-top: 3em;
  44. }
  45. .ui.vertical.stripe .floated.image {
  46. clear: both;
  47. }
  48. .ui.vertical.stripe p {
  49. font-size: 1.33em;
  50. }
  51. .ui.vertical.stripe .horizontal.divider {
  52. margin: 3em 0em;
  53. }
  54. .quote.stripe.segment {
  55. padding: 0em;
  56. }
  57. .quote.stripe.segment .grid .column {
  58. padding-top: 5em;
  59. padding-bottom: 5em;
  60. }
  61. .footer.segment {
  62. padding: 5em 0em;
  63. }
  64. .secondary.pointing.menu .toc.item {
  65. display: none;
  66. }
  67. @media only screen and (max-width: 700px) {
  68. .ui.fixed.menu {
  69. display: none !important;
  70. }
  71. .secondary.pointing.menu .item,
  72. .secondary.pointing.menu .menu {
  73. display: none;
  74. }
  75. .secondary.pointing.menu .toc.item {
  76. display: block;
  77. }
  78. .masthead.segment {
  79. min-height: 350px;
  80. }
  81. .masthead h1.ui.header {
  82. font-size: 2em;
  83. margin-top: 1.5em;
  84. }
  85. .masthead h2 {
  86. margin-top: 0.5em;
  87. font-size: 1.5em;
  88. }
  89. }
  90. .ui.inverted.segment.masthead {
  91. background-image: url(/assets/telegraph-header.jpg);
  92. background-position: center;
  93. }
  94. .ui.secondary.inverted.pointing.menu, .ui.secondary.pointing.menu {
  95. border: 0;
  96. }
  97. </style>
  98. <script src="/assets/jquery.js"></script>
  99. <script src="/semantic-ui/semantic.min.js"></script>
  100. <script>
  101. $(document)
  102. .ready(function() {
  103. // fix menu when passed
  104. $('.masthead')
  105. .visibility({
  106. once: false,
  107. onBottomPassed: function() {
  108. $('.fixed.menu').transition('fade in');
  109. },
  110. onBottomPassedReverse: function() {
  111. $('.fixed.menu').transition('fade out');
  112. }
  113. })
  114. ;
  115. // create sidebar and attach to menu open
  116. $('.ui.sidebar')
  117. .sidebar('attach events', '.toc.item')
  118. ;
  119. })
  120. ;
  121. </script>
  122. </head>
  123. <body>
  124. <?php
  125. $menu = [
  126. '/' => 'Home',
  127. '/dashboard' => 'Dashboard',
  128. '/api' => 'API',
  129. ];
  130. ?>
  131. <!-- Following Menu -->
  132. <div class="ui large top fixed hidden menu">
  133. <div class="ui container">
  134. <?php foreach($menu as $href=>$name): ?>
  135. <a class="item" href="<?= $href ?>"><?= $name ?></a>
  136. <?php endforeach; ?>
  137. <div class="right menu">
  138. <div class="item">
  139. <a class="ui button" href="/login">Log in</a>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. <!-- Sidebar Menu -->
  145. <div class="ui vertical inverted sidebar menu">
  146. <?php foreach($menu as $href=>$name): ?>
  147. <a class="item" href="<?= $href ?>"><?= $name ?></a>
  148. <?php endforeach; ?>
  149. <a class="item" href="/login">Login</a>
  150. </div>
  151. <!-- Page Contents -->
  152. <div class="pusher">
  153. <div class="ui inverted vertical masthead center aligned segment">
  154. <div class="ui container">
  155. <div class="ui large secondary inverted pointing menu">
  156. <a class="toc item">
  157. <i class="sidebar icon"></i>
  158. </a>
  159. <?php foreach($menu as $href=>$name): ?>
  160. <a class="item" href="<?= $href ?>"><?= $name ?></a>
  161. <?php endforeach; ?>
  162. <div class="right item">
  163. <a class="ui inverted button" href="/login">Log in</a>
  164. </div>
  165. </div>
  166. </div>
  167. <div class="ui text container">
  168. <h1 class="ui inverted header">
  169. Telegraph
  170. </h1>
  171. <h2>Easily send Webmentions from your website</h2>
  172. <a class="ui huge primary button" href="/login">Get Started <i class="right arrow icon"></i></a>
  173. </div>
  174. </div>
  175. <div class="ui vertical stripe segment">
  176. <div class="ui middle aligned stackable grid container">
  177. <div class="row">
  178. <div class="eight wide column">
  179. <h3 class="ui header">We send webmentions for you</h3>
  180. <p>Let Telegraph send webmentions for you. With a simple API, Telegraph will handle sending webmentions to other websites. Let us handle webmention discovery, and retrying on temporary failures. Telegraph will notify your site when a webmention was successfully sent.</p>
  181. <h3 class="ui header">Send webmentions automatically</h3>
  182. <p>You can even let Telegraph subscribe to your feed, and it will send webmentions whenever you publish a new post.</p>
  183. </div>
  184. <div class="six wide right floated column">
  185. <img src="assets/images/wireframe/white-image.png" class="ui large bordered rounded image">
  186. </div>
  187. </div>
  188. <div class="row">
  189. <div class="center aligned column">
  190. <a class="ui huge button" href="/api">API Docs</a>
  191. </div>
  192. </div>
  193. </div>
  194. </div>
  195. <!--
  196. <div class="ui vertical stripe quote segment">
  197. <div class="ui equal width stackable internally celled grid">
  198. <div class="center aligned row">
  199. <div class="column">
  200. <h3>"Nice thing"</h3>
  201. <p>A quote by a nice person</p>
  202. </div>
  203. <div class="column">
  204. <h3>"This makes everything so much easier."</h3>
  205. <p>
  206. <img src="/assets/ben.jpg" class="ui avatar image"> <b>Ben</b> Chief Ben Officer
  207. </p>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. -->
  213. <div class="ui vertical stripe segment">
  214. <div class="ui text container">
  215. <h3 class="ui header">Send Webmentions with a Simple API</h3>
  216. <p>Instead of doing the hard work of sending webmentions yourself, we have a simple API that will handle endpoint discovery, gracefully handle failures and retries, and will let you know whether a webmention was successfully sent. All you have to do is tell us where to send the webmention and we'll take it from there.</p>
  217. <a class="ui large button" href="/api">Read More</a>
  218. <!--
  219. <h4 class="ui horizontal header divider">
  220. Case Studies
  221. </h4>
  222. <h3 class="ui header">Did We Tell You About Our Bananas?</h3>
  223. <p>Yes I know you probably disregarded the earlier boasts as non-sequitor filler content, but its really true. It took years of gene splicing and combinatory DNA research, but our bananas can really dance.</p>
  224. <a class="ui large button">I'm Still Quite Interested</a>
  225. -->
  226. </div>
  227. </div>
  228. <div class="ui inverted vertical footer segment">
  229. <div class="ui container">
  230. <div class="ui stackable inverted divided equal height stackable grid">
  231. <div class="three wide column">
  232. <h4 class="ui inverted header">Telegraph</h4>
  233. <div class="ui inverted link list">
  234. <a href="https://github.com/aaronpk/Telegraph" class="item">Open Source</a>
  235. <a href="https://github.com/aaronpk/Telegraph/issues" class="item">Issues</a>
  236. <a href="http://webmention.net" class="item">About Webmention</a>
  237. </div>
  238. </div>
  239. <div class="three wide column">
  240. <h4 class="ui inverted header">The p3k Suite</h4>
  241. <div class="ui inverted link list">
  242. <a href="https://monocle.p3k.io" class="item">Monocle</a>
  243. <a href="https://quill.p3k.io" class="item">Quill</a>
  244. <a href="https://teacup.p3k.io" class="item">Teacup</a>
  245. <a href="https://switchboard.p3k.io" class="item">Switchboard</a>
  246. <a href="https://atlas.p3k.io" class="item">Atlas</a>
  247. <a href="https://compass.p3k.io" class="item">Compass</a>
  248. </div>
  249. </div>
  250. <div class="seven wide column">
  251. <h4 class="ui inverted header">IndieWebCamp</h4>
  252. <p>You might also be interested in...</p>
  253. </div>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </body>
  259. </html>