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, thecontentfield should be of the corresponding type. - Back link should be shown if
backTextandbackHrefare defined - Title should be
namefield for content typeProject, ortitlefield otherwise - Other fields should be shown if available and defined.