Skip to content

Commit

Permalink
chnged Chkra link to react-router-dom link in footer and their CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
danishkhan424 committed Mar 12, 2024
1 parent 7f8e248 commit 3dc7973
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 99 deletions.
198 changes: 108 additions & 90 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
padding: 0;
font-family: "Anta", sans-serif;
}
/* ********************** NAVBAR ***************************** */
.navbar {
z-index: 20;
border-bottom: 4px solid #1a3676;
Expand All @@ -25,6 +26,26 @@
text-decoration-skip-ink: auto;
text-underline-offset: 0.2em;
}

/* *********************Footer social links ********************** */

.socialLinks a {
transition: transform 0.3s ease;
color: #1a3676;
text-decoration: 1px underline;
text-decoration-skip-ink: auto;
text-underline-offset: 0.2em;
}

.socialLinks a:hover {
text-decoration: 2px underline;
text-decoration-skip-ink: auto;
text-underline-offset: 0.2em;
color: #1a3676;
transform: scale(1.1);
}

/************************* Header ************************** */
.slider-container {
max-width: 97vw;
margin: 0 auto;
Expand Down Expand Up @@ -143,7 +164,6 @@
fill: #1a3676;
}


/* *****************************generate/SingleQuote page css***************************************** */

.quoteFirst {
Expand Down Expand Up @@ -192,7 +212,7 @@
.quoteSecond .shape-fill {
fill: #bee3f8;
}
/* ****************************home section1 page */
/* **************************** home section1 page ********** */

.homeSection1 {
position: absolute;
Expand Down Expand Up @@ -239,7 +259,6 @@
.pagination .active {
transform: scale(1.2);
border: 2px solid #1a3676;

}

/* ********************** Loader ************************* */
Expand All @@ -264,92 +283,91 @@
}
}


/* ********************** For Mobile Devices ****************************** */

@media (max-width: 767px) {
.homeSection1 {
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.aboutWave {
top: 63px;
}
.aboutWave svg {
position: relative;
display: block;
width: calc(239% + 1.3px);
height: 40px;
transform: rotateY(180deg);
}
.quoteFirst {
border-top: 3px solid #bee3f8;
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.blueFour svg {
position: relative;
width: calc(100% + 1.3px);
display: block;
height: 300px;
}
.blueFour {
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.blueFour .shape-fill {
fill: #bee3f8;
}
.blueSecond svg {
width: calc(251% + 1.3px);
height: 500px;
}
.blueSecond {
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.blueSecond svg {
position: relative;
display: block;
width: calc(223% + 1.3px);
height: 110vh;
z-index: 1;
}
.blueFirst svg {
width: calc(221% + 1.3px);
height: 150vh;
z-index: 1;
}
.blueFirst {
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.blueFirst svg {
position: relative;
display: block;
width: calc(220% + 1.3px);
height: 140vh;
z-index: 1;
}
}
@media (max-width: 767px) {
.homeSection1 {
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.aboutWave {
top: 63px;
}
.aboutWave svg {
position: relative;
display: block;
width: calc(239% + 1.3px);
height: 40px;
transform: rotateY(180deg);
}
.quoteFirst {
border-top: 3px solid #bee3f8;
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.blueFour svg {
position: relative;
width: calc(100% + 1.3px);
display: block;
height: 300px;
}
.blueFour {
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}

.blueFour .shape-fill {
fill: #bee3f8;
}
.blueSecond svg {
width: calc(251% + 1.3px);
height: 500px;
}
.blueSecond {
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.blueSecond svg {
position: relative;
display: block;
width: calc(223% + 1.3px);
height: 110vh;
z-index: 1;
}
.blueFirst svg {
width: calc(221% + 1.3px);
height: 150vh;
z-index: 1;
}
.blueFirst {
position: absolute;
top: 63px;
left: 0;
width: 100%;
overflow: hidden;
line-height: 0;
}
.blueFirst svg {
position: relative;
display: block;
width: calc(220% + 1.3px);
height: 140vh;
z-index: 1;
}
}
16 changes: 7 additions & 9 deletions src/components/Footer/SocialLinks.jsx
Original file line number Diff line number Diff line change
@@ -1,45 +1,43 @@
import React from 'react'
import { Flex, Link } from '@chakra-ui/react'
import { Flex } from '@chakra-ui/react'
import { Link } from "react-router-dom"

const SocialLinks = () => {
return (
<Flex
textAlign="center"
mx={"auto"}
gap={5}
className='socialLinks'
justifyContent={"center"}
fontSize={["sm", "md", "lg"]}
fontWeight={"bold"}
my={[10, 10]}
>
<Link
href="https://facebook.com/danishkhan424"
to="https://facebook.com/danishkhan424"
target="_blank"
rel="noopener noreferrer"
>
Facebook
</Link>
|
<Link
href="https://twitter.com/yourpage"
to="https://twitter.com/yourpage"
target="_blank"
rel="noopener noreferrer"
>
Twitter
</Link>
|
<Link
href="https://instagram.com/danish_khan_424"
to="https://instagram.com/danish_khan_424"
target="_blank"
rel="noopener noreferrer"
>
Instagram
</Link>
|
<Link
href="https://linkedin.com/in/danishkhan424"
to="https://linkedin.com/in/danishkhan424"
target="_blank"
rel="noopener noreferrer"
>
LinkedIn
</Link>
Expand Down

0 comments on commit 3dc7973

Please sign in to comment.