Skip to content

Commit

Permalink
Ion get started
Browse files Browse the repository at this point in the history
  • Loading branch information
jayair committed Mar 20, 2024
1 parent 156f6fe commit 7fcf7fc
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 59 deletions.
2 changes: 2 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
/** End mobile menu button code **/

/** Start lander copy command code **/
/*
var cmdClipboard = new ClipboardJS(".lander-header a.command", {
text: function(trigger) {
return $(trigger).data("text");
Expand All @@ -158,6 +159,7 @@
$el.removeClass("copied");
}, 3000);
});
*/
/** End lander copy command code **/

/** Start lander segmented control code **/
Expand Down
134 changes: 76 additions & 58 deletions _sass/lander.scss
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
line-height: normal;
}
i.fa {
margin-top: 1px;
margin-top: 2px;
font-size: 14px;
}
}
Expand Down Expand Up @@ -382,65 +382,65 @@
}
}

.site-command {
padding-top: calc($spacing-unit / 2);
font-family: $code-font-family;
font-size: 20px;

@include media-query($on-palm) {
padding-top: 5px;
font-size: 14px;
}

a {
padding-left: $spacing-unit - 2px;
color: $tertiary-text-color;
cursor: pointer;

@include media-query($on-palm) {
padding-left: $spacing-unit - 10px;

span.icon {
vertical-align: 1px;
}
}

span.icon {
visibility: hidden;
vertical-align: 2px;
}

&:hover {
span.icon {
visibility: visible;
}
}

&.copied {
i.fa:first-child {
display: none;
}
i.fa:last-child {
display: inline;
}
}
}

i.fa {
font-size: 13px;

@include media-query($on-palm) {
font-size: 10px;
}

&:last-child {
display: none;
}
}
}
// .site-command {
// padding-top: calc($spacing-unit / 2);
// font-family: $code-font-family;
// font-size: 20px;
//
// @include media-query($on-palm) {
// padding-top: 5px;
// font-size: 14px;
// }
//
// a {
// padding-left: $spacing-unit - 2px;
// color: $tertiary-text-color;
// cursor: pointer;
//
// @include media-query($on-palm) {
// padding-left: $spacing-unit - 10px;
//
// span.icon {
// vertical-align: 1px;
// }
// }
//
// span.icon {
// visibility: hidden;
// vertical-align: 2px;
// }
//
// &:hover {
// span.icon {
// visibility: visible;
// }
// }
//
// &.copied {
// i.fa:first-child {
// display: none;
// }
// i.fa:last-child {
// display: inline;
// }
// }
// }
//
// i.fa {
// font-size: 13px;
//
// @include media-query($on-palm) {
// font-size: 10px;
// }
//
// &:last-child {
// display: none;
// }
// }
// }

.controls {
margin-top: $spacing-unit * 1.5;
margin-top: $spacing-unit;
text-align: center;

@include media-query($on-palm) {
Expand Down Expand Up @@ -517,6 +517,24 @@

}

.sst2-notice {
margin-top: $spacing-unit;
font-weight: 600;
font-family: $base-font-family;
color: $secondary-text-color;
font-size: 16px;

@include media-query($on-palm) {
margin-top: $spacing-unit * 0.5;
}

i.fa {
margin-left: 3px;
font-size: 14px;
vertical-align: 0px;
}
}

.video-wrapper {
position: relative;
width: $video-width;
Expand Down
11 changes: 10 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ description: "Build modern full-stack serverless applications on AWS with Next.j
3. Go from idea to IPO!
</h4>

<!--
<h6 class="site-command">
<a data-text="npm create sst@latest" class="command">
<span>$ npm create sst</span>
Expand All @@ -34,17 +35,25 @@ description: "Build modern full-stack serverless applications on AWS with Next.j
</span>
</a>
</h6>
-->

<div class="controls">
<a href="https://youtu.be/JY_d0vf-rfw" class="sst-button secondary" target="_blank">
<i class="fa fa-youtube-play" aria-hidden="true"></i>
<span>Learn More</span>
</a>
<a class="sst-button primary" href="{{ site.docs_url }}">
<a class="sst-button primary" href="https://ion.sst.dev/docs/">
Get Started
</a>
</div>

<h6 class="sst2-notice">
<a href="{{ site.docs_url }}">
Get started with SST v2 instead
<i class="fa fa-angle-right" aria-hidden="true"></i>
</a>
</h6>

</div>

</header>
Expand Down

0 comments on commit 7fcf7fc

Please sign in to comment.