From ad1baa0ab0fb2cb6e9b930decbbe2bd2c390ec6b Mon Sep 17 00:00:00 2001 From: DonaldKLee Date: Wed, 29 Nov 2023 23:46:06 -0800 Subject: [PATCH] shifted game on section to be centered --- src/sections/About.jsx | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/sections/About.jsx b/src/sections/About.jsx index 87feb101..ecec34f3 100644 --- a/src/sections/About.jsx +++ b/src/sections/About.jsx @@ -15,10 +15,10 @@ const AboutContainer = styled.div` align-items: center; width: 100%; aspect-ratio: 1440 / 779; - margin-top: 10rem; + margin-top: 18rem; ${p => p.theme.mediaQueries.mobile} { - margin-top: -18rem; + margin-top: -12rem; min-height: calc(calc(1344 / 428) * 100vw); aspect-ratio: 428 / 1344; align-items: center; @@ -103,7 +103,7 @@ const YellowDiceImg = styled.img` ${p => p.theme.mediaQueries.mobile} { width: 150px; height: auto; - top: 850px; + top: 900px; left: 65%; } ` @@ -126,26 +126,26 @@ const SmallBlueDiceImg = styled.img` display: none; ${p => p.theme.mediaQueries.mobile} { display: block; - top: 920px; + top: 950px; left: 50%; } ` const About = () => ( - - - - - - - - Game on: Level up your tech journey at nwHacks! - - Whether you’re a seasoned hacker or you’re just getting into tech, you’re welcome at nwHacks. Join us in-person on January 20-21, 2024 for a weekend of creativity, community, and innovation! All you need is an open mind and an insatiable desire to learn, and we’ll take care of the rest. Create a project, learn new skills, and bond with friends, old and new — all in 24 hours. - - - - - ) + + + + + + + + Game on: Level up your tech journey at nwHacks! + + Whether you’re a seasoned hacker or you’re just getting into tech, you’re welcome at nwHacks. Join us in-person on January 20-21, 2024 for a weekend of creativity, community, and innovation! All you need is an open mind and an insatiable desire to learn, and we’ll take care of the rest. Create a project, learn new skills, and bond with friends, old and new — all in 24 hours. + + + + +) export default About