-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UXIT-2349] FFDW Add Author Bio #1277
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
apps/ffdweb-site/src/app/digest/[slug]/components/AuthorsBio.tsx
Outdated
Show resolved
Hide resolved
apps/ffdweb-site/src/app/digest/[slug]/components/AuthorsBio.tsx
Outdated
Show resolved
Hide resolved
We need to make the bio field required for FFDW. Also, for the article using a combined bio, we should update it to have two separate bios. Please check with Jordan for the copy if needed. For the layout, we can simply duplicate the design of a single bio section for rendering. 🙏🏼 |
@mirhamasala like this? |
…ve formatAuthors in author bio, format separate bios
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nit CR. But this is excellent - Thank you for your patience. ❤️
📝 Description
This PR includes a new
AuthorsBio
component and refactor offormatAuthors
which is now a shared function.NOTE: an edge case we might wanna consider - if only one bio is present, it will still show the names of the both authors in the title (see screenshot below).
Not sure if we want it that way? Or you think it's fine? Currently we are show
AuthorsBio
if at least one bio is present. Quick fix could be if we change the title to something like About the author/s.... but also happy to refactor to show only the names of the authors to have bios. Let me know thoughts 😊📸 Screenshots