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
13 changes: 9 additions & 4 deletions src/routes/docs/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<enhanced:img src="./blur-2.png" alt="" />
</div>

<section class="aw-hero is-align-start u-position-relative">
<section class="aw-hero is-align-start u-position-relative e-hero-docs">
<h1 class="aw-display aw-u-color-text-primary u-max-width-600">
Learn how to build like a team of hundreds<span class="aw-u-color-text-accent"
>_
Expand All @@ -104,20 +104,19 @@
<a href="/docs/sdks" class="aw-button is-secondary" style:align-self="start">
<span class="aw-sub-body-500">Explore all technologies</span>
</a>

<div class="u-position-absolute aw-is-not-mobile spline-wrapper">
<Spline url="/images/animations/dark-scene.splinecode" width={660} height={660}>
<img
class="u-only-dark"
src="/images/animations/tech-dark.png"
src="/images/animations/tech-dark-transparent.png"
width="660"
height="660"
alt=""
style="position: absolute;"
/>
<img
class="u-only-light"
src="/images/animations/tech-light.png"
src="/images/animations/tech-light-transparent.png"
width="660"
height="660"
alt=""
Expand Down Expand Up @@ -408,6 +407,12 @@
</Docs>

<style lang="scss">

.e-hero-docs {
@media (min-width:1280px) {
margin-block-start:5rem;
}
}
.aw-main-section {
max-inline-size: unset;
margin-inline: unset;
Expand Down
2 changes: 1 addition & 1 deletion src/scss/9-grids/_grid-side-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
.#{$p}-hero:first-child {
margin-block-start:pxToRem(100); margin-block-end:pxToRem(80);
}
> *:not(:first-child) { margin-block-start:pxToRem(160); }
> *:not(:first-child):where(:not(.u-position-absolute)) { margin-block-start:pxToRem(160); }
}
}
@media #{$break3open} {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/animations/tech-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/animations/tech-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/bgs/diagonal-lines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.