Skip to content

Commit 8e3a921

Browse files
committed
changed marquee imeages and fixed crop issues
1 parent e40697e commit 8e3a921

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/app/eventide/components/landing.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function Parallax() {
2525
trigger: container.current,
2626
start: "top top",
2727
//end: `+=${container.current.offsetHeight}`,
28-
end:"3000 bottom",
28+
end:"2500 bottom",
2929
scrub: true,
3030
pin: true,
3131
onUpdate: (self) => {
@@ -57,7 +57,7 @@ function Parallax() {
5757
<div ref={container} className="relative h-screen w-screen flex flex-col justify-center items-center">
5858
<div ref={eventide} className=" z-50 flex justify-center items-center lg:w-[61vh] lg:h-[11vh] md:w-[45vh] md:h-[8vh] sm:w-[22vh] sm:h-[4vh] ">
5959

60-
<Image src="/images/eventide_1.png" layout="fill" objectFit="cover"/>
60+
<Image src="/images/eventide_1.png" layout="fill" objectFit="contain"/>
6161

6262

6363
</div>

src/app/eventide/components/marque.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import Marquee from "react-easy-marquee";
33

44
const VerticalMarquee = () => {
55
const images = ["https://i.imgur.com/KRYEfhy.jpeg", "https://i.imgur.com/rwsT2QC.jpeg","https://i.imgur.com/z8h1axf.jpeg","https://i.imgur.com/Unr2Afr.jpg","https://i.imgur.com/R24hRLE.jpg"];
6+
const images2 = ["https://i.imgur.com/EgFe4uu.jpg", "https://i.imgur.com/2QiCSEN.jpg","https://i.imgur.com/guRqXgq.jpg","https://i.imgur.com/g9mwsJ7.jpg","https://i.imgur.com/F0swEuN.jpg"];
7+
const images3 = ["https://i.imgur.com/pKAwO3F.jpg", "https://i.imgur.com/f5A7wzQ.jpg","https://i.imgur.com/p77o9dC.jpg","https://i.imgur.com/1IFTVi2.jpg","https://i.imgur.com/9kw4ab9.jpg"];
8+
69
return (
710
<div className="bg-black flex flex-col sm:flex-row sm:space-x-4 items-center justify-center p-4">
811
<div className="w-full md:w-1/3 lg:w-1/4">
@@ -32,7 +35,7 @@ const VerticalMarquee = () => {
3235
axis='y'
3336
>
3437
<div className="flex flex-col space-y-4">
35-
{images.map((image, index) => (
38+
{images2.map((image, index) => (
3639
<img key={index} src={image} alt="picsum" className=" opacity-50 w-full h-auto" />
3740
))}
3841
</div>
@@ -48,7 +51,7 @@ const VerticalMarquee = () => {
4851
axis='y'
4952
>
5053
<div className="flex flex-col space-y-4">
51-
{images.map((image, index) => (
54+
{images3.map((image, index) => (
5255
<img key={index} src={image} alt="picsum" className="w-full opacity-50 h-auto" />
5356
))}
5457
</div>

0 commit comments

Comments
 (0)