werefox-cafe/src/info/pages/identities/partners/index.js

49 lines
1.3 KiB
JavaScript
Raw Normal View History

2021-04-25 21:18:47 -05:00
import BasicPage from "../../../components/basic-page-template";
import WCard from "../../../components/werefox-card";
import LCard from "../../../components/love-card";
2021-04-25 21:18:47 -05:00
// Use this to list out partner info on this page. >w>
2021-04-25 21:18:47 -05:00
const PARTNERS = {
// username: {
2021-04-25 21:18:47 -05:00
// url: "",
// avi: "",
// fields: {
// "": "",
// },
// bio: ``,
// },
};
export default function Partners() {
if (Object.keys(PARTNERS).length) {
2021-04-25 21:18:47 -05:00
return (
<BasicPage page_title="Partners" card_title="Partners!">
{Object.keys(PARTNERS).map((partner) => (
<LCard
key={PARTNERS[partner].url}
src={PARTNERS[partner].avi}
alt={`${partner}'s Avatar`}
url={PARTNERS[partner].url}
user={partner}
fields={PARTNERS[partner].fields}
bio={PARTNERS[partner].bio}
></LCard>
))}
</BasicPage>
);
} else {
return (
<BasicPage page_title="Partners" card_title="Partners!">
<WCard>
<p className="p-6 text-lg text-center text-werefox-blue-dark dark:text-werefox-blue">
Oh! It looks like I don't have any partners at the moment.
<br />
Oh well!
</p>
</WCard>
</BasicPage>
);
}
}