Update visibility settings for AuthButtons

The 'Div' and 'Link' elements visibility within AuthButtons component have been updated. Previously, they were hidden for smaller screens or at lower resolutions, now it has been adjusted to be visible for such instances allowing better user interface for all types of devices.
This commit is contained in:
giancarlo
2024-04-10 20:38:38 +08:00
parent 59e7eaf1a4
commit 67139d069f

View File

@@ -56,14 +56,16 @@ function SuspendedPersonalAccountDropdown(props: { user: User | null }) {
function AuthButtons() { function AuthButtons() {
return ( return (
<div className={'hidden space-x-0.5 lg:flex'}> <div className={'flex space-x-0.5'}>
<ModeToggle /> <div className={'hidden space-x-0.5 md:flex'}>
<ModeToggle />
<Link href={pathsConfig.auth.signIn}> <Link href={pathsConfig.auth.signIn}>
<Button variant={'link'}> <Button variant={'link'}>
<Trans i18nKey={'auth:signIn'} /> <Trans i18nKey={'auth:signIn'} />
</Button> </Button>
</Link> </Link>
</div>
<Link href={pathsConfig.auth.signUp}> <Link href={pathsConfig.auth.signUp}>
<Button className={'rounded-full'}> <Button className={'rounded-full'}>