1
0

index.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{{ page.title }}</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <meta name="author" content="Nicolas Petton" />
  7. <link rel="stylesheet" type="text/css" href='css/style.css' />
  8. <link rel="stylesheet" type="text/css" href='css/syntax.css' />
  9. <link type="image/x-icon" rel="shortcut icon" href="favicon.ico"/>
  10. <link href='http://fonts.googleapis.com/css?family=Arapey:400italic,400' rel='stylesheet' type='text/css'>
  11. <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
  12. <script type='text/javascript' src='the.js'></script>
  13. <script type='text/javascript'>
  14. require(['app', 'jquery'], function (amber, $) {
  15. amber.initialize({
  16. //used for all new packages in IDE
  17. 'transport.defaultAmdNamespace': "amber-trysmalltalk"
  18. });
  19. $('#version').text('v' + amber.globals.Smalltalk._version());
  20. });
  21. </script>
  22. <script type='text/javascript'>
  23. var _gaq = _gaq || [];
  24. _gaq.push(['_setAccount', 'UA-2246313-6']);
  25. _gaq.push(['_trackPageview']);
  26. (function() {
  27. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  28. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  29. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  30. })();
  31. </script>
  32. </head>
  33. <body>
  34. <div id="wrapper">
  35. <div id="social">
  36. <a class="FlattrButton" style="display:none;" rev="flattr;button:compact" href="http://jtalk-project.org"></a>
  37. <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="NicolasPetton">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  38. <script type="text/javascript">
  39. /* <![CDATA[ */
  40. (function() {
  41. var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
  42. s.type = 'text/javascript';
  43. s.async = true;
  44. s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
  45. t.parentNode.insertBefore(s, t);
  46. })();
  47. /* ]]> */
  48. </script>
  49. </div>
  50. <div id="header">
  51. <img class="logo" src="images/amber.png" alt="Amber"/>
  52. <div class="main">
  53. <h1>Amber</h1>
  54. <h2>A Web developer's best friend.</h2>
  55. </div>
  56. <div id="links">
  57. <a href="https://github.com/amber-smalltalk/amber"><img src="images/github.png" alt="Github"/></a>
  58. <a href="http://github.com/amber-smalltalk/amber/zipball/master"><img src="images/zip.png" alt="Download"/></a>
  59. </div>
  60. <ul id="tabs">
  61. <li id="version" style="color:white"></li>
  62. <li><a href="index.html">Overview</a></li>
  63. <li><a href="http://docs.amber-lang.net">Documentation</a></li>
  64. <li><a href="index.html#getinvolved">Get involved</a></li>
  65. <li><a href="learn.html">Interactive tutorial</a></li>
  66. <li><a href="index.html#get-started">Getting Started</a></li>
  67. <li><a target="_blank" href="https://github.com/amber-smalltalk/amber">Github</a></li>
  68. </ul>
  69. </div>
  70. </div>
  71. <div class="teaser">
  72. <div class="main">
  73. <h2>A <span class="info">new language</span> and <span class="info">live environment</span> made for the web.</h2>
  74. <div class="column">
  75. <p>The Amber language is deeply inspired by Smalltalk. It is designed to make client-side development faster and easier.
  76. Amber includes a live development environment with a class browser, workspace, unit test runner, transcript, object inspector and debugger.</p>
  77. </div>
  78. <div class="column">
  79. <p>Amber is written in itself, including the compiler, and compiles into efficient JavaScript, mapping one-to-one with the JS equivalent.</p>
  80. </div>
  81. <div class="clear"></div>
  82. <p class="try">
  83. <button class="huge" onClick="require('app').globals.Browser._open()">Try Amber in your browser!</button>
  84. </p>
  85. </div>
  86. </div>
  87. <div id="content">
  88. <div class="main">
  89. {{ content }}
  90. </div>
  91. </div>
  92. <div id="footer">
  93. <div class="main">
  94. <p>Copyright © 2011-2014 <a href="http://www.nicolas-petton.fr">Nicolas Petton</a> and <a href="https://github.com/amber-smalltalk/amber/contributors">Amber contributors</a>.</p>
  95. <p>The content of this website in licensed under <a href="http://creativecommons.org/licenses/by-nc/3.0/">CC-BY-NC 3.0</a>.</p>
  96. <p>Amber is released under the <a href="https://github.com/amber-smalltalk/amber/blob/master/LICENSE">MIT</a> license.</p>
  97. </div>
  98. </div>
  99. </body>
  100. </html>