added events and news feed to in english page
This commit is contained in:
@@ -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 ›"
|
||||
>
|
||||
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 ›">
|
||||
Read news
|
||||
</PageLink>
|
||||
<PageLink to="https://sik.kuvat.fi" desc="in the photo gallery ›">
|
||||
Photos from events
|
||||
</PageLink>
|
||||
</aside>
|
||||
</CardSection>
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user