Add google calendar link to front page

This commit is contained in:
Tommi S
2023-05-24 16:03:44 +03:00
parent bdcf4840f5
commit 63df5e6f5f
+4 -4
View File
@@ -28,8 +28,8 @@ const Events: React.FC<EventsProps> = ({ events, lang }) => {
const pageLinkText = t("Kaikki tapahtumat");
const pageLinkDesc = `${t("löydät tapahtumakalenterista")}\xa0`;
const g_calendarText = t("Lisää killan");
const g_calendarDesc = `${t("Google-kalenteri")}\xa0`;
const gCalendarText = t("Lisää killan");
const gCalendarDesc = `${t("Google-kalenteri")}\xa0`;
const locale = isFi ? "fi-FI" : "en-GB";
@@ -65,8 +65,8 @@ const Events: React.FC<EventsProps> = ({ events, lang }) => {
<PageLink to="/kilta/toiminta#tapahtumat" desc={pageLinkDesc}>
{pageLinkText}
</PageLink>
<PageLink to="https://calendar.google.com/calendar/u/0?cid=Y19mYjhhNWUwMjVjMjhkMTg5YTkzMWYyN2U5N2M4ODBmMGFhNTdmN2M1NDFlYzVhNjdlZDM4NzliYTVhNDEwNWI1QGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20" desc={g_calendarDesc}>
{g_calendarText}
<PageLink to="https://calendar.google.com/calendar/u/0?cid=Y19mYjhhNWUwMjVjMjhkMTg5YTkzMWYyN2U5N2M4ODBmMGFhNTdmN2M1NDFlYzVhNjdlZDM4NzliYTVhNDEwNWI1QGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20" desc={gCalendarDesc}>
{gCalendarText}
</PageLink>
</aside>