WIP: feature-page #22

Closed
anthony wants to merge 6 commits from feature-page into main
Showing only changes of commit ebff4c020f - Show all commits

View file

@ -76,13 +76,14 @@ export default function URLShortener() {
}
}
return (
<>
<div className="URLShortener-component">
<div className="left-side">
<h1>Paste the URL</h1>
<form className="url-input" onSubmit={ShortenIt}>
<input
type="text"
placeholder="www.example.com"
placeholder="http://www.example.com"
aria-label="URL input field"
value={url}
onChange={(e) => setUrl(e.target.value)}
@ -108,7 +109,8 @@ export default function URLShortener() {
</p>
</div>
</div>
<ToastContainer />
</div>
<ToastContainer />
</>
);
}