Skip to content

Commit

Permalink
ADD: add to favorite functionality, remove from favorite
Browse files Browse the repository at this point in the history
  • Loading branch information
GGalina committed Apr 3, 2024
1 parent dcfa1a4 commit 312769b
Show file tree
Hide file tree
Showing 36 changed files with 1,229 additions and 478 deletions.
225 changes: 225 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 @@ -18,6 +18,7 @@
"react-responsive": "^9.0.2",
"react-router-dom": "^6.21.3",
"react-scripts": "5.0.1",
"react-select": "^5.8.0",
"react-toastify": "^10.0.4",
"styled-components": "^6.1.1",
"web-vitals": "^2.1.4",
Expand Down
17 changes: 11 additions & 6 deletions src/components/Auth/Auth.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
import { FiLogIn, FiLogOut } from "react-icons/fi";
import { useMediaQuery } from 'react-responsive';
import { FiLogIn, FiLogOut } from "react-icons/fi";
import { useAuth } from "../../context/AuthContext";
import { useColor } from '../../context/ColorContext';
import { useModal } from '../../context/ModalContext';
import { useAuth } from "../../context/AuthContext";
import { LogOutAPI } from "../../services/firebaseAPI";
import {
AuthContainer, LoginContainer,
LogIn, Register, LogOutContainer,
LogOutElement, TruncatedName,
Tooltip, WelcomeContainer
LogIn,
Tooltip,
Register,
LogOutElement,
TruncatedName,
AuthContainer,
LoginContainer,
LogOutContainer,
WelcomeContainer
} from "./Auth.styled";

export const Auth = ({ onClickClose }) => {
Expand Down
Loading

0 comments on commit 312769b

Please sign in to comment.