Skip to content

Commit 13383cf

Browse files
committed
add box
1 parent f109290 commit 13383cf

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

frontend/src/components/brochure/why-sponsor-page.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SnakeDNA } from "@python-italia/pycon-styleguide/illustrations";
1+
import { Text } from "@python-italia/pycon-styleguide";
22
import { compile } from "~/helpers/markdown";
33

44
const Snake1 = (props: React.SVGProps<SVGSVGElement>) => (
@@ -192,9 +192,16 @@ export function WhySponsorPage({
192192
<Snake3 className="size-[4cm] border-black border-4 bg-yellow -translate-y-32" />
193193
</div>
194194

195-
<p className="bg-pink border-4 border-black px-[0.5cm] py-[0.5cm] w-[50%] self-end">
196-
{compile(whySponsor.text).tree}
197-
</p>
195+
<div className="flex justify-between">
196+
<div className="self-end bg-green w-[30%] px-[0.5cm] py-[0.5cm] border-4 border-black">
197+
<span className="font-sans break-words transition-colors font-medium whitespace-pre-wrap select-auto">
198+
Get in touch, we’d be happy to take care of your ideas!
199+
</span>
200+
</div>
201+
<p className="bg-pink border-4 border-black px-[0.5cm] py-[0.5cm] w-[50%] self-end">
202+
{compile(whySponsor.text).tree}
203+
</p>
204+
</div>
198205
</div>
199206
</div>
200207
);

0 commit comments

Comments
 (0)