From db993a7e13ef0e30a485cdaa15ce58a4ccedf500 Mon Sep 17 00:00:00 2001 From: Joshua Date: Tue, 6 Feb 2024 12:07:52 -0600 Subject: [PATCH] fixing a lot of the responsive design --- .../ Navigation/MobileNavigation.module.scss | 2 +- src/index.css | 12 - src/sections/LandingSection.tsx | 206 ++++++++-------- src/styles/LandingSection.module.scss | 233 ++++++++++-------- src/styles/Navigation.module.scss | 2 +- src/styles/globals.scss | 31 ++- 6 files changed, 256 insertions(+), 230 deletions(-) diff --git a/src/components/ Navigation/MobileNavigation.module.scss b/src/components/ Navigation/MobileNavigation.module.scss index 06d4eb2..6c52dae 100644 --- a/src/components/ Navigation/MobileNavigation.module.scss +++ b/src/components/ Navigation/MobileNavigation.module.scss @@ -1,5 +1,5 @@ .mobile_navigation { - position: absolute; + position: relative; z-index: 1000; display: flex; justify-content: space-between; diff --git a/src/index.css b/src/index.css index ec2585e..8b13789 100644 --- a/src/index.css +++ b/src/index.css @@ -1,13 +1 @@ -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; -} diff --git a/src/sections/LandingSection.tsx b/src/sections/LandingSection.tsx index 739573e..c147547 100644 --- a/src/sections/LandingSection.tsx +++ b/src/sections/LandingSection.tsx @@ -51,97 +51,126 @@ const LandingSection = () => { return (
- -
+
+ +
+ +

+ Collaborate. +

+

+ Reward. +

+

+ Grow. +

+ +
+
-

- Collaborate. -

-

- Reward. -

-

- Grow. -

- +
+ Alliance allows blockchains to trade yield with each other. +
-
- -
- Alliance allows blockchains to trade yield with each other. -
-
- {videoCutOff && ( + {videoCutOff && ( + +
+