Open HassanBahati opened 1 year ago
Hi, @HassanBahati But I think you did this in the page.tsx
Is it it still open? or now we should do it in a data structure format?
hi @mosespace yes partly...though that task also involves reading the data from a data structure that should reside in this directory
@HassanBahati let me have a look at this,
alright
@mosespace how far on this?
@HassanBahati hopefully am handling this tonight! 🙏
Hi, @HassanBahati , Unfortunately I might be getting errors on this! any documentations / guidance on this?
Hi, @HassanBahati , Unfortunately I might be getting errors on this! any documentations / guidance on this?
Hi @mosespace sorry about that...what errors do you get?
events.json
into index.tsx
work?@HassanBahati , yes it works, but when i try replace the hard-coded event data in the Card component with the imported data, like using this brackets {}
for example {events.name}
it fails! i also do the mapping! but it still fails
@HassanBahati , yes it works, but when i try replace the hard-coded event data in the Card component with the imported data, like using this brackets
{}
for example{events.name}
it fails! i also do the mapping! but it still fails
@mosespace please open a pull request with what you have so we can see what the issue could be
we need to add to create a card component and add to the home page.
here is a reference https://v1.tailwindcss.com/components/cards#stacked
the card should have the following
Best if we can create a sample data structure that contains sample events objects and loop those events through the card....so that multiple cards appear on the home page