Skip to content

Commit 9265f5d

Browse files
committed
added logo and 2024 sponsor
1 parent 020cfca commit 9265f5d

File tree

16 files changed

+118
-174
lines changed

16 files changed

+118
-174
lines changed

app/layout.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ const inter = Inter({ subsets: ["latin"] })
77

88
export const metadata: Metadata = {
99
title: "Blaisone CTF Team",
10-
description: "PascalCTF is a Capture The Flag (CTF) competition organized by the team Blaisone."
10+
description: "PascalCTF is a Capture The Flag (CTF) competition organized by the team Blaisone.",
11+
icons: {
12+
icon: "/logo.svg",
13+
},
1114
}
1215

1316
export default function RootLayout({

app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ export default function HomePage() {
1111
<div className="mb-8">
1212
<div className="w-48 h-48 mx-auto mb-6 bg-blue-500 rounded-full flex items-center justify-center">
1313
<Image
14-
src="/placeholder.svg?height=120&width=120"
14+
src="/logo.svg?height=2400&width=240"
1515
alt="Blaisone CTF Team Logo"
16-
width={120}
17-
height={120}
16+
width={240}
17+
height={240}
1818
className="rounded-full"
1919
/>
2020
</div>

app/sponsors/page.tsx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { SponsorCard } from "@/components/sponsor-card"
22
import { Navigation } from "@/components/navigation"
3-
import { sponsors } from "@/data/sponsors"
3+
import { sponsors_by_year } from "@/data/sponsors"
44

55
export default function SponsorsPage() {
6+
const years = Object.keys(sponsors_by_year).sort((a, b) => Number(b) - Number(a))
7+
68
return (
79
<div className="min-h-screen bg-gray-50 dark:bg-gray-900">
810
<Navigation />
@@ -14,13 +16,17 @@ export default function SponsorsPage() {
1416
sponsor us, please reach out via email at [email protected].
1517
</p>
1618

17-
<h2 className="text-2xl font-bold text-gray-900 dark:text-white mb-8">2024</h2>
19+
{years.map((year) => (
20+
<div key={year}>
21+
<h2 className="text-2xl font-bold text-gray-900 dark:text-white mb-8">{year}</h2>
1822

19-
<div className="grid grid-cols-1 md:grid-cols-2 gap-12">
20-
{sponsors.map((sponsor, index) => (
21-
<SponsorCard key={index} sponsor={sponsor} />
22-
))}
23-
</div>
23+
<div className="grid grid-cols-1 md:grid-cols-2 gap-12 mb-12">
24+
{sponsors_by_year[year].map((sponsor, index) => (
25+
<SponsorCard key={index} sponsor={sponsor} />
26+
))}
27+
</div>
28+
</div>
29+
))}
2430
</main>
2531
</div>
2632
)

components/navigation.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Image from "next/image"
12
import Link from "next/link"
23
import { ThemeSwitcher } from "./theme-switcher"
34

@@ -7,7 +8,13 @@ export function Navigation() {
78
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
89
<div className="flex justify-between items-center h-16">
910
<Link href="/" className="flex items-center">
10-
<div className="w-6 h-6 bg-red-600 rounded-sm mr-2"></div>
11+
<Image
12+
src="/logo.svg"
13+
alt="Blaisone Logo"
14+
width={40}
15+
height={40}
16+
className="mr-2"
17+
/>
1118
<span className="font-medium text-gray-900 dark:text-white">Blaisone</span>
1219
</Link>
1320
<div className="flex items-center space-x-8">

data/members.json

Lines changed: 0 additions & 49 deletions
This file was deleted.

data/sponsors.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

data/sponsors.ts

Lines changed: 22 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,22 @@
1-
export const sponsors = [
2-
{
3-
name: "CyberSec Corp",
4-
logo: "/placeholder.svg?height=100&width=200",
5-
social: {
6-
website: "https://cyberseccorp.com",
7-
twitter: "https://twitter.com/cyberseccorp",
8-
linkedin: "https://linkedin.com/company/cyberseccorp",
9-
},
10-
},
11-
{
12-
name: "SecureNet",
13-
logo: "/placeholder.svg?height=100&width=200",
14-
social: {
15-
website: "https://securenet.com",
16-
twitter: "https://twitter.com/securenet",
17-
},
18-
},
19-
{
20-
name: "ThreatGuard",
21-
logo: "/placeholder.svg?height=100&width=200",
22-
social: {
23-
website: "https://threatguard.io",
24-
linkedin: "https://linkedin.com/company/threatguard",
25-
},
26-
},
27-
{
28-
name: "PenTest Pro",
29-
logo: "/placeholder.svg?height=100&width=200",
30-
social: {
31-
website: "https://pentestpro.com",
32-
twitter: "https://twitter.com/pentestpro",
33-
linkedin: "https://linkedin.com/company/pentestpro",
34-
},
35-
},
36-
]
1+
export const sponsors_by_year: Record<string, {
2+
name: string
3+
logo: string
4+
social: {
5+
website: string
6+
twitter?: string
7+
linkedin?: string
8+
}
9+
}[]> = {
10+
"2024": [
11+
{
12+
name: "Cyberloop",
13+
logo: "/sponsors/cyberloop.svg?height=100&width=200",
14+
social: {
15+
website: "https://cyberloop.it/",
16+
twitter: "https://twitter.com/CyberloopC",
17+
linkedin: "https://www.linkedin.com/company/cyberloop/",
18+
},
19+
}
20+
],
21+
"2025": [],
22+
}

data/writeups.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

public/logo.svg

Lines changed: 2 additions & 0 deletions
Loading

public/placeholder-logo.png

-568 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)