Skip to content

Commit da44cf6

Browse files
committed
tweaks
slightly refactoring code to include proper data
1 parent 08bf163 commit da44cf6

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

src/app/page.js

+22-5
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,28 @@ import Navbar from "../../components/Navbar";
22
import Typewriter from "../../components/Typewriter";
33
import "./page.css";
44
import Carousel from "../../components/Carousel";
5+
import {FiCircle, FiCode, FiFileText, FiLayers, FiLayout} from "react-icons/fi";
56

6-
// const projects = [
7-
// { title: "Snake AI", description: "A genetic algorithm for Snake", github: "https://github.com/yourrepo/snake-ai", image: "https://picsum.photos/200/300" },
8-
// { title: "Casino Bot", description: "A Discord bot for online casino games", github: "https://github.com/yourrepo/casino-bot", image: "https://picsum.photos/200/300" },
9-
// { title: "The Button", description: "A web app based on 'The Button' game", github: "https://github.com/yourrepo/the-button", image: "https://picsum.photos/200/300" },
10-
// ];
7+
const projects = [
8+
{
9+
title: "Snake AI",
10+
description: "A genetic algorithm for Snake",
11+
id: 1,
12+
icon: <FiFileText className="carousel-icon" />,
13+
},
14+
{
15+
title: "Casino Bot",
16+
description: "A Discord bot for online casino games",
17+
id: 2,
18+
icon: <FiCircle className="carousel-icon" />,
19+
},
20+
{
21+
title: "The Button",
22+
description: "A web app based on 'The Button' game",
23+
id: 3,
24+
icon: <FiLayers className="carousel-icon" />,
25+
},
26+
];
1127

1228
export default function Home() {
1329
return (
@@ -17,6 +33,7 @@ export default function Home() {
1733
<h1 className="text-4xl fon t-bold">Hi, I'm Sahil. I make</h1>
1834
<Typewriter texts={["websites.", "backend.", "passion projects."]} period={2000}/>
1935
<Carousel
36+
items={projects}
2037
baseWidth={600}
2138
autoplay={true}
2239
autoplayDelay={3000}

0 commit comments

Comments
 (0)