diff --git a/src/components/PageWrappers/PageWrapperGradient.tsx b/src/components/PageWrappers/PageWrapperGradient.tsx index b809d19a..4d4d1217 100644 --- a/src/components/PageWrappers/PageWrapperGradient.tsx +++ b/src/components/PageWrappers/PageWrapperGradient.tsx @@ -1,16 +1,12 @@ import { ReactNode } from 'react' import './layoutGradient.css' -type PageWrapperShadowProps = { +type PageWrapperGradientProps = { children: ReactNode } -const PageWrapperGradient = ({ children }: PageWrapperShadowProps) => { - return ( -
- {children} -
- ) +const PageWrapperGradient = ({ children }: PageWrapperGradientProps) => { + return
{children}
} export default PageWrapperGradient diff --git a/src/components/PageWrappers/layoutGradient.css b/src/components/PageWrappers/layoutGradient.css index f155d420..f421ddaa 100644 --- a/src/components/PageWrappers/layoutGradient.css +++ b/src/components/PageWrappers/layoutGradient.css @@ -1,19 +1,17 @@ -.layout { - background-color: #fff; - height: 100%; - position: relative; - display: flex; - flex-wrap: wrap; - overflow: hidden; -} - -.layout::after { +.gradient-wrapper .image-container::after { display: block; - content: ''; + content: ""; position: absolute; top: 0; - left: 0; - width: 100%; + left: -1%; + width: 50%; height: 100%; - background: linear-gradient(to bottom, rgba(113, 64, 253, 0.075) 15%, rgba(255, 255, 255, 0) 50%); + background: linear-gradient(to right, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 0.0)); } +.gradient-wrapper .image-container .background-img { + position: absolute; + top: 50%; + left: 75%; + height: 230%; + width: auto; +} \ No newline at end of file diff --git a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx index a352e6a8..c7bbaef8 100644 --- a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx @@ -8,7 +8,7 @@ function ValidatorOnboarding() { return ( <> - + Create Nimbus Validator @@ -21,19 +21,30 @@ function ValidatorOnboarding() { - + +
+
+ background +
+