Build a React component that support rendering different types of content. Depending on the content type, a slightly different layout will be shown.
- Website
- Blog
- Project
- Given a
contentType
, thecontent
field should be of the corresponding type. - Back link should be shown if
backText
andbackHref
are defined - Title should be
name
field for content typeProject
, ortitle
field otherwise - Other fields should be shown if available and defined.