index.html 5.5 KB

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