-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e332aa9
commit 43f9845
Showing
4 changed files
with
95 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export const companies = [ | ||
{ | ||
slug: "ninedots", | ||
name: "Ninedots", | ||
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!", | ||
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!", | ||
image: "/images/sponsors/ninedots.png", | ||
url: "https://ninedots.io", | ||
}, | ||
]; |
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,76 @@ | ||
import { notFound } from "next/navigation"; | ||
import { companies } from "./config"; | ||
|
||
export const metadata = { | ||
title: "Ninedots Recruitment | Codu", | ||
description: | ||
"Explore our community sponsors. Ninedots Recruitment connects top talent with leading companies in the tech industry.", | ||
}; | ||
|
||
type Props = { params: { slug: string } }; | ||
|
||
export default async function Page({ params }: Props) { | ||
const { slug } = params; | ||
|
||
const company = companies.find((item) => item.slug === slug.toLowerCase()); | ||
|
||
if (!company) return notFound(); | ||
|
||
return ( | ||
<div className="mx-auto w-full max-w-4xl px-4 py-8 sm:px-6 lg:px-8"> | ||
<div className="overflow-hidden rounded-lg bg-white shadow dark:bg-neutral-800"> | ||
{/* Sponsor Header */} | ||
<div className="border-b border-neutral-200 p-6 dark:border-neutral-700"> | ||
<div className="flex flex-col items-center gap-6 sm:flex-row"> | ||
<div className="flex h-24 w-24 flex-shrink-0 items-center justify-center rounded-md bg-neutral-700 p-2"> | ||
<img | ||
src={company.image} | ||
alt={`${company.name} logo`} | ||
className="max-h-full max-w-full object-contain" | ||
/> | ||
</div> | ||
|
||
<div className="flex-1 text-center sm:text-left"> | ||
<h1 className="text-2xl font-bold text-neutral-900 dark:text-white"> | ||
{company.name} | ||
</h1> | ||
<p className="mt-2 text-neutral-600 dark:text-neutral-300"> | ||
{company.bio} | ||
</p> | ||
|
||
{company.url && ( | ||
<a | ||
href={company.url} | ||
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" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Visit website | ||
<svg | ||
className="ml-1 h-4 w-4" | ||
fill="currentColor" | ||
viewBox="0 0 20 20" | ||
> | ||
<path | ||
fillRule="evenodd" | ||
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" | ||
clipRule="evenodd" | ||
/> | ||
</svg> | ||
</a> | ||
)} | ||
</div> | ||
</div> | ||
</div> | ||
<div className="border-neutral-200 bg-neutral-100 p-4 dark:border-neutral-700 dark:bg-neutral-800"> | ||
<a | ||
href="/sponsorship" | ||
className="text-sm font-medium text-neutral-500 hover:text-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300" | ||
> | ||
← Back to all sponsors | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.