-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e59f45b
commit d03f8f3
Showing
8 changed files
with
54 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import Link from "next/link"; | ||
|
||
export const Footer = () => { | ||
return ( | ||
<footer className="inset-x-0 bottom-0 bg-slate-700 text-center text-vanilla-100 py-3"> | ||
Built with{" "} | ||
<span role="img" aria-label="love"> | ||
❤️ | ||
</span>{" "} | ||
by the{" "} | ||
<Link | ||
href="https://socialimpact.github.com" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="text-violet-100 hover:underline" | ||
> | ||
Github Social Impact Team | ||
</Link>{" "} | ||
& designed by{" "} | ||
<Link | ||
href="https://github.com/designbygia" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="text-violet-100 hover:underline" | ||
> | ||
@designbygia | ||
</Link> | ||
</footer> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
import { FaSearch } from "react-icons/fa"; | ||
|
||
type GeneralFilterProps = { | ||
filter: string | number | readonly string[] | undefined; | ||
setFilter: (filter: string | number | readonly string[] | undefined) => void; | ||
}; | ||
|
||
export const GeneralFilter = ({ filter, setFilter }: GeneralFilterProps) => { | ||
return ( | ||
<input type="text" value={filter} onChange={(e) => setFilter(e.target.value)} placeholder="Search Repositories" className="flex-1 border rounded-sm p-2 mb-4" /> | ||
<div className="flex border bg-vanilla-100 rounded-sm mr-4"> | ||
<FaSearch className="self-center mr-2 ml-2" /> | ||
<input | ||
type="text" | ||
value={filter} | ||
onChange={(e) => setFilter(e.target.value)} | ||
placeholder="Search Repositories" | ||
className="flex-1 rounded-sm p-2" | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters