Skip to content

Commit 6f0d23f

Browse files
committed
Fixed #138 + Minor update to ReadMe
- Added `required` attribute to input field which now won't allow users to search with empty input and thus, won't reroute to 404 page. - Generalized Readme.md, it mentioned Hacktoberfest **2022** but the site is dynamic and works well in long-term, so I removed "**2022**".
1 parent a58a65a commit 6f0d23f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Hacktoberfest Projects 🎉
22

3-
A Web app which lets you find eligible repositories for Hacktoberfest 2022!
3+
A Web app which lets you find eligible repositories for Hacktoberfest!
44

55
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
66
[![All Contributors](https://img.shields.io/badge/all_contributors-31-orange.svg?style=flat-square)](#contributors-)

components/Hero.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function Hero() {
6565
placeholder="Search for your language"
6666
className="input input-bordered w-full text-neutral-100 border-2023-bavarian-gold-2 focus:outline-2023-bavarian-gold-2 max-w-xs rounded-tr-none rounded-br-none bg-transparent"
6767
name="search"
68+
required
6869
/>
6970
<button
7071
type="submit"

0 commit comments

Comments
 (0)