restructure
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
@import '~antd/dist/antd.css';
|
||||
@import url('https://fonts.googleapis.com/css?family=Questrial');
|
||||
|
||||
* {
|
||||
font-family: 'Questrial', sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
|
||||
import * as Components from './components';
|
||||
import './App.css';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Router>
|
||||
<Switch>
|
||||
<Route exact path="/" component={Components.Home} />
|
||||
<Route exact path="/shop" component={Components.Shop} />
|
||||
<Route component={Components.Home} />
|
||||
</Switch>
|
||||
</Router>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
@@ -0,0 +1,44 @@
|
||||
.HomeContainer {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-image: url('../res/background.gif');
|
||||
background-repeat: repeat-y;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.HomeColorOverlay {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0,0,0,.7);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-evenly;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.HomeCenterCircle {
|
||||
font-family: serif;
|
||||
font-size: 8.2rem;
|
||||
font-style: italic;
|
||||
color: black;
|
||||
background: #ffc40a;
|
||||
width: 30rem;
|
||||
height: 30rem;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 30rem;
|
||||
}
|
||||
|
||||
.HomeBottomLinks a {
|
||||
color: #ffc40a;
|
||||
font-size: 1.125rem;
|
||||
transition: all ease-in-out 0.3s;
|
||||
margin: auto 0.625rem;
|
||||
}
|
||||
|
||||
.HomeBottomLinks a:hover {
|
||||
font-size: 1.5rem;
|
||||
color: #ffc40a;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import React from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import resume from '../res/resume.pdf';
|
||||
import './Home.css';
|
||||
|
||||
const Home = () => (
|
||||
<div className="HomeContainer">
|
||||
<div className="HomeColorOverlay">
|
||||
<div className="HomeCenterCircle">
|
||||
oh, hi
|
||||
</div>
|
||||
<div className="HomeBottomLinks">
|
||||
<Link target="_blank" to={resume}>RESUME</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Home;
|
||||
@@ -0,0 +1,3 @@
|
||||
const Shop = () => window.location.href = "https://shop.rajanibala.com";
|
||||
|
||||
export default Shop;
|
||||
@@ -0,0 +1,4 @@
|
||||
import Home from './Home';
|
||||
import Shop from './Shop';
|
||||
|
||||
export { Home, Shop };
|
||||
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
||||
monospace;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import './index.css';
|
||||
import App from './App';
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById('root'));
|
||||
@@ -0,0 +1,8 @@
|
||||
module.exports = __webpack_public_path__ + "static/media/Through My Eyes - Alba Rajanibala.687f2b8f.pdf";
|
||||
|
||||
|
||||
//////////////////
|
||||
// WEBPACK FOOTER
|
||||
// ./src/res/Through My Eyes - Alba Rajanibala.pdf
|
||||
// module id = 34
|
||||
// module chunks = 0
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.9 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
Reference in New Issue
Block a user