index.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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='/node_modules/es6-promise/dist/es6-promise.auto.js'></script>
  13. <script type='text/javascript' src='the.js'></script>
  14. <script type='text/javascript'>
  15. var global = typeof global === "undefined" ? window : global || window;
  16. new Promise(function (resolve, reject) {
  17. require(['app'], resolve, reject);
  18. }).then(function (amber) {
  19. return amber.initialize({
  20. //used for all new packages in IDE
  21. 'transport.defaultAmdNamespace': "amber/website"
  22. }).then(function () {
  23. document.getElementById('version').innerText = 'v' + amber.globals.Smalltalk._version();
  24. });
  25. });
  26. </script>
  27. <script type='text/javascript'>
  28. var _gaq = _gaq || [];
  29. _gaq.push(['_setAccount', 'UA-2246313-6']);
  30. _gaq.push(['_trackPageview']);
  31. (function () {
  32. var ga = document.createElement('script');
  33. ga.type = 'text/javascript';
  34. ga.async = true;
  35. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  36. var s = document.getElementsByTagName('script')[0];
  37. s.parentNode.insertBefore(ga, s);
  38. })();
  39. </script>
  40. </head>
  41. <body>
  42. <div id="wrapper">
  43. <div id="social">
  44. <a class="FlattrButton" style="display:none;" rev="flattr;button:compact" href="http://jtalk-project.org"></a>
  45. <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal"
  46. data-via="NicolasPetton">Tweet</a>
  47. <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  48. <script type="text/javascript">
  49. /* <![CDATA[ */
  50. (function () {
  51. var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
  52. s.type = 'text/javascript';
  53. s.async = true;
  54. s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
  55. t.parentNode.insertBefore(s, t);
  56. })();
  57. /* ]]> */
  58. </script>
  59. </div>
  60. <div id="header">
  61. <img class="logo" src="images/amber.png" alt="Amber"/>
  62. <div class="main">
  63. <h1>Amber</h1>
  64. <h2>A Web developer's best friend.</h2>
  65. </div>
  66. <div id="links">
  67. <a href="https://lolg.it/amber/amber/raw/master/CONTRIBUTORS"><img src="images/github.png"
  68. alt="Github"/></a>
  69. <a href="https://lolg.it/amber/amber/releases"><img src="images/zip.png" alt="Downloads"/></a>
  70. </div>
  71. <ul id="tabs">
  72. <li id="version" style="color:white"></li>
  73. <li><a href="index.html">Overview</a></li>
  74. <li><a href="http://docs.amber-lang.net">Documentation</a></li>
  75. <li><a href="index.html#getinvolved">Get involved</a></li>
  76. <li><a href="learn.html">Interactive tutorial</a></li>
  77. <li><a href="index.html#get-started">Getting Started</a></li>
  78. <li><a target="_blank" href="https://lolg.it/amber/amber">Git</a></li>
  79. </ul>
  80. </div>
  81. </div>
  82. <div class="teaser">
  83. <div class="main">
  84. <h2>A <span class="info">new language</span> and <span class="info">live environment</span> made for the web.
  85. </h2>
  86. <div class="column">
  87. <p>The Amber language is deeply inspired by Smalltalk. It is designed to make client-side development faster
  88. and easier.
  89. Amber includes a live development environment with a class browser, workspace, unit test runner,
  90. transcript, object inspector and debugger.</p>
  91. </div>
  92. <div class="column">
  93. <p>Amber is written in itself, including the compiler, and compiles into efficient JavaScript, mapping
  94. one-to-one with the JS equivalent.</p>
  95. </div>
  96. <div class="clear"></div>
  97. <p class="try">
  98. <button class="huge" onClick="require('amber/helpers').globals.Browser._open()">Try Amber in your browser!
  99. </button>
  100. </p>
  101. </div>
  102. </div>
  103. <div id="content">
  104. <div class="main">
  105. {{ content }}
  106. </div>
  107. </div>
  108. <div id="footer">
  109. <div class="main">
  110. <p>Copyright © 2011-2015 <a href="https://lolg.it/amber/amber/raw/master/CONTRIBUTORS">Amber contributors</a>.
  111. </p>
  112. <p>The content of this website in licensed under <a href="http://creativecommons.org/licenses/by-nc/3.0/">CC-BY-NC
  113. 3.0</a>.</p>
  114. <p>Amber is open-source and released under the <a href="https://lolg.it/amber/amber/raw/master/LICENSE">MIT</a> license.</p>
  115. <p>Thanks for supporting Amber: <a href="http://www.instantiations.com/"><img src="images/VA-Smalltalk-Logo-Hori-Trans.png"></a>.</p>
  116. </div>
  117. </div>
  118. </body>
  119. </html>