diff --git a/public/googlee8016108fb58f0dc.html b/public/googlee8016108fb58f0dc.html new file mode 100644 index 0000000..8401290 --- /dev/null +++ b/public/googlee8016108fb58f0dc.html @@ -0,0 +1 @@ +google-site-verification: googlee8016108fb58f0dc.html \ No newline at end of file diff --git a/src/Pages/Home/Home.jsx b/src/Pages/Home/Home.jsx index 6500472..1581919 100644 --- a/src/Pages/Home/Home.jsx +++ b/src/Pages/Home/Home.jsx @@ -4,7 +4,7 @@ import GoMasaiLogo from "../../assets/images/gomasai.png"; // import GoMasaiLogo from "../../assets/images/gomasaiLogo.png"; import { Link, useNavigate } from 'react-router-dom'; import { useSelector, useDispatch } from "react-redux"; -import { setSearchinput, setUserlog } from "../../Redux/action"; +import { setSearchinput } from "../../Redux/action"; function Home() { const { navbar_searchValur } = useSelector((state) => state); @@ -19,110 +19,12 @@ function Home() { navigate("/result") } - const signIn = () => { - } - - - const [user, setUser] = React.useState(JSON.parse(localStorage.getItem('userlogindata')) || { - userauth: false, - name: "Guest", - email: "guest@gomasai.com", - photo: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7e/Circle-icons-profile.svg/1024px-Circle-icons-profile.svg.png" - }) - - // eslint-disable-next-line no-unused-vars - function userDataAddInDatabase(data) { - - let userObject = { - userauth: true, - name: data.displayName, - email: data.email, - photo: data.photoURL, - metadata: data.metadata - } - - dispatch(setUserlog(data)) - - localStorage.setItem('userlogindata', JSON.stringify(userObject)) - setUser(userObject) - } return ( <>
Gmail Images -
- - - -
- - {user.userauth ? - - -

Account

- - : -
- -

Account

-
- } - - - -

Search

- - - -

Maps

- - - -

YouTube

- - - - -

News

- - - - -

Translate

- - - -

Books

- - - -

Shopping

- - - -
-
- { - user.userauth ?
-
- -
-
-

Google Account

-

{user.name}

-

{user.email}

-
-
- : -
-
- -
-

Sign In

-
- }
diff --git a/src/Pages/Home/links.txt b/src/Pages/Home/links.txt deleted file mode 100644 index 857f12f..0000000 --- a/src/Pages/Home/links.txt +++ /dev/null @@ -1,112 +0,0 @@ - - -

Play

-
- - - -

Gmail

-
- - -

Meet

-
- - -

Chat

-
- - -

Contacts

-
- - -

Drive

-
- - -

Calendar

-
- - - -

Photos

-
- - -

Duo

-
- - - - - - - -

Finance

-
- - -

Docs

-
- - -

Sheets

-
- - -

Slides

-
- - - -

Blogger

-
- - -

Hangouts

-
- - -

Keep

-
- - -

Jamboard

-
- - -

Classroom

-
- - -

Earth

-
- - -

Collections

-
- - -

Arts and Culture

-
- - -

Google Ads

-
- - -

Podcasts

-
- - -

Google One

-
- - -

Travel

-
- - -

Forms

-
diff --git a/src/Pages/Videos/Videos.jsx b/src/Pages/Videos/Videos.jsx index d89a660..b97e865 100644 --- a/src/Pages/Videos/Videos.jsx +++ b/src/Pages/Videos/Videos.jsx @@ -42,7 +42,7 @@ function Videos() {

{data.snippet.channelTitle}

{/*

{data.snippet.publishTime}

*/}
- + ) :

Video for "{navbar_searchValur}" not found

} @@ -50,7 +50,7 @@ function Videos() {
- { return document.getElementById("videos__videosPlayerPart").style.display = "none", document.getElementById("videos__videoPlay").removeAttribute("src") }} src="https://img.icons8.com/color/344/close-window.png" alt="" /> + { return (document.getElementById("videos__videosPlayerPart").style.display = "none", document.getElementById("videos__videoPlay").removeAttribute("src")) }} src="https://img.icons8.com/color/344/close-window.png" alt="" />