{activeTab === 'create' ? (
<>
Designs:{' '}
{designs.map((d) => capitalize(d)).join(', ')}
}
>
Pick one or more designs that are featured in this post.Title: {title}
}
>
Give your post a title. A good title is more than just a few words.Slug: {slug}
}
>
The slug is the part of the URL that uniquely identifies the post. We can generate
one based on the title, but you can also customize it.
Main Image: {img}
}
>
The main image will be shown at the top of the post, and as the only image on the
showcase index page.
Main Image Caption: {caption}
}
>
The caption is the text that goes under the main image. Can include
copyrights/credits. Markdown is allowed.
Intro: {intro}
}
>
A brief paragraph that will be shown on post previews on social media and so on.
Additional Images: {Object.keys(extraImages).length}
}
>
{img ? (
<>
Here you can add any images you want to include in the post body.
{Object.keys(extraImages).map((key) => {
const markup =
' +
' "The image caption/title goes here")'
return (
<>
setExtraImg(key, img)}
type="showcase"
subId={key}
img={extraImages[key]}
slug={slug}
/>
{extraImages[key] && (
<>
To include this image in your post, use this markdown snippet:
>
)}
>
)
})}
>
) : (
Please add a main image first
)}
Post body: {body.slice(0, 30) + '...'}
}
>
The actual post body. Supports Markdown.
>
) : (
<>