Skip to content

Commit a2a1944

Browse files
committed
Add SUBMIT_EVENT_URL constant and update link in MapView component
1 parent 0830fa3 commit a2a1944

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pcd-website/src/components/MapView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import type { Node } from '../lib/nodes';
44
import { makePopupContent } from '../lib/popup';
55
import NodePanel from './NodePanel.vue';
66
import NodeList from './NodeList.vue';
7+
import { SUBMIT_EVENT_URL } from '../config';
78
89
const props = defineProps<{
910
nodes: Node[];
@@ -273,7 +274,7 @@ onUnmounted(() => {
273274
<div id="map" tabindex="-1" aria-label="World map of PCD 2026 nodes"></div>
274275
<a
275276
id="host-btn"
276-
href="https://github.com/SableRaf/pcd-website-mvp-2/issues/new?template=new-event.yml"
277+
:href="SUBMIT_EVENT_URL"
277278
>Submit your event</a>
278279
<button
279280
id="burger-btn"

pcd-website/src/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
export const PCD_EMAIL = "day@processingfoundation.org";
2+
export const SUBMIT_EVENT_URL =
3+
"https://github.com/SableRaf/pcd-website-mvp-2/issues/new?template=new-event.yml";

0 commit comments

Comments
 (0)