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 01:57:01 -05:00
|
|
|
|
2021-04-25 21:18:47 -05:00
|
|
|
// Use this to list out partner info on this page. >w>
|
2021-04-25 01:57:01 -05:00
|
|
|
|
2021-04-25 21:18:47 -05:00
|
|
|
const PARTNERS = {
|
2021-04-26 22:09:18 -05:00
|
|
|
// username: {
|
2021-04-25 21:18:47 -05:00
|
|
|
// url: "",
|
|
|
|
// avi: "",
|
|
|
|
// fields: {
|
|
|
|
// "": "",
|
|
|
|
// },
|
|
|
|
// bio: ``,
|
|
|
|
// },
|
|
|
|
};
|
|
|
|
|
|
|
|
export default function Partners() {
|
2021-04-26 22:09:18 -05:00
|
|
|
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>
|
|
|
|
);
|
|
|
|
}
|
2021-04-25 01:57:01 -05:00
|
|
|
}
|