Adjust landing page content
This commit is contained in:
parent
e237b1ff0f
commit
6a9e6297a2
39
src/App.css
39
src/App.css
@ -2,41 +2,10 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.App-logo {
|
|
||||||
height: 40vmin;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-reduced-motion: no-preference) {
|
|
||||||
.App-logo {
|
|
||||||
animation: App-logo-spin infinite 20s linear;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.App-header {
|
|
||||||
background-color: #282c34;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: calc(10px + 2vmin);
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.App-link {
|
|
||||||
color: #61dafb;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes App-logo-spin {
|
|
||||||
from {
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
body > #root > div {
|
body > #root > div {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
@ -1,20 +1,22 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import '../../styles/landingPage.scss'
|
import '../../styles/landingPage.scss'
|
||||||
|
|
||||||
const LandingPage = () => (
|
const LandingPage = () => {
|
||||||
|
return (
|
||||||
<div className='main'>
|
<div className='main'>
|
||||||
<div className='main-paragraph'>
|
<div className='main-paragraph'>
|
||||||
<h1 style={{textAlign: 'left', width: '80%%', fontSize: '80px', margin: 0}}>Hello! </h1>
|
<h1 className='title'>nÿlo.dev</h1>
|
||||||
<span style={{width: '80%%', textAlign: 'left', marginTop: '5px', marginBottom: '5px'}}>
|
<h2 className='subtitle'>Hello. </h2>
|
||||||
|
<span style={{ width: '80%%', textAlign: 'left', marginTop: '5px', marginBottom: '5px' }}>
|
||||||
My name is Danylo; welcome to my homepage. Feel free to reach me at the following <a className='link' href="mailto:danylo@dotsenko.ca">email</a>.
|
My name is Danylo; welcome to my homepage. Feel free to reach me at the following <a className='link' href="mailto:danylo@dotsenko.ca">email</a>.
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
Thanks for visiting!
|
Thank you for visiting.
|
||||||
</span>
|
</span>
|
||||||
{/* spinning thingy */}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
)
|
||||||
|
};
|
||||||
|
|
||||||
//LandingPage.propTypes = {};
|
//LandingPage.propTypes = {};
|
||||||
|
|
||||||
|
@ -1,18 +1,20 @@
|
|||||||
.main {
|
.main {
|
||||||
background-color: #d28800;
|
background-color: #250032;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background-size: 40px 40px;
|
background-size: 40px 40px;
|
||||||
background-image: radial-gradient(circle, #b0b0b0 1px, rgba(0, 0, 0, 0) 1px);
|
background-image: radial-gradient(circle, #b0b0b0 0.5px, rgba(0, 0, 0, 0) 1px);
|
||||||
|
color: white;
|
||||||
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-paragraph {
|
.main-paragraph {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: white;
|
color: white;
|
||||||
font-family: 'Helvetica', 'Futura';
|
font-family: 'Menlo', 'Helvetica', 'Futura';
|
||||||
letter-spacing: -1px;
|
letter-spacing: -1px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
@ -25,3 +27,20 @@
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-size: 100px;
|
||||||
|
text-align: left;
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 0 40px;
|
||||||
|
|
||||||
|
@media (max-width: 750px) {
|
||||||
|
font-size: 80px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
text-align: left;
|
||||||
|
width: 80%;
|
||||||
|
margin: 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user