Add google calendar link to front page
This commit is contained in:
@@ -28,8 +28,8 @@ const Events: React.FC<EventsProps> = ({ events, lang }) => {
|
|||||||
const pageLinkText = t("Kaikki tapahtumat");
|
const pageLinkText = t("Kaikki tapahtumat");
|
||||||
const pageLinkDesc = `${t("löydät tapahtumakalenterista")}\xa0›`;
|
const pageLinkDesc = `${t("löydät tapahtumakalenterista")}\xa0›`;
|
||||||
|
|
||||||
const g_calendarText = t("Lisää killan");
|
const gCalendarText = t("Lisää killan");
|
||||||
const g_calendarDesc = `${t("Google-kalenteri")}\xa0›`;
|
const gCalendarDesc = `${t("Google-kalenteri")}\xa0›`;
|
||||||
|
|
||||||
const locale = isFi ? "fi-FI" : "en-GB";
|
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}>
|
<PageLink to="/kilta/toiminta#tapahtumat" desc={pageLinkDesc}>
|
||||||
{pageLinkText}
|
{pageLinkText}
|
||||||
</PageLink>
|
</PageLink>
|
||||||
<PageLink to="https://calendar.google.com/calendar/u/0?cid=Y19mYjhhNWUwMjVjMjhkMTg5YTkzMWYyN2U5N2M4ODBmMGFhNTdmN2M1NDFlYzVhNjdlZDM4NzliYTVhNDEwNWI1QGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20" desc={g_calendarDesc}>
|
<PageLink to="https://calendar.google.com/calendar/u/0?cid=Y19mYjhhNWUwMjVjMjhkMTg5YTkzMWYyN2U5N2M4ODBmMGFhNTdmN2M1NDFlYzVhNjdlZDM4NzliYTVhNDEwNWI1QGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20" desc={gCalendarDesc}>
|
||||||
{g_calendarText}
|
{gCalendarText}
|
||||||
</PageLink>
|
</PageLink>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user