Skip to content

Commit 85316a8

Browse files
committed
Cleanup: Highlight card.
1 parent 0e090b3 commit 85316a8

File tree

5 files changed

+31
-18
lines changed

5 files changed

+31
-18
lines changed

src/components/highlight-list/highlight-card.astro

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/components/highlight-list/highlight-item.astro

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<div class="highlight-card bg-white rounded-lg shadow-md p-5 mt-6">
2+
<slot />
3+
</div>
4+
5+
<style is:global>
6+
.highlight-card ul > * {
7+
position: relative;
8+
padding-left: 1.75rem;
9+
}
10+
11+
.highlight-card ul > *::before {
12+
content: '📌';
13+
position: absolute;
14+
left: 0;
15+
top: 0;
16+
font-size: 1.2rem;
17+
line-height: 1.75;
18+
}
19+
.highlight-card li {
20+
list-style: none;
21+
line-height: 2.2;
22+
}
23+
</style>

src/content/pages/sponsorship/sponsor.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ toc: false
1010
# Why Sponsor EuroPython?
1111
<span class="text-2xl font-bold text-center block">Stand out in the heart of Europe’s Python ecosystem and connect with ~1,500 Python professionals</span>
1212
<HighlightCard>
13-
<HighlightItem>**~1,500** participants from **~50** countries</HighlightItem>
14-
<HighlightItem>**24th** edition – the world’s **longest-running** Python conference</HighlightItem>
15-
<HighlightItem>**190+** speakers across diverse Python topics</HighlightItem>
16-
<HighlightItem>**40K+** social media followers</HighlightItem>
17-
<HighlightItem>**34K** YouTube subscribers and **4M+** YouTube views</HighlightItem>
18-
<HighlightItem>**25%** of participants from underrepresented groups in tech</HighlightItem>
13+
- **~1,500** participants from **~50** countries
14+
- **24th** edition – the world’s **longest-running** Python conference
15+
- **190+** speakers across diverse Python topics
16+
- **40K+** social media followers
17+
- **34K** YouTube subscribers and **4M+** YouTube views
18+
- **25%** of participants from underrepresented groups in tech
1919
</HighlightCard>
2020

21+
2122
Join **EuroPython 2025 from 14 – 20 July** at the Prague Congress Centre (PCC) to connect, showcase your company, and shape the future of Python!
2223

2324
<YouTube id="oW8FHL4PiuI" alt="Hear from our sponsors at EuroPython 2023" />

src/pages/[...slug].astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import Layout from "@layouts/MarkdownLayout.astro";
55
import Separator from "@ui/Separator.astro";
66
import Map from "@components/Map.astro";
77
import YouTube from "@ui/YouTube.astro";
8-
import HighlightCard from "@components/highlight-list/highlight-card.astro";
9-
import HighlightItem from "@components/highlight-list/highlight-item.astro";
8+
import HighlightCard from "@components/markdown/HighlightCard.astro";
109
import Note from "@ui/Note.astro";
1110
import SponsorTiers from "@components/sponsor-tiers/sponsor-tiers.astro";
1211
import Accordion from "@components/ui/Accordion.astro";
@@ -61,7 +60,6 @@ const description = post.data.subtitle;
6160
Map,
6261
YouTube,
6362
HighlightCard,
64-
HighlightItem,
6563
Note,
6664
SponsorTiers,
6765
hr: Separator,

0 commit comments

Comments
 (0)