Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"bootstrap": "^5.1.2",
"dotenv": "^16.4.5",
"lodash": "^4.17.21",
"lucide-react": "^0.525.0",
"react": "^17.0.2",
"react-bootstrap": "^1.6.4",
"react-collapse": "^5.1.0",
Expand Down
16 changes: 5 additions & 11 deletions src/components/Navigation.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import React, { useContext, useState } from "react";
import { Container, Pagination } from "react-bootstrap";
import { Container } from "react-bootstrap";

import Filter from "./Buttons/Filter";
import Sort from "./Buttons/Sort";
//Context
import { ThemeContext } from "../Context/themeContext";
import "./Navigation.css";
import Darkmode from "./Buttons/Darkmode";
import {ChevronRight, ChevronLeft} from "lucide-react";

const Navigation = ({
setPageNumber,
Expand Down Expand Up @@ -66,11 +67,8 @@ const Navigation = ({
theme.mode === "light" ? "bg-black" : "bg-white"
} rounded-full flex justify-center items-center`}
>
<div
className={`w-5 h-5 border-r-4 border-b-4 rotate-[130deg] ${
theme.mode === "light" ? "border-white" : "border-black"
} `}
></div>
<ChevronLeft style={{color: "white"}} />

</div>

{paginationItems}
Expand All @@ -83,11 +81,7 @@ const Navigation = ({
theme.mode === "light" ? "bg-black" : "bg-white"
} rounded-full flex justify-center items-center`}
>
<div
className={`w-5 h-5 border-l-4 border-t-4 rotate-[130deg] ${
theme.mode === "light" ? "border-white" : "border-black"
}`}
></div>
<ChevronRight style={{color: "white"}} />
</div>
</div>
</>
Expand Down
4 changes: 0 additions & 4 deletions src/components/SingleCard.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
import { Card, Button } from "react-bootstrap";
import { useState, useEffect, useContext } from "react";
import Avatar from "@material-ui/core/Avatar";
import Emoji from "react-emoji-render";
import backg from "../git9.jpg";
import axios from "axios";
import { isEmpty } from "lodash";
import iconButton from "./../button_icon.png";
import Loading from "./Loading";
import { ThemeContext } from "../Context/themeContext";


const SingleCard = (props) => {
// console.log(props.repo)
const [repo, setRepo] = useState(null);
Expand Down