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

51 lines
1.5 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 = {
2021-04-27 20:13:44 -05:00
kyla: {
url: "https://yiff.life/@midyif",
avi: "/images/kyla.png",
fields: {
"art blog": "https://midyif.neocities.org/",
},
bio: ` ❤️ howdy y'all, let's be pals!~
💛 30 she/her queer anarchist lion mama
💙 cutie partner @shaymoo`,
},
2021-04-25 21:18:47 -05:00
};
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>
);
}
}