added events and news feed to in english page

This commit is contained in:
Toni L
2021-02-26 23:01:11 +02:00
parent c0da5fb523
commit ce733edf84
@@ -2,6 +2,7 @@ import React from "react";
import {
Card,
CardSection,
CTASection,
Link,
PageLink,
TextSection,
@@ -75,6 +76,33 @@ const InEnglishPageView: React.FC<InEnglishPageViewProps> = ({ events, feed }) =
</PageLink>
</aside>
</CardSection>
<CTASection
bgColor="orange1"
link="https://sosso.fi"
linkText="Read the newest number of the guild magazine&nbsp;"
>
Sössö since 1969.
</CTASection>
<CardSection>
{feed.map((inst) => (
<Card
key={inst.id}
title={inst.title_en}
start_time={inst.publish_time}
text={inst.description_en}
link={`/feed/${inst.id}`}
buttonOnClick={noop}
/>
))}
<aside>
<PageLink to="/kilta/toiminta#uutiset" desc="and what the Board has been up to&nbsp;">
Read news
</PageLink>
<PageLink to="https://sik.kuvat.fi" desc="in the photo gallery&nbsp;">
Photos from events
</PageLink>
</aside>
</CardSection>
</main>
</>
);