Hiding Certain Elements based on Authentication (logged in user)

Hello!

This is a pretty basic question/ask that I thought it would be straightforward but I guess not. In my fixed menu bar, I want to display ‘Sign In’ & ‘Sign Up’ to anyone who isn’t signed in. However, for those that are already signed in - I would like to show their avatar pic which would link them directly to their account. Anyway I can do that?

Thanks!

Hey BDHoang,

Please see the pic :smile:
You can use the “isAuthenticated” boolean. And precede it with a “!”

1 Like

Thanks for this! I forgot to mention but I use Supabase instead of Xano. I assume it’s the same exact thing but with Supabase? Thanks!

1 Like

Sure thing. I believe it’s the same, yes