Skip to content

add sponsorship details back #1701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/conf/sponsor/sponsor_2024.pdf
Binary file not shown.
6 changes: 4 additions & 2 deletions src/app/conf/2024/sponsor/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ import { Button } from '@/app/conf/_components/button'

# Sponsor GraphQLConf 2024

<Button href="mailto:[email protected]?subject=Sponsorships" className="!text-white mx-auto !block">Contact Us</Button>

<div className="flex flex-row justfiy-center">
<Button target="_blank" href="/conf/sponsor/sponsor_2024.pdf" className="!text-white !block">Sponsership Details</Button>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Urigo you can suggest a change and commit it here if you want a different label for the button

<Button href="mailto:[email protected]?subject=Sponsorships" className="!text-white !block ml-3.5">Contact Us</Button>
</div>
Contact us at [email protected] to reserve your sponsorship, ask questions or talk about different options.

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.
Expand Down
3 changes: 3 additions & 0 deletions src/app/conf/_components/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ interface ButtonProps {
className?: string
href?: string
disabled?: boolean
target?: "_blank"
}

export function Button({
target,
href,
className,
children,
Expand All @@ -33,6 +35,7 @@ export function Button({
className,
)}
href={href}
target={target}
{...(href?.startsWith("https://") && {
target: "_blank",
rel: "noreferrer",
Expand Down
Loading