Add Footer to User Page (#1135)

* Add Footer to User Page

this closes #1016

* Hide Footer when no user.bio

* apply review-bot suggestion

* refine profile footer

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
This commit is contained in:
itsrealfake 2024-05-03 21:55:07 +00:00 committed by GitHub
parent 5c593ce280
commit ed9fc5d3de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,7 @@ export function BioForm ({ handleDone, bio }) {
export function UserLayout ({ user, children, containClassName }) {
return (
<Layout user={user} footer={false} containClassName={containClassName}>
<Layout user={user} footer footerLinks={false} containClassName={containClassName}>
<UserHeader user={user} />
{children}
</Layout>

View File

@ -9,6 +9,7 @@
align-items: center;
justify-content: center;
display: flex;
padding: 2.5rem 0 1rem 0;
}
.createFormContainer {