Skip to content

Commit

Permalink
feat: adds complete program
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelbr committed May 28, 2024
1 parent 9062d35 commit 7214fcc
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
23 changes: 22 additions & 1 deletion pages/refill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,14 @@ export default function Refill() {
</p>

<div className={style.calendarContainer}>
<a href="/refill/event.ics" download="true">
<a href="/refill/event.ics" download>
<CalendarIcon />
Marker i kalender
</a>
<a href="/refill/program.pdf" download>
<DownloadIcont />
Last ned programmet
</a>
</div>
</div>
</div>
Expand Down Expand Up @@ -154,6 +158,23 @@ function Speaker({ name, src }: ProgramItemProps['speaker']) {
);
}

function DownloadIcont() {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="20px"
height="20px"
role="none"
viewBox="0 0 24 24"
>
<path
fill="currentColor"
d="m12 16l-5-5l1.4-1.45l2.6 2.6V4h2v8.15l2.6-2.6L17 11zm-6 4q-.825 0-1.412-.587T4 18v-3h2v3h12v-3h2v3q0 .825-.587 1.413T18 20z"
/>
</svg>
);
}

function CalendarIcon() {
return (
<svg
Expand Down
Binary file added public/refill/program.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions src/refill/refill.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@

.calendarContainer {
padding: 2rem 0;
display: flex;
gap: 1rem;
}
.calendarContainer a {
display: inline-flex;
Expand Down

0 comments on commit 7214fcc

Please sign in to comment.