Github pages with url set up Github Page - This doesn't seem to be working yet.Design top navigation with javascript- Blog contents
- Labels
- Embedded code & Examples
Make a logo for the brand- Icons and other cute stuff
Git add/clone/pushAdd favicon - https://stackoverflow.com/questions/35037482/favicon-with-github-pagesReplace logo.jpg with logo.png- Examples of labels you want to copy
- ~~Embed a notebook - export HTML file
Navigate to the notebook file in your terminalMake sure the notebook is savedRun!jupyter nbconvert --to html your_notebook_name.ipynb
from within the notebook - https://stackoverflow.com/questions/35896866/how-to-export-current-notebook-in-html-on-jupyterYou should have an html file inside your notebook now. Move it to your blog source codeEmbed a notebook - iframeadd an <iframe /> tag to the blog page you want to use - https://www.w3schools.com/html/html_iframe.aspset thesrc
attribute to the location of your html file- ~~style the Iframe on the page. In order to make it render the way we like we might have to edit the html file ~~
- Tutorial - http://skulpt.org/using.html
- Add these js includes to your head
<script src="http://www.skulpt.org/js/skulpt.min.js" type="text/javascript"></script>
and<script src="http://www.skulpt.org/js/skulpt-stdlib.js" type="text/javascript"></script>
underneath your jquery include - Add an HTML element on your page with an id
output
- Add the JS in the totorial above to your javascript
- Here's an example of someone using that to embed a game instead https://stackoverflow.com/questions/30581869/embedding-python-game-into-html-using-skulpt
- Tutorial - https://www.intricatecloud.io/2019/07/adding-google-sign-in-to-your-webapp-pt-1/
- Go to the Google API Console - https://console.developers.google.com/apis/dashboard
- Create a new project, or use an existing project if you already have one set up.
- Then click on Credentials -> Create Credentials -> OAuth Client ID
Name: google-auth-demo, Authorized Javascript Origins: https://lua-sketch.github.io/, Authorized Redirect URIs: empty
- Save your Client ID and Client secret
- Add this js include to your head
<script src="https://apis.google.com/js/platform.js" async defer></script>
- Add this js includ to your head
<meta name="google-signin-client_id" content="your-client-id-goes-here">
- Add Html element to your page with the
.g-signin2
classname<div class="g-signin2"></div>
- Add another HTML element on your page with
data-onsuccess
attribute<div class="g-signin2" data-onsuccess="onSignIn"></div>
- Create function in your script called
onSignIn
following the tutorial above - Set a logged in cookie in the onSignIn function - https://www.w3schools.com/js/js_cookies.asp
- Cookies will be stored for your enitre domain, so now on other pages you can read the cookie in javascript and show other elements - https://stackoverflow.com/questions/5639346/what-is-the-shortest-function-for-reading-a-cookie-by-name-in-javascript
// TODO Devon to write a tutorial
// TODO Devon to write a tutorial
Google translate to and from Portuguese - https://www.w3schools.com/howto/howto_google_translate.asp- costs money not worth itEmbedded videos tiktok - https://developers.tiktok.com/doc/Embed, youtube https://www.w3schools.com/html/html_youtube.asp- tiktok isn't our thingQuizzes