Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/components/Hero/animations/AnimationWrapper.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.animationContainer {
position: absolute;
inset: 0;
z-index: 0;
z-index: 1;
overflow: hidden;
pointer-events: none;
}
1 change: 1 addition & 0 deletions src/components/Hero/animations/ParticleSystem.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.particleCanvas {
width: 100%;
height: 100%;
background: transparent;
}
7 changes: 5 additions & 2 deletions src/components/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<header
className={clsx('hero', styles.heroBanner)}
style={{ backgroundImage: `url(${heroBackgroundUrl})` }}>
<ParticleSystem />
<div className={styles.heroContent}>
<div className={styles.heroLayout}>
<div className={styles.heroTextSide}>
<ParticleSystem />
<Heading as='h1' className={clsx('hero__title', styles.heroTitle)}>
{siteConfig.title}
</Heading>
Expand Down
50 changes: 41 additions & 9 deletions src/components/Hero/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}

Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -160,8 +183,8 @@

@media screen and (max-width: 996px) {
.heroBanner {
padding: 2rem 0;
min-height: 500px;
padding: 0;
min-height: auto;
}

.heroLayout {
Expand All @@ -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 {
Expand Down
5 changes: 5 additions & 0 deletions src/components/Workflow/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
/* Stepper Styles */
.stepperContainer {
padding: 2rem 1rem;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
}

.stepper {
Expand All @@ -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;
Expand Down
Binary file added static/img/arc-hero-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.