Skip to content

Commit 4172313

Browse files
committed
scuffed slider loop
1 parent b77c984 commit 4172313

File tree

14 files changed

+808
-303
lines changed

14 files changed

+808
-303
lines changed

bun.lockb

11.1 KB
Binary file not shown.

package-lock.json

Lines changed: 660 additions & 286 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,21 @@
1010
},
1111
"dependencies": {
1212
"framer-motion": "^11.11.9",
13-
"next": "14.2.14",
14-
"react": "^18",
15-
"react-dom": "^18",
13+
"lenis": "^1.1.14",
14+
"next": "15.0.0-rc.1",
15+
"react": "^18.3.1",
16+
"react-dom": "^18.3.1",
1617
"react-intersection-observer": "^9.13.1",
17-
"vite": "^5.4.8"
18+
"vite": "^5.4.10"
1819
},
1920
"devDependencies": {
20-
"@types/node": "^20",
21-
"@types/react": "^18",
22-
"@types/react-dom": "^18",
23-
"eslint": "^8",
21+
"@types/node": "^20.17.0",
22+
"@types/react": "^18.3.12",
23+
"@types/react-dom": "^18.3.1",
24+
"eslint": "^8.57.1",
2425
"eslint-config-next": "14.2.14",
25-
"postcss": "^8",
26-
"tailwindcss": "^3.4.1",
27-
"typescript": "^5"
26+
"postcss": "^8.4.47",
27+
"tailwindcss": "^3.4.14",
28+
"typescript": "^5.6.3"
2829
}
2930
}

src/Components/assets/5factory.png

1.55 MB
Loading

src/Components/assets/bigbank.png

2.16 MB
Loading
2.14 MB
Loading

src/Components/assets/gamble1.png

1.67 MB
Loading

src/Components/assets/gamble2.png

1.54 MB
Loading
1.59 MB
Loading

src/Components/project.tsx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
"use client"
2+
3+
import React from "react";
4+
import Image from "next/image";
5+
6+
import { StaticImageData } from "next/image";
7+
8+
interface ProjectProps {
9+
imageSrc: StaticImageData;
10+
title: string;
11+
content: string;
12+
}
13+
14+
export default function Project({ imageSrc, title, content, }: ProjectProps) {
15+
16+
return (
17+
<>
18+
<div className="relative flex flex-col justify-between h-full">
19+
<Image src={imageSrc} alt="" className="w-full aspect-square object-cover rounded-[3vw] bg-thirdy cursor-pointer" />
20+
<div className="flex justify-between items-center relative z-10 rounded-lg py-5">
21+
<div className="flex flex-col gap-3 w-full h-[200px]">
22+
<div className="text-secondary text-[6vw] md:text-[2vw]">{title}</div>
23+
<div className="flex gap-1">
24+
</div>
25+
<div className="w-full flex justify-between">
26+
<div className="text-thirdy text-[3vw] md:text-[1vw] w-4/5">{content}</div>
27+
</div>
28+
</div>
29+
</div>
30+
</div>
31+
</>
32+
);
33+
}

0 commit comments

Comments
 (0)