Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make sign in button similar to OFF #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexfauquette
Copy link
Member

From #65

The user menu has a logout icon if you're not logged in

I think Pierre got mislead by the sign in icon which is very close to the sign out. I propose To follow OFF behavior: if sign in display the name otherwise display "sign in"

image

This PR is mostly for me to get familiar back with vue.js If you prefer the previouse behavior no pb

@alexfauquette alexfauquette changed the title Make sign in button similar to OFF feat: Make sign in button similar to OFF Jan 27, 2024
Copy link
Member

@raphodn raphodn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe have a different behavior on small screens (smartphones ?)
I feel like the space will be tight... I'd rather keep the "Open Prices" title, and show only icons on small screens, with text on bigger screens ?

@@ -6,14 +6,12 @@
{{ APP_NAME }}
</v-app-bar-title>
<template v-slot:append>
<v-btn v-if="!username" to="/sign-in" icon="mdi-login"></v-btn>
<v-btn v-if="!username" to="/sign-in" prepend-icon="mdi-account" class="text-none">Sign in</v-btn>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing translation

@dq18
Copy link
Collaborator

dq18 commented Feb 5, 2024

I would also either have a different logo or the color of the logo if signed in or signed out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

4 participants