Skip to content

Commit

Permalink
Add in octocat.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmarcia committed Sep 23, 2023
1 parent aee9ea9 commit 12b56bd
Show file tree
Hide file tree
Showing 3 changed files with 437 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/GitHubOctocat.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Image from "next/image";

export const GitHubOctocat = () => {
return (
<div className="absolute z-10 right-80 top-60">
<Image src="/octocatwithbody.svg" alt="First Issue" width={384} height={384} />
</div>
);
};
2 changes: 2 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { RepositoryList } from "../components/RepositoryList";
import { useAppData } from "../hooks/useAppData";
import { Navbar } from "../components/Navbar";
import { HeroContainer } from "../components/HeroContainer";
import { GitHubOctocat } from "../components/GitHubOctocat";

export default function Home() {
const { repositories } = useAppData();
Expand All @@ -17,6 +18,7 @@ export default function Home() {
</Head>
<Navbar />
<HeroContainer filter={filter} setFilter={setFilter} />
<GitHubOctocat />
<RepositoryList repositories={repositories} filter={filter} />
</>
);
Expand Down
Loading

0 comments on commit 12b56bd

Please sign in to comment.