diff --git a/src/components/Hero/animations/AnimationWrapper.module.css b/src/components/Hero/animations/AnimationWrapper.module.css index 0a8d300..bd01ce7 100644 --- a/src/components/Hero/animations/AnimationWrapper.module.css +++ b/src/components/Hero/animations/AnimationWrapper.module.css @@ -1,6 +1,7 @@ .animationContainer { position: absolute; inset: 0; - z-index: 0; + z-index: 1; overflow: hidden; + pointer-events: none; } diff --git a/src/components/Hero/animations/ParticleSystem.module.css b/src/components/Hero/animations/ParticleSystem.module.css index f40f733..5734709 100644 --- a/src/components/Hero/animations/ParticleSystem.module.css +++ b/src/components/Hero/animations/ParticleSystem.module.css @@ -1,4 +1,5 @@ .particleCanvas { width: 100%; height: 100%; + background: transparent; } diff --git a/src/components/Hero/index.tsx b/src/components/Hero/index.tsx index 0d1c1e3..828cd31 100644 --- a/src/components/Hero/index.tsx +++ b/src/components/Hero/index.tsx @@ -13,13 +13,16 @@ import styles from './styles.module.css'; export default function Hero(): React.JSX.Element { const { siteConfig } = useDocusaurusContext(); const logoUrl = useBaseUrl('/img/arc-icon.png'); + const heroBackgroundUrl = useBaseUrl('/img/arc-hero-background.png'); return ( -
+
+
- {siteConfig.title} diff --git a/src/components/Hero/styles.module.css b/src/components/Hero/styles.module.css index 5117980..06ac45a 100644 --- a/src/components/Hero/styles.module.css +++ b/src/components/Hero/styles.module.css @@ -3,16 +3,38 @@ text-align: center; position: relative; overflow: hidden; - background: transparent !important; + background-size: cover; + background-position: center; + background-repeat: no-repeat; min-height: 600px; display: flex; align-items: center; margin: 0; } +.heroBanner::before { + content: ''; + position: absolute; + inset: 0; + background-image: inherit; + background-size: inherit; + background-position: inherit; + background-repeat: inherit; + opacity: 0.08; + z-index: 0; +} + +.heroBanner::after { + content: ''; + position: absolute; + inset: 0; + background: rgba(0, 0, 0, 0.7); + z-index: 1; +} + .heroContent { position: relative; - z-index: 10; + z-index: 2; width: 100%; } @@ -28,7 +50,7 @@ flex: 4; position: relative; animation: fadeInLeft 0.8s ease-out; - display: flex; + display: none; align-items: center; justify-content: center; min-height: 600px; @@ -60,11 +82,12 @@ } .heroTextSide { - flex: 8; + flex: 1; + width: 100%; text-align: center; position: relative; animation: fadeInRight 0.8s ease-out; - padding: 4rem 4rem 4rem 10rem; + padding: 4rem; display: flex; flex-direction: column; align-items: center; @@ -160,8 +183,8 @@ @media screen and (max-width: 996px) { .heroBanner { - padding: 2rem 0; - min-height: 500px; + padding: 0; + min-height: auto; } .heroLayout { @@ -170,11 +193,20 @@ text-align: center; } - .heroImageSide, + .heroImageSide { + flex: 1; + padding: 0; + text-align: center; + min-height: 400px; + order: 2; + } + .heroTextSide { - padding: 2rem 1.5rem; + flex: 1; + padding: 3rem 1.5rem; text-align: center; min-height: auto; + order: 1; } .heroTitle { diff --git a/src/components/Workflow/styles.module.css b/src/components/Workflow/styles.module.css index 4d200cf..411f229 100644 --- a/src/components/Workflow/styles.module.css +++ b/src/components/Workflow/styles.module.css @@ -29,6 +29,9 @@ /* Stepper Styles */ .stepperContainer { padding: 2rem 1rem; + overflow-x: auto; + overflow-y: hidden; + -webkit-overflow-scrolling: touch; } .stepper { @@ -38,11 +41,13 @@ gap: 1.5rem; max-width: 100%; margin: 0 auto; + min-width: min-content; } .stepperItem { flex: 0 0 auto; width: 380px; + min-width: 380px; display: flex; flex-direction: column; align-items: center; diff --git a/static/img/arc-hero-background.png b/static/img/arc-hero-background.png new file mode 100644 index 0000000..652fa31 Binary files /dev/null and b/static/img/arc-hero-background.png differ