🚸(frontend) introduce an icon on the login prompt for visual distinction

This will be useful when adding an alternative card to request the meeting
creator to start the recording.
This commit is contained in:
lebaudantoine
2026-01-02 15:06:15 +01:00
committed by aleb_the_flash
parent d9dbededee
commit 6e1ad7fca5
2 changed files with 14 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
import { H, Text } from '@/primitives'
import { css } from '@/styled-system/css'
import { LoginButton } from '@/components/LoginButton'
import { HStack } from '@/styled-system/jsx'
interface LoginPromptProps {
heading: string
@@ -22,16 +23,14 @@ export const LoginPrompt = ({ heading, body }: LoginPromptProps) => {
flexDirection: 'column',
})}
>
<H
lvl={3}
className={css({
display: 'flex',
alignItems: 'center',
marginBottom: '0.35rem',
})}
>
{heading}
</H>
<HStack justify="start" alignItems="center" marginBottom="0.5rem">
<span className="material-symbols" aria-hidden={true}>
login
</span>
<H lvl={3} margin={false} padding={false}>
{heading}
</H>
</HStack>
<Text variant="smNote" wrap="pretty">
{body}
</Text>

View File

@@ -106,6 +106,11 @@ export const text = cva({
marginBottom: 1,
},
},
padding: {
false: {
padding: '0!',
},
},
fullWidth: {
true: {
width: '100%',