You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm conflicted on this. On one hand, you've got a point. Presenting the output of different code feels like "cheating" and will lead many users to think they're not looking at a real example.
On the other hand, it's hard to have both a pretty-looking example and some pretty-looking code.
As a possible compromise, we could:
Get rid of the image
Get rid of all classes
Use external CSS to select the elements
Then, the component code would be the same as the displayed code, and the result would still look good. Thoughts?
What if we leave the component and displayed code as is, then create a new example with the exact implementation (text, ferris, style) and add a comment in the component code telling about the location of the actual code.
This snippet:
docsite/snippets/homepage.rs
Lines 1 to 9 in a97cd40
Does not match the actual implementation and thus it raises some questions from the new-comers:
docsite/src/components/homepage/hero.rs
Lines 46 to 81 in a97cd40
The text was updated successfully, but these errors were encountered: