Skip to content

Commit

Permalink
add seccodeid
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasma0305 committed May 26, 2024
1 parent 5f97d8d commit 849a199
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
Binary file added public/secodeid.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 25 additions & 6 deletions src/app/tcp1pctf-2024/sponsors.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,39 @@
import Image from "next/image"
import GoogleImage from "../../../public/Google-Cloud-Emblem.png"
import SeccodeId from "../../../public/secodeid.jpeg"
import Link from "next/link"

export function Sponsor() {
const sponsors = [
{
name: "Google",
text: "Infra sponsored by goo.gle/ctfsponsorship",
image: GoogleImage
image: GoogleImage,
url: "https://goo.gle/ctfsponsorship"
},
{
name: "Seccodeid Forum",
text: "Seccodeid Forum is a community of cybersecurity enthusiasts in Indonesia.",
image: SeccodeId,
url: "https://seccodeid.com/"
}
]
return <>
<div className="grid justify-center lg:grid-cols-3 md:grid-cols-2 gap-4">
{sponsors.map((sponsor, _index) => (
<div className="card w-96">
<figure className="px-10 pt-10">
<Image src={sponsor.image} alt={sponsor.text}></Image>
<div className="grid justify-center lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-4">
{sponsors.map((sponsor, index) => (
<div key={index} className="card shadow-lg">
<figure className="px-10 pt-10 w-full flex justify-center">
<Link href={sponsor.url} target="_blank">
<div className="w-[250px] h-[250px] relative">
<Image
src={sponsor.image}
alt={sponsor.name}
layout="fill"
objectFit="contain"
quality={100}
/>
</div>
</Link>
</figure>
<div className="card-body items-center text-center">
<h2 className="card-title">{sponsor.name}</h2>
Expand Down

0 comments on commit 849a199

Please sign in to comment.