change texts

This commit is contained in:
john 2025-05-04 23:24:21 +02:00
parent 74c66e74c9
commit f30829a651

View file

@ -53,7 +53,7 @@ export default function NewPostWidget({ onSubmit, isSubmitting = false }: NewPos
<div className="w-full p-4 border-b border-gray-200">
<textarea
className="w-full p-2 mb-3 resize-none border border-gray-200 rounded-md focus:outline-none focus:border-gray-300"
placeholder="What's happening?"
placeholder="Write something..."
value={content}
onChange={handleContentChange}
rows={3}
@ -86,29 +86,7 @@ export default function NewPostWidget({ onSubmit, isSubmitting = false }: NewPos
className="hidden"
disabled={isSubmitting}
/>
<span className="flex items-center">
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-5 w-5 mr-1"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14"
/>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M14 16l6-6-1.5-1.5L14 13"
/>
</svg>
Add media
</span>
<span className="flex items-center">+ Add media</span>
</label>
<button