diff --git a/components/Footer.tsx b/components/Footer.tsx
new file mode 100644
index 00000000..c04a451c
--- /dev/null
+++ b/components/Footer.tsx
@@ -0,0 +1,30 @@
+import Link from "next/link";
+
+export const Footer = () => {
+ return (
+
+ );
+};
diff --git a/components/GeneralFilter.tsx b/components/GeneralFilter.tsx
index 632f1ab6..efcaa872 100644
--- a/components/GeneralFilter.tsx
+++ b/components/GeneralFilter.tsx
@@ -1,3 +1,5 @@
+import { FaSearch } from "react-icons/fa";
+
type GeneralFilterProps = {
filter: string | number | readonly string[] | undefined;
setFilter: (filter: string | number | readonly string[] | undefined) => void;
@@ -5,9 +7,15 @@ type GeneralFilterProps = {
export const GeneralFilter = ({ filter, setFilter }: GeneralFilterProps) => {
return (
- setFilter(e.target.value)} placeholder="Search Repositories" className="flex-1 border rounded-sm p-2 mb-4" />
+
+
+ setFilter(e.target.value)}
+ placeholder="Search Repositories"
+ className="flex-1 rounded-sm p-2"
+ />
+
);
};
-
-
-
diff --git a/components/GitHubOctocat.tsx b/components/GitHubOctocat.tsx
index 928f4075..56a9abf4 100644
--- a/components/GitHubOctocat.tsx
+++ b/components/GitHubOctocat.tsx
@@ -2,8 +2,8 @@ import Image from "next/image";
export const GitHubOctocat = () => {
return (
-
-
+
+
);
};
diff --git a/components/HappyCommitsInfo.tsx b/components/HappyCommitsInfo.tsx
index ef63a0ae..2fb47746 100644
--- a/components/HappyCommitsInfo.tsx
+++ b/components/HappyCommitsInfo.tsx
@@ -6,7 +6,7 @@ type FilterProps = {
export const HappyCommitsInfo = ({filter, setFilter}: FilterProps) => {
return (
-
+
return (
-
+
diff --git a/components/RepositoryMetadata.tsx b/components/RepositoryMetadata.tsx
index d03bd9b7..4b00bdfa 100644
--- a/components/RepositoryMetadata.tsx
+++ b/components/RepositoryMetadata.tsx
@@ -15,7 +15,7 @@ export const RepositoryMetadata = ({
repositoryTopics
}: RepositoryMetadataProps) => {
return (
-
+
Issues:{" "}
@@ -37,7 +37,7 @@ export const RepositoryMetadata = ({
-
+ {repositoryTopics && repositoryTopics.length > 0 &&
Label:
@@ -46,7 +46,7 @@ export const RepositoryMetadata = ({
{repositoryTopics && repositoryTopics.map(topic => topic.display).join(', ')}
-
+
}
Last activity:
diff --git a/pages/index.tsx b/pages/index.tsx
index 6bbb2b27..39e47f9f 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -6,6 +6,7 @@ import { useAppData } from "../hooks/useAppData";
import { Navbar } from "../components/Navbar";
import { HeroContainer } from "../components/HeroContainer";
import { GitHubOctocat } from "../components/GitHubOctocat";
+import { Footer } from "../components/Footer";
export default function Home() {
const { repositories } = useAppData();
@@ -20,6 +21,7 @@ export default function Home() {
+
>
);
}