Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Dec 15, 2023
1 parent c82f5e8 commit 6c70232
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
File renamed without changes.
62 changes: 31 additions & 31 deletions components/episode-ai-thingy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,39 +128,39 @@ export function EpisodeAIThingy(props: Props) {
}, [state]);

return (
<Box id={props.id.toString()} position="relative">
{state.type === 'success' ? null : (
<Flex
align="center"
height="100%"
justify="center"
left="0"
position="absolute"
style={{ backdropFilter: 'blur(3px)', borderRadius: 10, zIndex: 1 }}
top="0"
width="100%"
>
<Button highContrast onClick={doTheThingy} size="4">
<Flex align="center" gap="2" justify="center">
<Text mt="1" size="6" trim="both">
<PiRobotBold />
</Text>

<Text
style={{
textTransform: 'uppercase',
}}
weight="bold"
>
{buttonText}
</Text>
</Flex>
</Button>
</Flex>
)}

<Box id={props.id.toString()}>
<CollapsiblePanel open={state.type === 'success'} title="Episode summary">
<MockAIThingy />

{state.type === 'success' ? null : (
<Flex
align="center"
height="100%"
justify="center"
left="0"
position="absolute"
style={{ backdropFilter: 'blur(3px)', borderRadius: 10, zIndex: 1 }}
top="0"
width="100%"
>
<Button highContrast onClick={doTheThingy} size="4">
<Flex align="center" gap="2" justify="center">
<Text mt="1" size="6" trim="both">
<PiRobotBold />
</Text>

<Text
style={{
textTransform: 'uppercase',
}}
weight="bold"
>
{buttonText}
</Text>
</Flex>
</Button>
</Flex>
)}
</CollapsiblePanel>
</Box>
);
Expand Down

0 comments on commit 6c70232

Please sign in to comment.