Skip to content

Commit 3f2d3e1

Browse files
authored
add sponsorship details back (#1701)
* add sponsorship details * modify pdf name
1 parent 5985d0e commit 3f2d3e1

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

public/conf/sponsor/sponsor_2024.pdf

2.49 MB
Binary file not shown.

src/app/conf/2024/sponsor/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ import { Button } from '@/app/conf/_components/button'
22

33
# Sponsor GraphQLConf 2024
44

5-
<Button href="mailto:[email protected]?subject=Sponsorships" className="!text-white mx-auto !block">Contact Us</Button>
6-
5+
<div className="flex flex-row justfiy-center">
6+
<Button target="_blank" href="/conf/sponsor/sponsor_2024.pdf" className="!text-white !block">Sponsership Details</Button>
7+
<Button href="mailto:[email protected]?subject=Sponsorships" className="!text-white !block ml-3.5">Contact Us</Button>
8+
</div>
79
Contact us at [email protected] to reserve your sponsorship, ask questions or talk about different options.
810

911
GraphQLConf is the official GraphQL conference hosted by the GraphQL Foundation. It is a premier event by the community for the community to promote education, adoption, and advancement of GraphQL.

src/app/conf/_components/button.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ interface ButtonProps {
66
className?: string
77
href?: string
88
disabled?: boolean
9+
target?: "_blank"
910
}
1011

1112
export function Button({
13+
target,
1214
href,
1315
className,
1416
children,
@@ -33,6 +35,7 @@ export function Button({
3335
className,
3436
)}
3537
href={href}
38+
target={target}
3639
{...(href?.startsWith("https://") && {
3740
target: "_blank",
3841
rel: "noreferrer",

0 commit comments

Comments
 (0)