-
Notifications
You must be signed in to change notification settings - Fork 1
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
Improvement : main UI refacto #45
base: develop
Are you sure you want to change the base?
Conversation
Pourquoi ajouter un yarn.lock ? vis à vis de tailwind? |
medias[filter] = parse_query_by_keyword(query, filter)[filter] | ||
else: | ||
for media in medias: | ||
query = query_by_keyword(title, media) | ||
if page : | ||
query = query_by_keyword(title, media, page) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ici tu anticipes la suite? avec page
src=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS9X22avAKEnosxlprQD89neJKvIafesu-5cA&usqp=CAU" | ||
alt="Search Movie"> | ||
src=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS9X22avAKEnosxlprQD89neJKvIafesu-5cA&usqp=CAU" | ||
alt="Search Movie"> | ||
<span class="ml-4 text-xl font-bold uppercase">Movie Search</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ne pas oublier le texte Movie Search
qui est resté en noir
<input id="movie" type="checkbox" name="filter" value="movie" > | ||
<label for="tv">Series</label> | ||
<label class="px-1 hover:underline cursor-pointer" for="movie">Movies</label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pour ce genre de cas, peut être passer par des macros à l'avenir afin de pouvoir modifier le design une seule fois à un seul endroit
@@ -18,7 +18,7 @@ | |||
{% endif %} | |||
|
|||
{{ button_primary(type="submit", text="Log In", class="mt-5 mb-3") }} | |||
{{ nav_link_secondary_button(endpoint="/register", text="Create an account", class="mb-5 text-center") }} | |||
{{ link_secondary_button(endpoint="/register", text="Create an account", class="mb-5 text-center") }} | |||
{{ nav_link(text="Forgot your password ?", endpoint="#", class="text-center") }} | |||
</form> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot your password est resté en blanc sur fond blanc
@@ -18,7 +18,7 @@ | |||
{% endif %} | |||
|
|||
{{ button_primary(type="submit", text="Log In", class="mt-5 mb-3") }} | |||
{{ nav_link_secondary_button(endpoint="/register", text="Create an account", class="mb-5 text-center") }} | |||
{{ link_secondary_button(endpoint="/register", text="Create an account", class="mb-5 text-center") }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dans ce cas on utilise une macro Button
pour le log-in
et une macro link
pour Create an account
j'enleverais le soulignage du texte au hover pour les deux boutons
<!-- | ||
3 - Button types | ||
--> | ||
{% macro link_primary_button(endpoint, text, class) %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on a nav_link_primary_button
et link_primary_button
doublon?
</div> | ||
{% endmacro %} | ||
|
||
{% macro card_media(link, title, poster, overview, date, rate, class) %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi conserver card_search
?
renommer card_search_people
en card_people
ou card_media_people
?
Refacto global sur les éléments visuels