Skip to content

Commit 2164862

Browse files
Add sponsor page update (#1370)
Co-authored-by: Mia Bajić <[email protected]>
1 parent 04e7c3b commit 2164862

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

src/components/CardContent.astro

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
---
22
import { getEntry } from "astro:content";
3-
import { marked } from 'marked';
3+
import Markdown from "@ui/Markdown.astro";
44
const { collection, entry:entryId } = Astro.props;
55
66
const entry = await getEntry(collection, entryId);
7-
const html = entry && entry.body ? marked.parse(entry.body) : "";
87
98
---
109

11-
{ html &&
10+
{ entry && entry.body &&
1211
<div class="mb-2 prose prose-li:m-0 prose-ul:m-0 prose-ul:mb-2 prose-a:underline prose-h1:text-text prose-headings:font-title prose-headings:text-text prose-a:text-text prose-a:hover:text-primary-hover prose-strong:text-text prose-strong:font-bold prose-li:marker:text-text p-6">
13-
<article set:html={html} />
12+
<Markdown content={entry.body || ""} class="" />
1413
</div>
1514
}

src/content/sponsors/bloomberg/index.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,15 @@ logo_padding: 10px 0px
1717

1818
# About Bloomberg
1919

20-
Bloomberg is a global leader in business and financial information, delivering
21-
trusted data, news, and insights that bring transparency, efficiency, and
22-
fairness to markets. The company helps connect influential communities across
23-
the global financial ecosystem via reliable technology solutions that enable our
24-
customers to make more informed decisions and foster better collaboration.
20+
Bloomberg is building the world's most trusted information network for financial
21+
professionals. Our 9,000+ engineers are dedicated to advancing and building new
22+
systems for the Bloomberg Terminal to solve complex, real-world problems. ​We
23+
trust our teams to choose the right technologies for the job, and, at Bloomberg,
24+
the answer is often Python. We employ an active community of 4,000+ Python
25+
developers who have their hands in everything from financial analytics and data
26+
science to contributing to open source technologies like Project Jupyter.
27+
Bloomberg is proud to be a Visionary Sponsor of the Python Software Foundation
28+
and sponsor of many Python community events around the world. Learn more at
29+
[TechAtBloomberg.com/python](http://www.techatbloomberg.com/python).
30+
31+
https://youtu.be/A2r1qmHLLHU

0 commit comments

Comments
 (0)