added cobtent to home page

This commit was merged in pull request #5.
This commit is contained in:
victorAnumudu
2025-04-07 16:13:58 +01:00
parent d9cd1375e1
commit a9f22234eb
3 changed files with 66 additions and 10 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
import React from 'react'
export default function InputText({id, name, type='text', value, handleChange}) {
export default function InputText({id, name, type='text', placeholder, value, handleChange}) {
return (
<div className='w-full h-10 round overflow-hidden'>
<input id={id} name={name} type={type} value={value} onChange={handleChange} className='p-2 w-full h-full text-black outline-0 ring-0 border border-slate-400 focus:border-purple-600 rounded' />
<div className='w-full h-12 overflow-hidden'>
<input id={id} name={name} type={type} value={value} placeholder={placeholder} onChange={handleChange} className='p-2 w-full h-full text-black outline-0 ring-0 border border-slate-300 focus:border-purple-600 rounded-md' />
</div>
)
}