diff --git a/_config.yml b/_config.yml index a00db2a..fb685f7 100644 --- a/_config.yml +++ b/_config.yml @@ -6,14 +6,13 @@ description: >- # this means to ignore newlines until "baseurl:" baseurl: "/" # the subpath of your site, e.g. /blog url: "https://remotehack.space" # the base hostname & protocol for your site, e.g. http://example.com discord_invite_url: https://discord.gg/wNq8uVvQT3 - - +live_map_api: https://remotehack-livemap-api.jakew.workers.dev # Build settings plugins: - jekyll-redirect-from - jekyll-sitemap - + timezone: Europe/London # To ensure that events in the future generate their html pages diff --git a/_includes/livemap.html b/_includes/livemap.html new file mode 100644 index 0000000..ad137ec --- /dev/null +++ b/_includes/livemap.html @@ -0,0 +1,85 @@ +

+ Loading... +

+
+
+

Join the Discord to add yourself to the map

+ + diff --git a/_sass/_style.scss b/_sass/_style.scss index 216c471..2142a36 100644 --- a/_sass/_style.scss +++ b/_sass/_style.scss @@ -353,3 +353,11 @@ ol { } } } + +.tooltip { + position: absolute; + background: var(--background-light); + color: var(--foreground); + padding: 5px; + display: none; +} diff --git a/pages/index.html b/pages/index.html index a96ac9d..f5bbb9a 100644 --- a/pages/index.html +++ b/pages/index.html @@ -11,6 +11,13 @@ An online event where you can meet friends and work on something new

+
+
+

Live Map

+ {% include livemap.html %} +
+
+

Next event