From d422fc48943cf01891768c34a10f972637e1319b Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 15 Nov 2020 00:16:27 +0300 Subject: feat: add EventCard --- src/containers/BsuFantomSection/BsuFantomSection.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/containers/BsuFantomSection/BsuFantomSection.tsx') diff --git a/src/containers/BsuFantomSection/BsuFantomSection.tsx b/src/containers/BsuFantomSection/BsuFantomSection.tsx index 119b2ae..90632d7 100644 --- a/src/containers/BsuFantomSection/BsuFantomSection.tsx +++ b/src/containers/BsuFantomSection/BsuFantomSection.tsx @@ -1,12 +1,20 @@ import React from 'react'; import { ContentSection } from 'react-benzin'; import { Link } from '@material-ui/core'; +import EventCard from '../../components/EventCard/EventCard'; +import { useEvents } from '../../hooks/APIClient'; const BsuFantomSection: React.FC = () => { + const { data: events } = useEvents(); return ( - Schedule your offline EDUFPMI conference attendance +

+ Schedule your offline EDUFPMI conference attendance +

+ + {events?.map(event => )} +
); }; -- cgit v1.2.3