Skip to content

Commit 8d2c4f5

Browse files
authored
Merge branch 'main' into londonhackmar2026
2 parents 5c80a65 + 821a5bb commit 8d2c4f5

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

sites/main-site/src/components/Leaflet.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
m = map(container, {
2626
minZoom: 1.4,
2727
fullscreenControl: true,
28-
}).setView([20, 22.09], 1.5); // Adjusted center point and zoom
28+
}).setView([20, 12.09], 1.5); // Adjusted center point and zoom
2929
3030
let greenIcon = new Icon({
3131
iconUrl: "/images/marker-icon-2x-green.png",
@@ -82,7 +82,7 @@
8282
<style lang="scss">
8383
.map {
8484
height: 500px;
85-
width: 80%;
85+
width: 100%;
8686
}
8787
@media (max-width: 767.98px) {
8888
// md-breakpoint
@@ -92,7 +92,7 @@
9292
}
9393
}
9494
:global(.contributor_map_logo) {
95-
max-height: 5rem;
95+
max-height: 5.2rem;
9696
margin-top: 0.25rem;
9797
}
9898
:global(.leaflet-popup-content-wrapper) {

sites/main-site/src/content/events/2026/hackathon-march-2026/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Also if we know about your site we'll have more time to help advertise and get f
168168
The steps to host a hub are:
169169

170170
1. Open a pull-request to add your hub-specific page to this website
171-
- Create a [new hub-specific `.md` file](https://github.com/nf-core/website/tree/main/sites/main-site/src/content/events/2026/hackathon-march-2026) and add it to the [main event page's table](https://github.com/nf-core/website/blob/99a45bbabbc407d60d41acbcd2c93bba69d72341/sites/main-site/src/content/events/2026/hackathon-march-2026/index.mdx?plain=1#L105-L128).
171+
- Create a [new hub-specific `.md` file](https://github.com/nf-core/website/tree/main/sites/main-site/src/content/events/2026/hackathon-march-2026) (it will be automatically added to the map and the table).
172172
2. Advertise (locally and online)
173173
3. Ensure you have one (or more) [project](#Projects) leader available to your hub
174174
- See [In-person local hubs](#in-person-local-hubs) for more details

sites/main-site/src/layouts/events/HackathonMarch2026.astro

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ const { frontmatter } = Astro.props;
2020
frontmatter.locations?.[0] && (
2121
<Admonition title="info" titleText="Location">
2222
<h5 class="mt-0">{frontmatter.locations[0].name}</h5>
23-
<p>{frontmatter.locations[0].address}</p>
24-
<p>
25-
<a href={frontmatter.locations[0].links[0]}>{frontmatter.locations[0].links[0]}</a>
26-
</p>
23+
{frontmatter.locations[0].address && <p>{frontmatter.locations[0].address}</p>}
24+
{frontmatter.locations[0].links && (
25+
<p>
26+
<a href={frontmatter.locations[0].links[0]}>{frontmatter.locations[0].links[0]}</a>
27+
</p>
28+
)}
2729
</Admonition>
2830
)
2931
}

0 commit comments

Comments
 (0)