-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/MonalikaPatnaik/SheEARNS in…
…to Priyansh
- Loading branch information
Showing
21 changed files
with
1,247 additions
and
509 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
|
||
.card-item { | ||
width: 90% ; | ||
height: 350px; | ||
margin-right: 20px; | ||
margin-top: 20px; | ||
margin-bottom: 30px; | ||
position: relative; | ||
border-radius: 20px; | ||
overflow: hidden; | ||
box-shadow: 0 4px 8px #c15feb; | ||
transition: transform 0.5s ,box-shadow 0.5s; | ||
|
||
} | ||
.card-item:hover { | ||
transform: scale(1.1); | ||
box-shadow: 0 6px 12px #c15feb; | ||
} | ||
.title, | ||
.description { | ||
font-family: sans-serif; | ||
} | ||
.card-image { | ||
width: 100%; | ||
height: 100%; | ||
|
||
object-fit: cover; | ||
border-top-left-radius: 20px; | ||
border-top-right-radius: 20px; | ||
} | ||
|
||
.title, | ||
.description { | ||
width: 100%; | ||
text-align: center; | ||
color: black; | ||
font-size: 1.2rem; | ||
opacity: 0.7; | ||
} | ||
|
||
.title { | ||
top: 7%; | ||
text-align: left; | ||
left: 10px; | ||
font-size: 1rem; | ||
font-weight: 200; | ||
} | ||
|
||
.description { | ||
top: 22%; | ||
text-align: left; | ||
left: 10px; | ||
font-size: 1.5rem; | ||
font-weight: 500; | ||
|
||
} | ||
.title, | ||
.description { | ||
display: flex; | ||
position: absolute; | ||
z-index: 10; | ||
flex-direction: column; | ||
padding: 10px; | ||
gap: 0.5rem; | ||
backdrop-filter: blur(25px); | ||
background-color: #c15feb77; | ||
border-radius: 1rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import React, { Component } from "react"; | ||
import Slider from "react-slick"; | ||
import './CardBanner.css'; | ||
|
||
class CardBanner extends Component { | ||
render() { | ||
const { data } = this.props; | ||
|
||
const settings = { | ||
className: "center", | ||
infinite: true, | ||
centerPadding: "60px", | ||
slidesToShow: 3, | ||
swipeToSlide: true, | ||
afterChange: function(index) { | ||
console.log( | ||
`Slider Changed to: ${index + 1}, background: #222; color: #bada55` | ||
); | ||
}, | ||
responsive: [ | ||
{ | ||
breakpoint: 1190, | ||
settings: { | ||
slidesToShow: 2, | ||
infinite: true, | ||
dots: true | ||
} | ||
}, | ||
{ | ||
breakpoint: 600, | ||
settings: { | ||
slidesToShow: 1, | ||
} | ||
} | ||
] | ||
}; | ||
return ( | ||
<div style={{marginTop:25}}> | ||
<Slider {...settings}> | ||
{data.map((item, index) => ( | ||
<div key={index} style={{marginTop:20}}> | ||
<div className="card-item" style={{marginLeft:10}}> | ||
|
||
<img | ||
src={item.image} | ||
|
||
alt={`Item ${index + 1}`} | ||
className="card-image" | ||
/> | ||
<div className="title">{item.title}</div> | ||
<div className="description">{item.description}</div> | ||
</div> | ||
</div> | ||
))} | ||
</Slider> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default CardBanner; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.social_icons a { | ||
color: #ffffff !important; | ||
text-decoration: none; | ||
} | ||
|
||
.social_icons a:hover { | ||
color: #c05093 !important; | ||
transition: all 0.3s ease-in-out; | ||
scale: 1.15; | ||
|
||
} | ||
|
||
.contact_links:hover{ | ||
color: #961663 !important; | ||
scale: 1.03; | ||
margin-left: 7px; | ||
transition: all 0.2s ease-in-out; | ||
} | ||
|
||
#basic-addon2:hover{ | ||
cursor: pointer !important; | ||
color: #be87d5 !important; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
form{ | ||
display: flex; | ||
background-color: white; | ||
width: fit-content; | ||
align-items: center; | ||
} | ||
|
||
form input{ | ||
border: 0; | ||
outline: 0; | ||
padding: 10px 20px; | ||
height:50px; | ||
width: 600px; | ||
font-size: 18px; | ||
} | ||
|
||
form button{ | ||
background: #a77eb9; | ||
border: none; | ||
outline: none; | ||
height: 50px; | ||
width: 100px; | ||
cursor: pointer; | ||
} | ||
span{ | ||
color: #ffffff; | ||
margin-top: 10px; | ||
display: block; | ||
} | ||
form button:hover{ | ||
color: #ffffff; | ||
} | ||
|
||
span #msg{ | ||
color: black; | ||
} |
Oops, something went wrong.