shoonyatech / frontend.social

Frontend Social website
https://www.frontend.social
MIT License
11 stars 19 forks source link

Course: show github README file as code for a given chapter topic #496

Closed souvikbasu closed 4 years ago

souvikbasu commented 4 years ago

A lot of chapters will not have any code to show. For such chapters show the readme file from github as is as MD content. This is displayed to the right of the chapter topic video box

image

jad837 commented 4 years ago

Hi I would like to work on this under hacktoberfest.

souvikbasu commented 4 years ago

Sure, since hacktoberfest starts from 1 Oct, please ensure to send the PR on or after that date. Please let me know if you need any assistance with setting up the project on your localhost

jad837 commented 4 years ago

How can I recreate the same? I am not able to load any of resource.

souvikbasu commented 4 years ago

Steps to reproduce:

You can connect with us on our slack channel for more discussion where we can help you out: https://shoonya-tech.slack.com/messages/CJ6KZLC9M/

jad837 commented 4 years ago

Hi I was able to recreate issue and what I have found is there are 2 times when the codes are not shown:-

O.T - I am not able to login in the slack workspace for some reason is there any way to invite me on following email jadhavsaurabh037@gmail.com

souvikbasu commented 4 years ago

Sent you slack invite. Please check if you got it. So we need to always show the README file as the default content for the code section in a course page. Later there will be a feature to show the actual code in that space which will override the README file content. "No code is available" is the case when the GitHub repo is not created for that particular course (happens only when the course is in draft state)

souvikbasu commented 4 years ago

fixed