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

Improve visuals #75

Merged
merged 3 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a
href="#now-playing"
class="flex items-center justify-center w-full px-4 py-2 mt-2 space-x-2 text-lg font-semibold text-white rounded-md h-14 md:w-auto bg-violet-600 hover:bg-violet-500 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-violet-500"
>🍿 Jump to the Movies 🍿</a>
>Jump to the Movies 🍿</a>
</div>

<div class="mt-4 space-y-4 leading-7 md:mt-8">
Expand Down
2 changes: 1 addition & 1 deletion views/partials/navbar.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<nav class="flex justify-center h-12 bg-violet-200">
<div class="flex items-center w-full h-full max-w-6xl">
<div class="flex items-center w-full h-full max-w-4xl">
<%- include('navbar/button', { text: 'Upcoming', route: '/' }) %>

<%- include('navbar/button', { text: 'Previous', route: '/previous' }) %>
Expand Down
2 changes: 1 addition & 1 deletion views/partials/navbar/button.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<a
href="<%= route %>"
class="h-full py-2 px-4 font-medium flex flex-col justify-center grow sm:grow-0 <%= route === path
class="h-full py-2 px-4 font-medium flex flex-col justify-center items-center grow sm:grow-0 <%= route === path
? 'text-white bg-violet-600'
: 'text-gray-800 hover:bg-violet-300'
%>"
Expand Down
Loading