-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7542201
commit 91285d1
Showing
11 changed files
with
546 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ | |
# production | ||
/build | ||
|
||
# env | ||
.env | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,154 @@ | ||
.App { | ||
text-align: center; | ||
body { | ||
background: #000a1e; | ||
color: #e8e6e3; | ||
user-select: none; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
.header-container { | ||
background: #006cff; | ||
color: white; | ||
width: 100vw; | ||
height: 52px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-weight: bold; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
.header-icon { | ||
margin: 5px; | ||
} | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
input { | ||
background: inherit; | ||
color: white; | ||
outline: none; | ||
border-style: none; | ||
border-radius: 8px; | ||
} | ||
|
||
.input-container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.input { | ||
border: 3px solid dodgerblue; | ||
border-radius: 8px; | ||
padding: 12px 16px; | ||
margin: 16px; | ||
} | ||
|
||
.input-search { | ||
width: 60vw; | ||
} | ||
|
||
.card-container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
align-items: center; | ||
} | ||
|
||
.card-video { | ||
background: #041938; | ||
color: white; | ||
padding: 2px; | ||
border-radius: 25px; | ||
width: 90vw; | ||
height: 400px; | ||
border: 5px solid dodgerblue; | ||
margin-bottom: 16px; | ||
position: relative; | ||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
.card-video:hover { | ||
transform: scale(1.03); | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
.app-container { | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
} | ||
|
||
.screen-container { | ||
margin: 16px; | ||
flex: 0.92; | ||
} | ||
|
||
.footer { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.footer-name { | ||
text-decoration: none; | ||
color: cyan; | ||
font-weight: bold; | ||
} | ||
|
||
.loading-container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
height: 95vh; | ||
color: #00bfff; | ||
font-weight: bold; | ||
font-size: 25px; | ||
} | ||
|
||
.loading-title { | ||
margin-top: 16px; | ||
} | ||
|
||
.trending-title { | ||
font-weight: bold; | ||
font-size: 20px; | ||
color: aqua; | ||
margin-bottom: 16px; | ||
text-align: center; | ||
} | ||
|
||
.video-thumbnail { | ||
width: 100%; | ||
height: 72%; | ||
border-radius: 25px; | ||
} | ||
|
||
.video-details { | ||
padding: 8px; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.video-title { | ||
font-weight: bold; | ||
} | ||
|
||
.video-wrapper { | ||
flex-direction: row; | ||
} | ||
|
||
.play-image-icon { | ||
position: absolute; | ||
top: 140px; | ||
left: 40%; | ||
} | ||
|
||
/* Responsive Website */ | ||
@media screen and (min-width: 350px) { | ||
.card-video { | ||
width: 300px; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
|
||
.video-wrapper { | ||
display: inline-block; | ||
margin-left: 12px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,7 @@ | ||
import logo from './logo.svg'; | ||
import './App.css'; | ||
import "./App.css"; | ||
|
||
function App() { | ||
return ( | ||
<div className="App"> | ||
<header className="App-header"> | ||
<img src={logo} className="App-logo" alt="logo" /> | ||
<p> | ||
Edit <code>src/App.js</code> and save to reload. | ||
</p> | ||
<a | ||
className="App-link" | ||
href="https://reactjs.org" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Learn React | ||
</a> | ||
</header> | ||
</div> | ||
); | ||
return <div>Play Videos Hub</div>; | ||
} | ||
|
||
export default App; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom/client'; | ||
import './index.css'; | ||
import App from './App'; | ||
import reportWebVitals from './reportWebVitals'; | ||
import React from "react"; | ||
import ReactDOM from "react-dom/client"; | ||
import "./index.css"; | ||
import App from "./App"; | ||
|
||
const root = ReactDOM.createRoot(document.getElementById('root')); | ||
const root = ReactDOM.createRoot(document.getElementById("root")); | ||
root.render( | ||
<React.StrictMode> | ||
<App /> | ||
</React.StrictMode> | ||
); | ||
|
||
// If you want to start measuring performance in your app, pass a function | ||
// to log results (for example: reportWebVitals(console.log)) | ||
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals | ||
reportWebVitals(); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.