-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTalkFooter.jsx
31 lines (29 loc) · 938 Bytes
/
TalkFooter.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import HeaderIcon from "../HeaderIcon/HeaderIcon";
import IconView from "../../icons/View";
import { Nunito, Open_Sans } from "next/font/google";
import styles from "./TalkFooter.module.css";
const nunito = Nunito({ subsets: ["latin"] });
const openSans = Open_Sans({ subsets: ["latin"] });
export default function TalkFooter({ talk }) {
return (
<footer
className={`${styles.card__footer} justify-between flex gap-8 ${openSans.className}`}
>
<div className="flex gap-8" style={{ fontSize: "13px" }}>
<HeaderIcon icon="calendar" text={talk.date} />
<HeaderIcon icon="mapPin" text={talk.event} />
</div>
<div>
<a
target="__blank"
rel="noopener"
href={talk.link}
className={`button-primary ${nunito.className}`}
>
<IconView width={24}></IconView>
<span>Play</span>
</a>
</div>
</footer>
);
}