-
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
Mohit Bajaj
authored and
Mohit Bajaj
committed
Jul 25, 2019
1 parent
cedb5d6
commit d9f9e4f
Showing
20 changed files
with
296 additions
and
50 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
/node_modules | ||
/.pnp | ||
.pnp.js | ||
*copy*.* | ||
|
||
# testing | ||
/coverage | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.formbox { | ||
max-width: 80%; | ||
width: 800px; | ||
background-image: url("congruent_pentagon.png"); | ||
/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */ | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from 'react'; | ||
import './ImageLinkForm.css' | ||
|
||
const ImageLinkForm = () => { | ||
return( | ||
<div > | ||
<p className="f3"> | ||
{'This magic brain will detect faces in your pictures!'} | ||
</p> | ||
<div className="formbox center shadow-5 pa5"> | ||
<input type="text" className="f4 pa2 w-70 center" name="" id=""/> | ||
<button className="w-30 tc grow f4 link ph3 pv2 dib white bg-green b--white-05">Detect</button> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default ImageLinkForm; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.Tilt-inner img{ | ||
height: auto; | ||
width: 80%; | ||
} | ||
|
||
.Tilt { | ||
background: linear-gradient(90deg, rgba(0,166,141,1) 0%, rgba(10,176,241,1) 100%); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from 'react'; | ||
import './Logo.css'; | ||
import brain from './brain.svg'; | ||
import Tilt from 'react-tilt'; | ||
|
||
const Logo = () => { | ||
return( | ||
<div className="ma4 mt0"> | ||
<Tilt className="Tilt br2 shadow-2 flex items-center justify-center" options={{ max : 50 }} style={{ height: 150, width: 150 }} > | ||
<div className="Tilt-inner"> | ||
<img src={brain} alt="logo" className=""/> | ||
</div> | ||
</Tilt> | ||
</div> | ||
) | ||
} | ||
|
||
export default Logo; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.nav-style { | ||
display: flex; | ||
justify-content: flex-end; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import './Navigation.css' | ||
|
||
const Navigation = () => { | ||
return( | ||
<nav className = "nav-style"> | ||
<p className="f3 link dim black underline pa3 pointer">Sign Out</p> | ||
</nav> | ||
) | ||
} | ||
|
||
export default Navigation; |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
|
||
const Rank = () => { | ||
return( | ||
<div className="white"> | ||
<div className="f3"> | ||
{'Mohit, your current rank is ....'} | ||
</div> | ||
<div className="f2 pa2"> | ||
{'#5'} | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Rank; |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React, { Component } from 'react'; | ||
import Navigation from '../components/Navigation/Navigation'; | ||
import Logo from '../components/Logo/Logo'; | ||
import ImageLinkForm from '../components/ImageLinkForm/ImageLinkForm'; | ||
import Rank from '../components/Rank/Rank'; | ||
import './App.css'; | ||
|
||
class App extends Component { | ||
constructor() { | ||
super(); | ||
} | ||
|
||
render(){ | ||
return ( | ||
<div className="App"> | ||
<Navigation /> | ||
<Logo /> | ||
<Rank /> | ||
<ImageLinkForm /> | ||
{/* <FaceRecognition /> */} | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default App; |
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,13 +1,16 @@ | ||
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; | ||
padding: 0; | ||
background: rgb(0,166,141); | ||
background: linear-gradient(90deg, rgba(0,166,141,1) 0%, rgba(10,176,241,1) 100%); | ||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | ||
} | ||
|
||
code { | ||
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", | ||
monospace; | ||
} | ||
|
||
button { | ||
cursor: pointer; | ||
} |
Oops, something went wrong.