Remove all uses of Google Services (#133)

* Use OS default Sans-Serif font instead of Google Nunito Sans Font

* Link calendar event locations to OSM instead of Google Maps

Better would be to use https://www.mediawiki.org/wiki/GeoHack – which is used
by WikiPedia to show an interactive selector for the mapping service to use –,
but it requires geo coordinates. Some systems also support generic geo:-URIs,
but they require coodinates and outside Android support is pretty spotty
(Apple wants you to use Apple Maps links instead, desktop platforms generally
require installed third-party apps …). Android does support an extension (`?q=`)
(https://developer.android.com/guide/components/intents-common#Maps) to search
by address via geo:-links though.
This commit is contained in:
Erin of Yukis 2025-12-15 14:29:16 +00:00 committed by GitHub
parent dcac5d8c44
commit 05cae80c12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ export default function ViewEventModal(
? (
<section class='py-5 my-0 border-b border-slate-500'>
<a
href={`https://maps.google.com/maps?q=${encodeURIComponent(calendarEvent.location)}`}
href={`https://www.openstreetmap.org/search?query=${encodeURIComponent(calendarEvent.location)}`}
target='_blank'
rel='noopener noreferrer'
>

View file

@ -59,7 +59,6 @@ export class EmailModel {
<style type="text/css" rel="stylesheet" media="all">
/* Base ------------------------------ */
@import url("https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap");
body {
width: 100% !important;
height: 100%;
@ -95,7 +94,8 @@ export class EmailModel {
body,
td,
th {
font-family: "Nunito Sans", Helvetica, Arial, sans-serif;
/* Source: https://fontsarena.com/blog/operating-systems-default-sans-serif-fonts/ */
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;
}
h1 {