diff --git a/imdb_frontend/src/App.js b/imdb_frontend/src/App.js index 7dc827c..0c04404 100644 --- a/imdb_frontend/src/App.js +++ b/imdb_frontend/src/App.js @@ -9,7 +9,7 @@ import { Logo } from './Logo'; import Homepage from "./components/Homepage/homepage" import { Video } from './trailor&FooterComponent/video' import { Footer } from './trailor&FooterComponent/footer' -import { Search } from './searchBar/search'; +// import { Search } from './searchBar/search'; import {Routes, Route} from "react-router-dom" import SignUp from './components/Signup/singup'; import Createaccount from './components/Createaccount/createaccount'; @@ -20,7 +20,7 @@ function App() { {/* { video()} */} - + {/* */} } > } > @@ -32,7 +32,7 @@ function App() { { Footer() } - + ); } diff --git a/imdb_frontend/src/Components/Homepage/homepage.jsx b/imdb_frontend/src/Components/Homepage/homepage.jsx index 5f7cba1..0b1860c 100644 --- a/imdb_frontend/src/Components/Homepage/homepage.jsx +++ b/imdb_frontend/src/Components/Homepage/homepage.jsx @@ -7,6 +7,7 @@ import { useNavigate } from "react-router"; import { topPicks,users } from "../../Redux/state"; import {Video} from "../../trailor&FooterComponent/video" import css from "./homepage.css" +import Search from "../../searchBar/search" const Homepage =() => { const user = useSelector((store)=>store.user) // console.log("user",user.subscribed) @@ -139,6 +140,7 @@ useEffect(()=>{ let idx = Math.floor(Math. random () * (11 - 1) + 1) return( <> +
diff --git a/imdb_frontend/src/components/Createaccount/createaccount.css b/imdb_frontend/src/components/Createaccount/createaccount.css index d64ee14..e038a6c 100644 --- a/imdb_frontend/src/components/Createaccount/createaccount.css +++ b/imdb_frontend/src/components/Createaccount/createaccount.css @@ -1,4 +1,8 @@ +.all_conatiner{ + background-color: white; + margin-top: 50px; +} .container_creareaccount{ height: 600px; @@ -11,6 +15,7 @@ justify-content: center; /* z-index: 1; */ + } .fromcontainer{ diff --git a/imdb_frontend/src/components/Createaccount/createaccount.jsx b/imdb_frontend/src/components/Createaccount/createaccount.jsx index 989a930..cc7be10 100644 --- a/imdb_frontend/src/components/Createaccount/createaccount.jsx +++ b/imdb_frontend/src/components/Createaccount/createaccount.jsx @@ -18,6 +18,7 @@ import { useToast } from '@chakra-ui/react' import { IconButton } from '@chakra-ui/icons' import { Routes, Route ,useNavigate,Link} from "react-router-dom"; + import Search from "../../searchBar/search" import { useState } from "react"; @@ -227,6 +228,7 @@ handletogocreate() } return ( +
@@ -279,6 +281,7 @@ handletogocreate()
+
) } diff --git a/imdb_frontend/src/components/Login/login.jsx b/imdb_frontend/src/components/Login/login.jsx index 140c555..15f0db3 100644 --- a/imdb_frontend/src/components/Login/login.jsx +++ b/imdb_frontend/src/components/Login/login.jsx @@ -90,7 +90,7 @@ function Login() { .then((res)=>{ console.log(res) dispatch(users(res)) - + navigate("/") }) .catch((error)=>console.log(error)) } diff --git a/imdb_frontend/src/components/Signup/signup.css b/imdb_frontend/src/components/Signup/signup.css index 29847bf..cd6742a 100644 --- a/imdb_frontend/src/components/Signup/signup.css +++ b/imdb_frontend/src/components/Signup/signup.css @@ -11,7 +11,7 @@ body{ height: 650px; width: 100%; background-color: rgb(235, 225, 212); - border: 1px solid red; + /* border: 1px solid red; */ margin: 0% !important; padding: 0%; } @@ -183,7 +183,7 @@ color: black; } .recenthistory{ height: 50px; - border: 1px solid green; + /* border: 1px solid green; */ width: 95%; margin: auto; display: flex; diff --git a/imdb_frontend/src/components/Signup/singup.jsx b/imdb_frontend/src/components/Signup/singup.jsx index 8ebeb90..7788feb 100644 --- a/imdb_frontend/src/components/Signup/singup.jsx +++ b/imdb_frontend/src/components/Signup/singup.jsx @@ -5,6 +5,7 @@ import google from './googlelogo.png'; import apple from './apple.png'; import amazon from './amazonlogo.png'; import { useNavigate } from 'react-router-dom'; +import Search from "../../searchBar/search" import { Link } from 'react-router-dom'; @@ -16,6 +17,7 @@ const SignUp = () => { return (
+
diff --git a/imdb_frontend/src/searchBar/search.jsx b/imdb_frontend/src/searchBar/search.jsx index 1f14f5d..92c367c 100644 --- a/imdb_frontend/src/searchBar/search.jsx +++ b/imdb_frontend/src/searchBar/search.jsx @@ -32,7 +32,7 @@ import { useEffect, useState, useRef } from 'react'; import { InputContent } from './inputContent'; import Login from '../components/Login/login'; // import abc from '' -export function Search() { +function Search() { // const initialFocusRef = useRef() const [inputGiven, setInputGiven] = useState(''); const [movieList, setMovieList] = useState([]); @@ -137,4 +137,5 @@ export function Search() { ) -} \ No newline at end of file +} +export default Search \ No newline at end of file diff --git a/imdb_frontend/src/trailor&FooterComponent/Footer.css b/imdb_frontend/src/trailor&FooterComponent/Footer.css index a95e5e3..0ac1a8d 100644 --- a/imdb_frontend/src/trailor&FooterComponent/Footer.css +++ b/imdb_frontend/src/trailor&FooterComponent/Footer.css @@ -1,9 +1,12 @@ + + .footerFirstLine{ display: grid; grid-template-columns: repeat(4,1fr); width: 15vw; margin: auto; margin-top: 5vh; + } .footerFirstLine > img, .footerFirstLine > a{ width: 2vw; diff --git a/imdb_frontend/src/trailor&FooterComponent/footer.jsx b/imdb_frontend/src/trailor&FooterComponent/footer.jsx index 5f6ba92..d179dfb 100644 --- a/imdb_frontend/src/trailor&FooterComponent/footer.jsx +++ b/imdb_frontend/src/trailor&FooterComponent/footer.jsx @@ -2,7 +2,7 @@ import React from 'react' import './Footer.css' export const Footer = () => { return ( - <> +
@@ -28,7 +28,7 @@ export const Footer = () => {

an amazon company

©1990-2022 by IMDb.com, Inc.

- +
) } diff --git a/imdb_frontend/src/trailor&FooterComponent/video.jsx b/imdb_frontend/src/trailor&FooterComponent/video.jsx index 899245c..da20f02 100644 --- a/imdb_frontend/src/trailor&FooterComponent/video.jsx +++ b/imdb_frontend/src/trailor&FooterComponent/video.jsx @@ -11,6 +11,7 @@ import { import './video.css'; import { useNavigate, useParams } from 'react-router'; import { useSelector } from 'react-redux'; +import Search from '../searchBar/search'; export const Video = () => { let { id } = useParams(); @@ -24,6 +25,7 @@ export const Video = () => { console.log(data); return ( <> + {/* This is the Box */}