diff --git a/website/src/images/uppy-demo.mp4 b/website/src/images/uppy-demo.mp4 new file mode 100644 index 000000000..97920dbff Binary files /dev/null and b/website/src/images/uppy-demo.mp4 differ diff --git a/website/themes/uppy/layout/index.ejs b/website/themes/uppy/layout/index.ejs index 9b4e5f754..8d5b84cec 100644 --- a/website/themes/uppy/layout/index.ejs +++ b/website/themes/uppy/layout/index.ejs @@ -32,13 +32,17 @@
-

Quick Example

+

Demo

-
<%- partial('partials/frontpage-code-sample') %>
+
+ +
-
»
- -
+
+ <%- partial('partials/frontpage-code-sample') %> +
Get Started
diff --git a/website/themes/uppy/source/css/_index.scss b/website/themes/uppy/source/css/_index.scss index c531f3677..621d08571 100644 --- a/website/themes/uppy/source/css/_index.scss +++ b/website/themes/uppy/source/css/_index.scss @@ -165,7 +165,7 @@ transition: all .3s ease; background-color: $color-primary; color: $color-white; - margin-top: 3em; + margin-top: 1.2em; margin-bottom: 2em; &:hover { @include zoom; } @@ -210,14 +210,14 @@ .IndexSection-title { font-size: 25px; - margin-bottom: 1.5em; + margin-bottom: 0.7em; } .IndexExample-block { - padding: 7px; + // padding: 7px; text-align: left; - background-color: $color-codebg; - border-radius: $size-radius; + // background-color: $color-codebg; + // border-radius: $size-radius; overflow: hidden; max-width: 500px; margin: auto; @@ -225,13 +225,17 @@ @media #{$screen-medium} { max-width: 100%; - width: 43%; + width: 47%; display: inline-block; vertical-align: middle; - height: 250px; + // height: 250px; } } +.IndexExample-video { + max-width: 100%; +} + .IndexExample-block img { margin: auto; }