Closed vingkan closed 8 years ago
Also, it might cool if we had a section on our about page that shows a pretty version of our curriculum scraping progress spreadsheet. It's a frill, but could be fun. I'm not sure where in the project to put it, but this is a JavaScript snippet that can get that data:
var alphaNumericKey = '1jbdx7ImdbcGbpG2AB5V37Rdjj6ABXP5y4fkM0onpRzw';
var url = 'https://spreadsheets.google.com/feeds/cells/' + alphaNumericKey + '/od6/public/values?alt=json-in-script&callback=?';
$.getJSON(url, function(data){
console.log(data);
});
Here is some basic splash content for the about page. I just added placeholders for the first two sections, awaiting a better description. Preview screenshot:
I put styles for the about page in a section of the layout stylesheet:
edumap/app/assets/stylesheets/layout.scss
starting at line 150. The HAML for the contributors section is generated by this spreadsheet. Future contributors can be added here and it will generate the markup to be added to EduMap.