diff --git a/beta/src/components/Layout/HomeContent.js b/beta/src/components/Layout/HomeContent.js index 56072b320..db0e58bc7 100644 --- a/beta/src/components/Layout/HomeContent.js +++ b/beta/src/components/Layout/HomeContent.js @@ -354,12 +354,14 @@ function Example1() { noMargin={true}>
{`function Comment({ comment }) { return ( -
- - - -

{comment.text}

-
+ + + + {author.name} + + + + ); } `}
@@ -821,10 +823,10 @@ function AddComment() { width: '100%', }}>
- +
{ e.preventDefault(); const formData = new FormData(e.target); @@ -852,12 +854,13 @@ function Comment({comment}) { const {author} = comment; return ( - + {author.name} + ); @@ -869,6 +872,7 @@ function Stack({children, gap}) { style={{ display: 'flex', flexDirection: 'column', + flex: '1', gap, }}> {children} @@ -884,9 +888,15 @@ function Code({children}) { ); } -function Row({children}) { +function Row({children, gap}) { return ( -
+
{children}
); @@ -911,7 +921,6 @@ function Artwork({user}) { return (
+ {saved ? ( + + + + ) : ( + + + + )} +
+ ); +} + function Timestamp({time}) { return (