From 6a9e6297a25bbe21a51e4d8351ec166ce5ca7e33 Mon Sep 17 00:00:00 2001 From: Danylo Dotsenko Date: Thu, 27 Jun 2024 15:22:23 -0400 Subject: [PATCH] Adjust landing page content --- src/App.css | 39 +++-------------------- src/components/LandingPage/LandingPage.js | 28 ++++++++-------- src/styles/landingPage.scss | 27 +++++++++++++--- 3 files changed, 42 insertions(+), 52 deletions(-) diff --git a/src/App.css b/src/App.css index 467bfb7..fd7fb6b 100644 --- a/src/App.css +++ b/src/App.css @@ -2,41 +2,10 @@ 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 { height: 100vh; +} + +html { + box-sizing: border-box; } \ No newline at end of file diff --git a/src/components/LandingPage/LandingPage.js b/src/components/LandingPage/LandingPage.js index 7d07943..304605a 100644 --- a/src/components/LandingPage/LandingPage.js +++ b/src/components/LandingPage/LandingPage.js @@ -1,20 +1,22 @@ import React from 'react'; import '../../styles/landingPage.scss' -const LandingPage = () => ( -
-
-

Hello! 

- - My name is Danylo; welcome to my homepage. Feel free to reach me at the following email. - - - Thanks for visiting! - - {/* spinning thingy */} +const LandingPage = () => { + return ( +
+
+

nĂ¿lo.dev

+

Hello. 

+ + My name is Danylo; welcome to my homepage. Feel free to reach me at the following email. + + + Thank you for visiting. + +
-
-); + ) +}; //LandingPage.propTypes = {}; diff --git a/src/styles/landingPage.scss b/src/styles/landingPage.scss index 69485c5..13917a4 100644 --- a/src/styles/landingPage.scss +++ b/src/styles/landingPage.scss @@ -1,18 +1,20 @@ .main { - background-color: #d28800; + background-color: #250032; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; 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 { font-size: 30px; color: white; - font-family: 'Helvetica', 'Futura'; + font-family: 'Menlo', 'Helvetica', 'Futura'; letter-spacing: -1px; text-align: left; @@ -22,6 +24,23 @@ } .link { - text-decoration: underline; + text-decoration: underline; 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; } \ No newline at end of file