tidying the homepage a bit - index for lessons #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was a bit confused by the current homepage, since it wasn't clear to me where the lessons were!
Judging from the name of the repo/url, i am assuming that we'll want to have a number of different lessons in here over time? It made sense to me to have those be in the top bar with links out to other pages in the dropdown, so then it becomes clear that i am "in" one lesson or another by the top nav bar, and then the left bar is what part of the lesson i'm a part of. I would think that this whole site is "lessons" so it wasn't immediately obvious to me that i needed to click 'lessons' to go to the clean code lesson.
I also tidied up the rest of the index page, moved the contributors into a badge like the others, and added a card for the lesson like we have on the package guide. I think the header links are a little goofy just hovering in the center, so i aligned them to the left too.
The thing that i wasn't sure about here is whether the "functions conditionals and checks" is a different lesson than "clean, expressive, code" or whether it was a subsection of it? The folder structure says that it's a subsection, but ig the hierarchy there was a little ambiguous to me so lmk if that's supposed to be considered a separate lesson.