Skip to content

Commit 43f9845

Browse files
authored
Add ninedots (#1251)
1 parent e332aa9 commit 43f9845

File tree

4 files changed

+95
-5
lines changed

4 files changed

+95
-5
lines changed

app/(app)/company/[slug]/config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export const companies = [
2+
{
3+
slug: "ninedots",
4+
name: "Ninedots",
5+
bio: "Trusted talent partner based in Dublin and Bahrain. We specialise in everything within the tech ecosystem, including marketing and tech sales. However, if we can’t assist, we won’t tell you we can. What we CAN do is steer you in the right direction - we believe it doesn’t cost to be helpful!",
6+
note: "We’re incredibly grateful to Ninedots for supporting our tech community since April! Your generosity has helped us grow, bring people together, and create amazing learning opportunities through events, workshops, and networking sessions. Your support means the world to us, and we couldn’t do this without you.Thanks for believing in our mission and being a part of our journey—we’re excited for what’s ahead!",
7+
image: "/images/sponsors/ninedots.png",
8+
url: "https://ninedots.io",
9+
},
10+
];

app/(app)/company/[slug]/page.tsx

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
import { notFound } from "next/navigation";
2+
import { companies } from "./config";
3+
4+
export const metadata = {
5+
title: "Ninedots Recruitment | Codu",
6+
description:
7+
"Explore our community sponsors. Ninedots Recruitment connects top talent with leading companies in the tech industry.",
8+
};
9+
10+
type Props = { params: { slug: string } };
11+
12+
export default async function Page({ params }: Props) {
13+
const { slug } = params;
14+
15+
const company = companies.find((item) => item.slug === slug.toLowerCase());
16+
17+
if (!company) return notFound();
18+
19+
return (
20+
<div className="mx-auto w-full max-w-4xl px-4 py-8 sm:px-6 lg:px-8">
21+
<div className="overflow-hidden rounded-lg bg-white shadow dark:bg-neutral-800">
22+
{/* Sponsor Header */}
23+
<div className="border-b border-neutral-200 p-6 dark:border-neutral-700">
24+
<div className="flex flex-col items-center gap-6 sm:flex-row">
25+
<div className="flex h-24 w-24 flex-shrink-0 items-center justify-center rounded-md bg-neutral-700 p-2">
26+
<img
27+
src={company.image}
28+
alt={`${company.name} logo`}
29+
className="max-h-full max-w-full object-contain"
30+
/>
31+
</div>
32+
33+
<div className="flex-1 text-center sm:text-left">
34+
<h1 className="text-2xl font-bold text-neutral-900 dark:text-white">
35+
{company.name}
36+
</h1>
37+
<p className="mt-2 text-neutral-600 dark:text-neutral-300">
38+
{company.bio}
39+
</p>
40+
41+
{company.url && (
42+
<a
43+
href={company.url}
44+
className="mt-4 inline-flex items-center text-sm font-medium text-pink-600 hover:text-pink-500 dark:text-pink-600 dark:hover:text-pink-500"
45+
target="_blank"
46+
rel="noopener noreferrer"
47+
>
48+
Visit website
49+
<svg
50+
className="ml-1 h-4 w-4"
51+
fill="currentColor"
52+
viewBox="0 0 20 20"
53+
>
54+
<path
55+
fillRule="evenodd"
56+
d="M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z"
57+
clipRule="evenodd"
58+
/>
59+
</svg>
60+
</a>
61+
)}
62+
</div>
63+
</div>
64+
</div>
65+
<div className="border-neutral-200 bg-neutral-100 p-4 dark:border-neutral-700 dark:bg-neutral-800">
66+
<a
67+
href="/sponsorship"
68+
className="text-sm font-medium text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300"
69+
>
70+
← Back to all sponsors
71+
</a>
72+
</div>
73+
</div>
74+
</div>
75+
);
76+
}

app/(app)/sponsorship/page.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import Link from "next/link";
2+
13
export const metadata = {
24
title: "Sponsor Codú - And Reach More Developers!",
35
description:
@@ -60,11 +62,13 @@ const Sponsorship = () => {
6062
<div className="mt-8 flow-root lg:mt-10">
6163
<div className="-ml-8 -mt-4 flex flex-wrap justify-between lg:-ml-4">
6264
<div className="ml-8 mt-4 flex flex-shrink-0 flex-grow lg:ml-4 lg:flex-grow-0">
63-
<img
64-
className="my-auto h-16"
65-
src="/images/sponsors/harveynash.png"
66-
alt="StaticKit"
67-
/>
65+
<Link href="/company/ninedots">
66+
<img
67+
className="my-auto h-16"
68+
src="/images/sponsors/ninedots.png"
69+
alt="StaticKit"
70+
/>
71+
</Link>
6872
</div>
6973
<div className="ml-8 mt-4 flex flex-shrink-0 flex-grow lg:ml-4 lg:flex-grow-0">
7074
<img
11.2 KB
Loading

0 commit comments

Comments
 (0)