learn.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>Learn Smalltalk with ProfStef</title>
  6. <link href='http://fonts.googleapis.com/css?family=Istok+Web' rel='stylesheet' type='text/css'>
  7. <meta name="author" content="Nicolas Petton">
  8. <link rel="stylesheet" type="text/css" href="css/profstef.css">
  9. <script type='text/javascript' src='/node_modules/es6-promise/dist/es6-promise.auto.js'></script>
  10. <script type='text/javascript' src='the.js'></script>
  11. <script type='text/javascript'>
  12. var global = typeof global === "undefined" ? window : global || window;
  13. new Promise(function (resolve, reject) {
  14. require(['app', 'jquery'], resolve, reject);
  15. }).then(function (amber) {
  16. var $ = require('jquery');
  17. amber.initialize({
  18. //used for all new packages in IDE
  19. 'transport.defaultAmdNamespace': "amber/website"
  20. }).then(function () {
  21. $('#tutorial').empty();
  22. $('#version').text('v' + amber.globals.Smalltalk._version());
  23. amber.globals.TrySmalltalkWidget._new()._appendToJQuery_(jQuery('#tutorial'));
  24. });
  25. });
  26. </script>
  27. </head>
  28. <body>
  29. <div class="main">
  30. <a id="back" href="/"> &larr; back to amber-lang.net </a>
  31. <div>Amber <span id="version" style="color:red"></span></div>
  32. <img src="images/profstef.png"/>
  33. <h1>Hey there! Got 5 minutes? I'm prof Stef and I want to teach you Smalltalk. I promise, it won't take long!</h1>
  34. <div id="tutorial"><h2>Loading...</h2></div>
  35. </div>
  36. <div id="footer">
  37. <div class="main">
  38. <p>Copyright &copy; 2011-2015 <a href="http://www.nicolas-petton.fr/">Nicolas Petton</a>. The content of this
  39. website in licensed under <a href="http://creativecommons.org/licenses/by-nc/3.0/">CC-BY-NC 3.0</a>.</p>
  40. <p>Amber is an open-source project generously helped by <a href="http://www.instantiations.com/"><img src="images/VA-Smalltalk-Logo-Hori-Trans.png"></a>.</p>
  41. </div>
  42. </div>
  43. </body>
  44. </html>