From a19fd5476a37c715f35e686939b6cc1377cef44e Mon Sep 17 00:00:00 2001 From: Ajay Bansal <2022abansal@gmail.com> Date: Thu, 13 Jul 2023 01:23:49 +0530 Subject: [PATCH 1/4] Resolved the problm of dark mode in footer section --- src/components/Footer/index.jsx | 41 ++++++++++++++++------------ src/components/HeroSection/index.jsx | 2 +- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx index 4902fd2..be9164a 100644 --- a/src/components/Footer/index.jsx +++ b/src/components/Footer/index.jsx @@ -1,5 +1,6 @@ import classNames from 'classnames'; import React from 'react'; +import DarkMode from '../DarkMode'; const socials = [ { @@ -15,28 +16,25 @@ const socials = [ }, ] + const Footer = () => { let borderColor = "#87CEFA"; let centerColor = "#B9D9EB"; + return ( - + ); } +export default Footer; + +// const MyComponent = ({ borderColor, centerColor }) => { +// const gradientClasses = `bg-gradient-to-r from-${borderColor} to-${centerColor}`; -export default Footer; \ No newline at end of file +// return
; +// }; +// export default MyComponent; diff --git a/src/components/HeroSection/index.jsx b/src/components/HeroSection/index.jsx index b70c0c2..53bf039 100644 --- a/src/components/HeroSection/index.jsx +++ b/src/components/HeroSection/index.jsx @@ -12,7 +12,7 @@ const HeroSection = () => { })}> {"Book - {"blueBlob"} + {/* {"blueBlob"} */} {/* Text ... */}
Date: Thu, 13 Jul 2023 21:03:57 +0530 Subject: [PATCH 2/4] Done the changes --- src/components/Footer/index.jsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx index be9164a..785e1fc 100644 --- a/src/components/Footer/index.jsx +++ b/src/components/Footer/index.jsx @@ -1,6 +1,5 @@ import classNames from 'classnames'; import React from 'react'; -import DarkMode from '../DarkMode'; const socials = [ { @@ -18,8 +17,6 @@ const socials = [ const Footer = () => { - let borderColor = "#87CEFA"; - let centerColor = "#B9D9EB"; return (
@@ -104,10 +101,3 @@ const Footer = () => { ); } export default Footer; - -// const MyComponent = ({ borderColor, centerColor }) => { -// const gradientClasses = `bg-gradient-to-r from-${borderColor} to-${centerColor}`; - -// return
; -// }; -// export default MyComponent; From e12d52e49cfb0c81dc9b8bb4e2751d767195907a Mon Sep 17 00:00:00 2001 From: Ajay Bansal <2022abansal@gmail.com> Date: Thu, 13 Jul 2023 23:38:01 +0530 Subject: [PATCH 3/4] Done the changes --- src/components/Footer/index.jsx | 131 ++++++++++++++------------------ 1 file changed, 56 insertions(+), 75 deletions(-) diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx index 785e1fc..dcd0c31 100644 --- a/src/components/Footer/index.jsx +++ b/src/components/Footer/index.jsx @@ -1,103 +1,84 @@ import classNames from 'classnames'; import React from 'react'; +import { Link } from "react-router-dom"; const socials = [ { name: "Github", - svgPath: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z", + svgPath: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z", + viewBox: "0 0 24 24", link: "https://github.com/bsoc-bitbyte/resource-sharing" - }, { name: "LinkedIn", - svgPath: "M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z", + svgPath: "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z", + viewBox: "-80 -50 900 900", link: "https://www.linkedin.com/company/bitbyte-tpc/", }, ] - const Footer = () => { - + let borderColor = "#87CEFA"; + let centerColor = "#B9D9EB"; return ( -
- -
+
+ ); } -export default Footer; + +export default Footer; \ No newline at end of file From 5ef2194a2cd0d76737017a303e6ea0aa12ab1f90 Mon Sep 17 00:00:00 2001 From: Ajay Bansal <2022abansal@gmail.com> Date: Wed, 19 Jul 2023 00:29:29 +0530 Subject: [PATCH 4/4] Make the switch word clearly visible --- src/components/DarkMode/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/DarkMode/index.jsx b/src/components/DarkMode/index.jsx index 32a7cf6..1fb0702 100644 --- a/src/components/DarkMode/index.jsx +++ b/src/components/DarkMode/index.jsx @@ -55,6 +55,7 @@ const DarkMode = () => { "w-7 h-7": true, "mobile:w-6 mobile:h-6": true, })} + style={{ fontSize: '9px' }} /> )