Skip to content

Commit ac1a678

Browse files
authored
Sponsor page: Add new Ready to sign button (graphql#1414)
* Sponsor page: Add new `Ready to sign` button Signed-off-by: TuvalSimha <[email protected]> * prettier Signed-off-by: TuvalSimha <[email protected]> --------- Signed-off-by: TuvalSimha <[email protected]>
1 parent 5114a36 commit ac1a678

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

src/pages/conf/sponsor.tsx

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ import LayoutConf from "../../components/Conf/Layout"
55
import ButtonConf from "../../components/Conf/Button"
66
import SeoConf from "../../components/Conf/Seo"
77

8+
type Button = {
9+
href: string
10+
text: string
11+
}
12+
13+
const Buttons: Button[] = [
14+
{
15+
href: "https://events.linuxfoundation.org/wp-content/uploads/2023/03/sponsor_GraphQLConf_2023_032423.pdf",
16+
text: "Explore Sponsorship Opportunity",
17+
},
18+
{
19+
href: "https://powerforms.docusign.net/ba1e05a3-244d-4c94-9b3a-fd769966e479?env=na3&acct=f30e10ec-fea1-4dd8-a262-384a61edabb5&accountId=f30e10ec-fea1-4dd8-a262-384a61edabb5",
20+
text: "Ready To Sign",
21+
},
22+
{
23+
href: "mailto:[email protected]?subject=Sponsorships",
24+
text: "Contact Us",
25+
},
26+
]
27+
828
export default () => {
929
return (
1030
<LayoutConf>
@@ -16,12 +36,11 @@ export default () => {
1636
<span className="block lg:inline">Sponsor GraphQLConf 2023</span>
1737
</div>
1838
<div className="flex justify-center items-center gap-4 flex-col sm:flex-row">
19-
<ButtonConf href="https://events.linuxfoundation.org/wp-content/uploads/2023/03/sponsor_GraphQLConf_2023_032423.pdf">
20-
Explore Sponsorship
21-
</ButtonConf>
22-
<ButtonConf href="mailto:[email protected]?subject=Sponsorships">
23-
Contact Us
24-
</ButtonConf>
39+
{Buttons.map(button => (
40+
<ButtonConf key={button.text} href={button.href}>
41+
{button.text}
42+
</ButtonConf>
43+
))}
2544
</div>
2645
</div>
2746
<div className="mx-auto max-w-prose mt-8">

0 commit comments

Comments
 (0)