diff --git a/src/assets/styles/Play.css b/src/assets/styles/Play.css index 1eb14a4..6731e67 100644 --- a/src/assets/styles/Play.css +++ b/src/assets/styles/Play.css @@ -7,6 +7,9 @@ } .play { + display: flex; + flex-direction: column; + justify-content: space-between; border-radius: 15px; overflow: hidden; width: 250px; @@ -27,15 +30,15 @@ .play-poster { width: 100%; - height: auto; + /* height: auto; */ border-radius: 10px 10px 0 0; - margin-bottom: 40px; + margin-bottom: 20px; } .play-ranking { position: absolute; text-align: left; - bottom: 100px; + top: 50%; width: 230px; color: var(--text-color); background-color: rgba(0, 0, 0, 0.8); diff --git a/src/assets/styles/PlaysList.css b/src/assets/styles/PlaysList.css index b61c115..8069f26 100644 --- a/src/assets/styles/PlaysList.css +++ b/src/assets/styles/PlaysList.css @@ -9,7 +9,7 @@ justify-content: center; align-items: center; width: 100%; - min-height: 100vh; + /* min-height: 100vh; */ margin-inline: auto; position: relative; diff --git a/src/components/NavBar.js b/src/components/NavBar.js index 7e4353d..e459a36 100644 --- a/src/components/NavBar.js +++ b/src/components/NavBar.js @@ -1,39 +1,39 @@ -import React, { useState } from "react"; -import { NavLink } from "react-router-dom"; // Import Link from react-router-dom +import React from "react"; +import { NavLink } from "react-router-dom"; import "../assets/styles/NavBar.css"; const Navbar = () => { - const [activeLink, setActiveLink] = useState("Movies"); + const handleComingSoon = (event) => { + event.preventDefault(); // Prevents navigation + alert("This part of the website is not yet prepared."); + }; return (