diff --git a/public/assets/images/Image with Background Removed.png b/public/assets/images/Image with Background Removed.png deleted file mode 100644 index 4313b5c..0000000 Binary files a/public/assets/images/Image with Background Removed.png and /dev/null differ diff --git a/public/assets/images/new_headshot.png b/public/assets/images/new_headshot.png new file mode 100644 index 0000000..50d42b1 Binary files /dev/null and b/public/assets/images/new_headshot.png differ diff --git a/public/images/project5.jpg b/public/images/project5.jpg index 841d41c..685df6e 100644 Binary files a/public/images/project5.jpg and b/public/images/project5.jpg differ diff --git a/src/content_option.js b/src/content_option.js index ba3e2d5..5860e0c 100644 --- a/src/content_option.js +++ b/src/content_option.js @@ -12,7 +12,7 @@ const introdata = { third: "Tech Enthusiast", }, description: "I'm passionate about building exceptional digital experiences that make a difference. With expertise in both frontend and backend development, I create scalable and efficient solutions that solve real-world problems.", - your_img_url: "https://i.imgur.com/0y00000.png", + your_img_url: "/assets/images/new_headshot.png", }; const dataabout = { diff --git a/src/header/style.css b/src/header/style.css index a76ba6a..8ae84e4 100644 --- a/src/header/style.css +++ b/src/header/style.css @@ -102,6 +102,7 @@ top: 0; width: 100%; visibility: hidden; + -webkit-overflow-scrolling: touch; } .menu__opend { @@ -161,14 +162,71 @@ position: relative; width: 100%; height: 100%; - overflow: hidden auto; + overflow: auto; + -webkit-overflow-scrolling: touch; } .the_menu { - padding-top: 40vh; + padding-top: 20vh; padding-bottom: 10vh; padding-left: 0; text-align: center; + min-height: 100%; + display: flex; + flex-direction: column; + justify-content: flex-start; +} + +.the_menu .menu_item { + margin: 0.5rem 0; +} + +.the_menu .menu_item > a { + color: var(--text-color-2); + line-height: 1.2; + font-size: 2rem; + display: inline-block; + position: relative; + transition: color 250ms cubic-bezier(0, 0, 0.58, 1) 0s; + padding: 0.5rem 0; + text-decoration: none; + font-family: Marcellus; +} + +@media (max-width: 767px) { + .the_menu { + padding-top: 15vh; + } + + .the_menu .menu_item > a { + font-size: 1.8rem; + padding: 0.4rem 0; + } + + .menu__wrapper { + padding-bottom: 70px; /* Add space for menu footer */ + } + + .site__navigation { + position: fixed; + height: 100vh; + height: -webkit-fill-available; + } + + .menu_footer { + position: fixed; + bottom: 0; + left: 0; + right: 0; + padding: 1rem; + z-index: 1000; + } +} + +@media (min-width: 768px) { + .the_menu .menu_item > a { + font-size: 3.5vw; + } } @media (min-width: 992px) { @@ -177,30 +235,18 @@ text-align: center; } .the_menu { - padding-top: 30vh; - padding-bottom: 10vh; + padding-top: 25vh; } } -.the_menu .menu_item > a { - color: var(--text-color-2); - line-height: 1; - font-size: 2rem; - display: inline-block; - position: relative; - transition: color 250ms cubic-bezier(0, 0, 0.58, 1) 0s; - padding: 4px 0px; - text-decoration: none; - font-family: Marcellus; -} +/* Fix for iOS Safari bottom bar */ +@supports (-webkit-touch-callout: none) { + .site__navigation { + height: -webkit-fill-available; + } -.the_menu .menu_item > a:hover { - color: var(--text-color-3); -} - -@media (min-width: 768px) { - .the_menu .menu_item > a { - font-size: 4.8vw; + .menu__wrapper { + height: -webkit-fill-available; } } diff --git a/src/pages/home/index.js b/src/pages/home/index.js index c03236a..31804d1 100644 --- a/src/pages/home/index.js +++ b/src/pages/home/index.js @@ -47,14 +47,14 @@ export const Home = () => {