-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from suvanbanerjee/main
- Loading branch information
Showing
11 changed files
with
566 additions
and
1,099 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
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,19 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "default", | ||
"rsc": true, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.ts", | ||
"css": "app/globals.css", | ||
"baseColor": "neutral", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"magicui": "@/components/magicui" | ||
} | ||
} |
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,80 @@ | ||
import { cn } from "@/lib/utils"; | ||
import Marquee from "@/components/magicui/marquee"; | ||
|
||
const domains = [ | ||
{ | ||
name: "ACM - ICPC", | ||
img: "https://icpc.global/regionals/abouticpc/foundationlogo.png", | ||
}, | ||
{ | ||
name: "Kaggle", | ||
img: "https://img.icons8.com/?size=100&id=Omk4fWoSmCHm&format=png&color=000000", | ||
}, | ||
{ | ||
name: "IOT-ML", | ||
img: "https://img.icons8.com/?size=100&id=Ih6zOUuHwOOs&format=png&color=000000", | ||
}, | ||
{ | ||
name: "ML-Research", | ||
img: "https://img.icons8.com/?size=100&id=114322&format=png&color=000000", | ||
}, | ||
{ | ||
name: "DevOps", | ||
img: "https://img.icons8.com/?size=100&id=13816&format=png&color=000000", | ||
}, | ||
{ | ||
name: "Flutter Development", | ||
img: "https://img.icons8.com/?size=100&id=7I3BjCqe9rjG&format=png&color=000000", | ||
}, | ||
{ | ||
name: "React Development", | ||
img: "https://img.icons8.com/?size=100&id=123603&format=png&color=000000", | ||
}, | ||
{ | ||
name: "Open Source Hackathon", | ||
img: "https://img.icons8.com/?size=100&id=63655&format=png&color=000000", | ||
}, | ||
{ | ||
name: "Interview Prep", | ||
img: "https://img.icons8.com/?size=100&id=13724&format=png&color=000000", | ||
}, | ||
]; | ||
|
||
const Card = ({ | ||
img, | ||
name, | ||
}: { | ||
img: string; | ||
name: string; | ||
}) => { | ||
return ( | ||
<figure | ||
className={cn( | ||
"relative w-64 cursor-pointer overflow-hidden rounded-xl border p-4 border-gray-50/[.1] bg-gray-50/[.10] hover:bg-gray-50/[.15]", | ||
)} | ||
> | ||
<div className="flex flex-col items-center gap-4"> | ||
<img className="rounded-full" width="64" height="64" alt="" src={img} /> | ||
<figcaption className="font-bold"> | ||
{name} | ||
</figcaption> | ||
</div> | ||
</figure> | ||
); | ||
}; | ||
|
||
export default function Domains() { | ||
return ( | ||
<div className=""> | ||
<h2 className="text-4xl font-bold text-center text-gray-200 m-2">Domains We Explore</h2> | ||
<p className="text-xl text-center text-gray-100 mb-8">Our club covers a wide range of interests and fields, bringing unique perspectives and expertise to every project!</p> | ||
<Marquee pauseOnHover className="[--duration:30s]"> | ||
{domains.map((domain) => ( | ||
<Card key={domain.name} {...domain} /> | ||
))} | ||
</Marquee> | ||
<div className="pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-background"></div> | ||
<div className="pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-background"></div> | ||
</div> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.