acm-ucr / h4b-website

Building a community to combat food insecurity in Inland Empire
2 stars 0 forks source link

Implement Connect.jsx #31

Closed seanquiambao closed 1 week ago

seanquiambao commented 1 week ago
image

Component:

References: https://acm-ucr.github.io/docusaurus/docs/react/mapping-filtering https://react-icons.github.io/react-icons/

ALE00111 commented 1 week ago

I can't currently find the file called support? Is it in a different folder?

seanquiambao commented 1 week ago

I can't currently find the file called support? Is it in a different folder?

you'll have to create a folder called support (inside data), and create the SOCIALS.js under /data/support. unless you're talking about the components, then it should be there already.

seanquiambao commented 1 week ago

I can't currently find the file called support? Is it in a different folder?

you'll have to create a folder called support (inside data), and create the SOCIALS.js under /data/support. unless you're talking about the components, then it should be there already.

oh wait there's neither 😭😭

just create a folder if it doesn't exist. for folder names, it should be lowercased and single word

ALE00111 commented 1 week ago

I can't currently find the file called support? Is it in a different folder?

you'll have to create a folder called support (inside data), and create the SOCIALS.js under /data/support. unless you're talking about the components, then it should be there already.

oh wait there's neither 😭😭

just create a folder if it doesn't exist. for folder names, it should be lowercased and single word

Also, should this be done with a map in SOCIALS? Like in a page in the support app, I import data from socials and that data is used in the support component.

seanquiambao commented 1 week ago

Yes you would use the mapping function to map through the array SOCIALS