mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-07 11:46:09 -05:00
edit fa post
This commit is contained in:
@@ -16,7 +16,14 @@ const Banner = () => {
|
||||
<a href="https://www.twitch.tv/endgametv1">
|
||||
<Box bg={event.bg} p={2} fontWeight="bold" textAlign="center">
|
||||
<MyContainer>
|
||||
<Image w={10} h={10} mb={2} mx="auto" src={event.logoUrl} />
|
||||
<Image
|
||||
w={10}
|
||||
h={10}
|
||||
mb={2}
|
||||
mx="auto"
|
||||
src={event.logoUrl}
|
||||
ignoreFallback
|
||||
/>
|
||||
{event.content}
|
||||
</MyContainer>
|
||||
</Box>
|
||||
|
||||
@@ -28,10 +28,16 @@ const FreeAgentsPage = () => {
|
||||
|
||||
return (
|
||||
<MyContainer>
|
||||
{modalIsOpen && <FAModal onClose={() => setModalIsOpen(false)} />}
|
||||
{modalIsOpen && (
|
||||
<FAModal post={usersPost} onClose={() => setModalIsOpen(false)} />
|
||||
)}
|
||||
<Breadcrumbs pages={[{ name: t`Free Agents` }]} />
|
||||
<Button onClick={() => setModalIsOpen(true)}>
|
||||
<Trans>New free agent post</Trans>
|
||||
{usersPost ? (
|
||||
<Trans>Edit free agent post</Trans>
|
||||
) : (
|
||||
<Trans>New free agent post</Trans>
|
||||
)}
|
||||
</Button>
|
||||
{[...data, ...data, ...data].map((post) => (
|
||||
<FreeAgentCard post={post} />
|
||||
|
||||
Reference in New Issue
Block a user