Skip to content

Commit 45172cd

Browse files
committed
Add dual cols to sponsorship page
1 parent 6a345df commit 45172cd

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

src/pages/sponsorships.tsx

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Footer } from '@ui/Footer';
1313
interface Props {}
1414

1515
const Sponsorships: React.FC<Props> = () => {
16-
const sponsorshipContent = `
16+
const sponsorshipContentCol1 = `
1717
# Integrations
1818
1919
## Intros
@@ -37,7 +37,9 @@ these, see Dedicated/Videos.
3737
| Price (GBP) | Price (USD) |
3838
| ----------- | ----------- |
3939
| 150 | 190 |
40+
`;
4041

42+
const sponsorshipContentCol2 = `
4143
# Dedicated
4244
4345
## Videos
@@ -75,18 +77,26 @@ start with #ad.
7577
<div className="flex flex-col min-h-screen">
7678
<Navbar />
7779
<div className="flex justify-center">
78-
<h1 className="text-brand-gradient font-brand text-4xl text-center mt-10 mb-5 uppercase">
80+
<h1 className="mt-10 mb-5 text-4xl text-center uppercase text-brand-gradient font-brand">
7981
Sponsorships
8082
</h1>
8183
</div>
8284
<div className="grow">
83-
<div className="font-sans text-white text-md mt-4 mx-6 sm:mx-10 md:w-text md:mx-auto">
84-
<ReactMarkdown
85-
children={sponsorshipContent}
86-
className="text-white font-sans unreset markdown grow"
87-
remarkPlugins={[remarkGfm, remarkSlug]}
88-
rehypePlugins={[rehypeRaw]}
89-
/>
85+
<div className="flex justify-center mx-6 mt-4 font-sans text-white text-md sm:mx-10">
86+
<div className="flex flex-col gap-8 md:flex-row">
87+
<ReactMarkdown
88+
children={sponsorshipContentCol1}
89+
className="font-sans text-white unreset markdown grow max-w-text shrink basis-0"
90+
remarkPlugins={[remarkGfm, remarkSlug]}
91+
rehypePlugins={[rehypeRaw]}
92+
/>
93+
<ReactMarkdown
94+
children={sponsorshipContentCol2}
95+
className="font-sans text-white unreset markdown grow max-w-text shrink basis-0"
96+
remarkPlugins={[remarkGfm, remarkSlug]}
97+
rehypePlugins={[rehypeRaw]}
98+
/>
99+
</div>
90100
</div>
91101
</div>
92102
<Footer />

0 commit comments

Comments
 (0)