Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
virajchandra51 committed Oct 4, 2023
1 parent 15014c1 commit 6249b4d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/assets/data/eventsData.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import event1 from "../images/event1.png";
import event2 from "../images/event2.jpeg";
import e from '../images/dummye.jpeg';
import e from '../images/dummye.png';

const events = [
{
Expand Down
Binary file removed src/assets/images/dummye.jpeg
Binary file not shown.
Binary file added src/assets/images/dummye.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions src/components/eventCard/EventCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

.codeutsava__section3-card {
position: relative;
padding: 2rem;
padding: 1.5rem;
background-image: url("../../assets/images/bg-eventCard.png");
background-repeat: no-repeat;
background-size: cover;
display: flex;
flex-direction: column;
margin: 1.5rem 2.5rem;
margin: 1.5rem 3rem;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
color: black;
Expand Down Expand Up @@ -121,13 +121,8 @@
.codeutsava__section3-card {
margin: 0;
}
.codeutsava__section3-cardTitle{
font-weight: 700;
font-size:200 ;
}

.codeutsava__section3-cardTitle {
font-size: large;
font-weight: 700;
margin-top: 0.5rem;
}

Expand Down
1 change: 0 additions & 1 deletion src/pages/home/sections/section1/Section1.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@

.codeutsava__section1-image {
width: 100%;
z-index: 1;
display: flex;
justify-content: center;
}
Expand Down
25 changes: 9 additions & 16 deletions src/pages/home/sections/section3/Section3.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import frank from "../../../../assets/images/frakenstein.png";

import axios from "axios";

import downArrow from "../../../../assets/images/downArrow.svg";

const Section3 = () => {
const url = baseUrl + "events/" + previousYear;
Expand Down Expand Up @@ -123,17 +124,17 @@ const Section3 = () => {

const leftArrowStyle = {
position: "absolute",
top: "40%",
opacity: "0.5",
top: "45%",
opacity: "0.8",
cursor: "pointer",
zIndex: 1,
left: "32px",
};

const rightArrowStyles = {
position: "absolute",
top: "40%",
opacity: "0.5",
top: "45%",
opacity: "0.8",
cursor: "pointer",
zIndex: 1,
right: "32px",
Expand Down Expand Up @@ -169,20 +170,12 @@ const Section3 = () => {
))}
</div>
</div>
{/* <div style={leftArrowStyle} onClick={() => goToPrevious()}>
<AiOutlineLeft
className="hover:bg-black"
size={"60px"}
color={"grey"}
/>
<div style={leftArrowStyle} onClick={() => goToPrevious()}>
<img src={downArrow} style={{height: '30px', transform: 'rotate(90deg)', transform: 'translateX(-30px) rotate(90deg)', filter: 'invert(80%)'}}/>
</div>
<div style={rightArrowStyles} onClick={() => goToNext()}>
<AiOutlineRight
className="hover:bg-black"
size={"60px"}
color={"grey"}
/>
</div> */}
<img src={downArrow} style={{height: '30px', transform: 'rotate(90deg)', transform: 'translateX(30px) rotate(-90deg)', filter: 'invert(80%)'}}/>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 6249b4d

Please sign in to comment.