diff --git a/public/logo192.png b/public/logo192.png deleted file mode 100644 index fc44b0a..0000000 Binary files a/public/logo192.png and /dev/null differ diff --git a/public/logo512.png b/public/logo512.png deleted file mode 100644 index a4e47a6..0000000 Binary files a/public/logo512.png and /dev/null differ diff --git a/public/media/backgrounds/default.png b/public/media/backgrounds/default.png new file mode 100644 index 0000000..c45aeea Binary files /dev/null and b/public/media/backgrounds/default.png differ diff --git a/public/media/frames/default.png b/public/media/frames/default.png new file mode 100644 index 0000000..a25e604 Binary files /dev/null and b/public/media/frames/default.png differ diff --git a/src/Phone.css b/src/Phone.css index 74b5e05..d47caea 100644 --- a/src/Phone.css +++ b/src/Phone.css @@ -1,38 +1,50 @@ -.App { - text-align: center; +.PhoneWrapper { + width: 100vw; + height: 100vh; } -.App-logo { - height: 40vmin; - pointer-events: none; +.Phone { + position: absolute; + bottom: 0vh; + right: 0vh; + width: 500px; + height: 1000px; + background-size: cover; } -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } +.PhoneFrame { + position: absolute; + z-index: 999; + width: 500px; + height: 1000px; + pointer-events:none; } -.App-header { - background-color: #282c34; - min-height: 100vh; +.PhoneScreen { + overflow: hidden; + position: absolute; + background-color: black; + bottom: 100px; + left: 50px; + right: 50px; + top: 100px; display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; } -.App-link { - color: #61dafb; +* { + box-sizing: border-box; } - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } +*::-webkit-scrollbar-track +{ + box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + background-color: #F5F5F5; +} +*::-webkit-scrollbar +{ + width: 3px; + background-color: transparent; +} +*::-webkit-scrollbar-thumb +{ + background-color: #666; } diff --git a/src/Phone.js b/src/Phone.js index ce9cbd2..8e7f548 100644 --- a/src/Phone.js +++ b/src/Phone.js @@ -1,26 +1,17 @@ -import React from 'react'; -import logo from './logo.svg'; -import './App.css'; +import React from "react"; +import "./Phone.css"; -function App() { +function Phone() { return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
+
+
+
+
+ Wasap +
+
); } -export default App; +export default Phone; diff --git a/src/index.js b/src/index.js index f5185c1..c5cf53f 100644 --- a/src/index.js +++ b/src/index.js @@ -1,12 +1,12 @@ import React from 'react'; import ReactDOM from 'react-dom'; -import './index.css'; -import App from './App'; +import './main.css'; +import Phone from './Phone'; import * as serviceWorker from './serviceWorker'; ReactDOM.render( - + , document.getElementById('root') ); diff --git a/src/main.css b/src/main.css index ec2585e..65d3220 100644 --- a/src/main.css +++ b/src/main.css @@ -1,10 +1,12 @@ body { - margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + font-size: 20px; + margin: 0; + padding: 0; } code {