From 2b4f6922854f95805f939f0b4400b0f3323cde01 Mon Sep 17 00:00:00 2001 From: Bhavy_Zala Date: Sat, 27 Jul 2024 22:19:14 +0530 Subject: [PATCH 1/2] Added Hover Style and tilt on footer --- src/components/shared/Footer.jsx | 16 ++++++++++------ src/css/Footer.css | 21 +++++++++++++++++++++ 2 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 src/css/Footer.css diff --git a/src/components/shared/Footer.jsx b/src/components/shared/Footer.jsx index f922034..46ae43e 100644 --- a/src/components/shared/Footer.jsx +++ b/src/components/shared/Footer.jsx @@ -3,6 +3,8 @@ import { NavLink } from "react-router-dom"; import { Context } from "../../context/Context"; import Visitors from "./Visitors"; import { FaGithub, FaHome, FaInfoCircle, FaUser, FaSignInAlt, FaMusic, FaVideo, FaBook, FaNewspaper, FaQuestionCircle, FaRobot } from "react-icons/fa"; +import Tilt from 'react-parallax-tilt'; +import "../../css/Footer.css"; const Footer = () => { const { isDarkMode } = useContext(Context); @@ -13,10 +15,12 @@ const Footer = () => {
- Chanakya Image + + Chanakya Image +
चाणक्य नीति
-
+
Star Us ⭐ @@ -27,10 +31,10 @@ const Footer = () => {

चाणक्य नीति

    -
  • Home
  • -
  • About
  • -
  • Contributors
  • -
  • Login
  • +
  • Home
  • +
  • About
  • +
  • Contributors
  • +
  • Login
diff --git a/src/css/Footer.css b/src/css/Footer.css new file mode 100644 index 0000000..8001345 --- /dev/null +++ b/src/css/Footer.css @@ -0,0 +1,21 @@ + .star-btn a { + transition: transform 0.3s, background-color 0.3s, color 0.3s; + } + + .star-btn a:hover { + transform: scale(1.1); + } + + .list-unstyled li { + margin-bottom: 0.5rem; + } + + .list-unstyled li a { + transition: transform 0.3s ease-in-out; + display: inline-block; + } + + .list-unstyled li a:hover { + transform: scale(1.1); + } + \ No newline at end of file From 931367e665800a28dd84e4125951ac647e06077d Mon Sep 17 00:00:00 2001 From: Bhavy Zala <126322584+zalabhavy@users.noreply.github.com> Date: Sat, 27 Jul 2024 22:25:23 +0530 Subject: [PATCH 2/2] Update Footer.jsx --- src/components/shared/Footer.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/shared/Footer.jsx b/src/components/shared/Footer.jsx index 46ae43e..caef114 100644 --- a/src/components/shared/Footer.jsx +++ b/src/components/shared/Footer.jsx @@ -31,10 +31,10 @@ const Footer = () => {

चाणक्य नीति

    -
  • Home
  • -
  • About
  • -
  • Contributors
  • -
  • Login
  • +
  • Home
  • +
  • About
  • +
  • Contributors
  • +
  • Login