feat: text

This commit is contained in:
DIYgod
2022-12-05 12:40:10 +00:00
parent 0dd2c1a305
commit bcfdee1d73
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -46,8 +46,7 @@ export const SitePage: React.FC<{
</Head>
{page?.preview && (
<div className="fixed top-0 left-0 w-full text-center text-orange-500 bg-gray-100 py-2 opacity-80 text-sm">
Currently in private preview mode, the content is different from the
public
Currently in private preview mode, public can’t see this
</div>
)}
<article>
+1 -1
View File
@@ -490,7 +490,7 @@ export default function SubdomainEditor() {
name="slug"
value={values.slug}
placeholder={defaultSlug}
label="Page slug"
label={`${isPost ? "Post" : "Page"} slug`}
id="slug"
isBlock
onChange={(e: ChangeEvent<HTMLInputElement>) =>