-
Notifications
You must be signed in to change notification settings - Fork 47
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
Showing
10 changed files
with
11,860 additions
and
1 deletion.
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
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,8 +1,13 @@ | ||
import Router from '@/Routes/Router'; | ||
import GlobalStyles from '@/Styles/GlobalStyles'; | ||
|
||
const App = () => { | ||
return ( | ||
<div className="App"> | ||
<GlobalStyles /> | ||
<Router /> | ||
</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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const Home = () => { | ||
return <div>Home</div>; | ||
}; | ||
|
||
export default Home; |
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,5 @@ | ||
const GameTitle = () => { | ||
return <div>GameTitle</div>; | ||
}; | ||
|
||
export default GameTitle; |
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,52 @@ | ||
import IntroStyles from '@/Components/Intro/IntroStyles'; | ||
|
||
import styled from 'styled-components'; | ||
|
||
const IntroLogo = () => { | ||
return ( | ||
<a href="/home"> | ||
<IntroLogoBox> | ||
<LogoTitle> | ||
Team illy's Baseball game! <br /> | ||
comming soon... | ||
</LogoTitle> | ||
</IntroLogoBox> | ||
</a> | ||
); | ||
}; | ||
|
||
const Intro = () => { | ||
return ( | ||
<IntroStyles> | ||
<IntroLogo /> | ||
</IntroStyles> | ||
); | ||
}; | ||
|
||
export default Intro; | ||
|
||
const IntroLogoBox = styled.div` | ||
width: 600px; | ||
height: 80px; | ||
padding: 20px; | ||
border: 1px solid #fff; | ||
border-radius: 10px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
cursor: pointer; | ||
font-size: 30px; | ||
transition: all ease-in-out 0.4s; | ||
font-weight: 700; | ||
:hover { | ||
background: #333; | ||
} | ||
:active { | ||
background: #111; | ||
} | ||
`; | ||
|
||
const LogoTitle = styled.div` | ||
text-align: center; | ||
`; |
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,13 @@ | ||
import styled from 'styled-components'; | ||
|
||
const IntroStyles = styled.div` | ||
background: #222; | ||
width: 1440px; | ||
height: 1080px; | ||
color: #fff; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
`; | ||
|
||
export default IntroStyles; |
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 @@ | ||
export { default as Inrto } from '@/Components/Intro/Intro'; |
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,17 @@ | ||
import Home from '@/Components/Home/Home'; | ||
import { BrowserRouter, Route, Switch } from 'react-router-dom'; | ||
import { Inrto } from '@/Routes/Intro'; | ||
|
||
const Router = () => { | ||
return ( | ||
<BrowserRouter> | ||
<Route exact path="/" component={Inrto} /> | ||
<Switch> | ||
<Route path="/home" component={Home} /> | ||
{/* <Route path="/game" component={Game} /> */} | ||
</Switch> | ||
</BrowserRouter> | ||
); | ||
}; | ||
|
||
export default Router; |
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 { createGlobalStyle } from 'styled-components'; | ||
|
||
const GlobalStyles = createGlobalStyle` | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'Orbitron', sans-serif; | ||
} | ||
a { | ||
text-decoration: none; | ||
color: #fff; | ||
} | ||
`; | ||
|
||
export default GlobalStyles; |
Oops, something went wrong.