index.html 5.1 KB

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