Add /events/[year] page #151
Merged
j285he
merged 33 commits from feat/events-year
into main
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'feat/events-year'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Closes #112
WIP: Add /events/[year] pageto Add /events/[year] page 2 years agoCan you add all the events in a separate PR? I can't see the actual changes right now.
OK, see !157. I've added the
content/events
folder so that I could pass build, and also addedcontent/events/2021
for testing and demonstration purposes.Most comments on #158 apply here too.
margin: auto;
margin-top: calc(112rem / 16);
margin-bottom: calc(224rem / 16);
width: calc(800rem / 16);
no need, DefaultLayout already handles this.
.main {
margin: auto;
no need, just set top and bottom
.main {
margin: auto;
margin-top: calc(112rem / 16);
reduce this for mobile styles
I eyeballed with 112rem/48px for desktop/mobile's
margin-top
. I measured in Figma and I believe it says 157px/70px, however trying those values the spacing seemed off. Let me know if you want that changed.(oops, also if you get like 12 notifications for this, sorry. I may have spammed the reply button after my wifi flipped out 😣)
Just 60px for both mobile and desktop should be good
.main {
margin: auto;
margin-top: calc(112rem / 16);
margin-bottom: calc(224rem / 16);
no need.
width: calc(800rem / 16);
}
.heading2 {
no need.
color: var(--primary-accent)
}
.links {
Please look at how this is done in news archive and copy from there
Can you delete the .gitkeep files?
@media only screen and (max-width: calc(768rem / 16)) {
.main {
margin-top: calc(60rem / 16);
no need
.main > h2 {
padding-bottom: 1rem;
border-bottom: 1px solid var(--primary-heading);
calc(1rem / 16)
LGTM after the 3 comments above!
656524eee7
into main 2 years agoReviewers
656524eee7
.