-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
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
Binary file not shown.
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ const Events = () => { | |
justify="center" | ||
align="center" | ||
mb="6" | ||
mt="6" | ||
id="events" | ||
p="1" | ||
gap="6" | ||
|
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,24 @@ | ||
import "react-responsive-carousel/lib/styles/carousel.min.css"; | ||
import { Carousel } from "react-responsive-carousel"; | ||
import katvr from "../assets/KATVR.jpeg"; | ||
import pcgaming from "../assets/PCgaming.jpeg"; | ||
import psgaming from "../assets/PSgaming.jpeg"; | ||
import { Flex } from "@radix-ui/themes"; | ||
import "./carousel.css"; | ||
|
||
const CarouselComponent = () => { | ||
return ( | ||
<Carousel autoPlay infiniteLoop showThumbs={false} showStatus={false}> | ||
<div className="cimage"> | ||
<img src={katvr} /> | ||
</div> | ||
<div className="cimage"> | ||
<img src={pcgaming} /> | ||
</div> | ||
<div className="cimage"> | ||
<img src={psgaming} /> | ||
</div> | ||
</Carousel> | ||
); | ||
}; | ||
export default CarouselComponent; |
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,26 @@ | ||
.carousel-root .carousel .slide { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
margin: 0; | ||
max-width: 500px; | ||
} | ||
.cimage { | ||
width: 90%; | ||
height: 90%; | ||
max-width: 400px; | ||
} | ||
.carousel .carousel-status { | ||
bottom: 0; | ||
left: 0; | ||
right: 30px; | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: flex-end; | ||
max-width: min-content; | ||
} | ||
.control-arrow { | ||
color: #fff; | ||
margin: 15px; | ||
cursor: pointer; | ||
} |
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