add front page info section

This commit is contained in:
elisejakob committed 2019-03-09 16:52:36 +01:00
1 parent 2bd92ab896
commit d9c4ca085e
2 files changed
+33

No files matched your search

+15
View File
@@ -100,4 +100,19 @@ td, th {
width: 100%;
height: 100%;
}
}
/* ———————— TODO: place this stuff somewhere else ———————— */
.front-page-info {
display: flex;
background: $color-white;
> div {
width: 50%;
}
}
.volunteer {
background: $color-green;
}
+18
View File
@@ -16,11 +16,29 @@ export default class IndexPage extends React.Component {
return (
<Layout>
<EventList events={events} numDays={7} groupBy="day" />
<Link to="/program/">Vis alle</Link>
<section className="front-page-info">
<div className="opening-hours">
<h2>Åpningstider</h2>
<ul>
<li>Glassbaren:</li>
<li>Bokcaféen:</li>
</ul>
</div>
<div className="address">
<h2>Adresse</h2>
<p>Finn veibeskrivelse</p>
<label for="directions">Jeg vil reise fra:</label>
<input type="text" name="directions" placeholder="Skriv inn adresse" />
</div>
</section>
<section className="volunteer">
<Link to="/bli-aktiv/"><h1 className="section-title">Bli frivillig</h1></Link>
<p>Vil du være med å arrangere greier på studentersamfundet? Kom æ</p>
</section>
<PostList posts={posts} title="Aktuelt" />
<Link to="/nyheter/">Vis alle</Link>
</Layout>
)
}