Landing page (part 2)

This commit is contained in:
benweet 2014-08-25 19:25:21 +01:00
parent 87ed3d2325
commit 44a3a35148
5 changed files with 193 additions and 77 deletions

View File

@ -6,7 +6,8 @@
<link rel="canonical" href="https://stackedit.io/"> <link rel="canonical" href="https://stackedit.io/">
<link rel="icon" href="res-min/img/stackedit-32.ico" type="image/x-icon"> <link rel="icon" href="res-min/img/stackedit-32.ico" type="image/x-icon">
<link rel="shortcut icon" href="res-min/img/stackedit-32.ico" type="image/x-icon"> <link rel="shortcut icon" href="res-min/img/stackedit-32.ico" type="image/x-icon">
<meta name="description" content="Full-featured, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites."> <meta name="description"
content="Full-featured, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.">
<meta name="author" content="Benoit Schweblin"> <meta name="author" content="Benoit Schweblin">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name="msvalidate.01" content="5E47EE6F67B069C17E3CDD418351A612"> <meta name="msvalidate.01" content="5E47EE6F67B069C17E3CDD418351A612">
@ -17,19 +18,23 @@
font-size: 18px; font-size: 18px;
font-weight: 300; font-weight: 300;
} }
.navbar { .navbar {
position: fixed; position: fixed;
} }
.content { .content {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.slide { .slide {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.footer { .footer {
position: absolute; position: absolute;
top: inherit; top: inherit;
@ -38,17 +43,21 @@
width: 100%; width: 100%;
padding: 5px padding: 5px
} }
.slide, .footer, h1 { .slide, .footer, h1 {
text-align: center; text-align: center;
} }
.footer .btn { .footer .btn {
font-size: 28px; font-size: 28px;
padding: 0 11px; padding: 0 11px;
line-height: 1; line-height: 1;
} }
.btn-info { .btn-info {
color: #777; color: #777;
} }
.centered { .centered {
position: absolute; position: absolute;
top: 0; top: 0;
@ -57,59 +66,94 @@
right: 0; right: 0;
margin: auto; margin: auto;
} }
.logo { .logo {
height: 150px; height: 160px;
width: 600px; width: 600px;
} }
.logo .subtitle { .logo .subtitle {
position: absolute; position: absolute;
text-align: right; text-align: right;
color: #888; color: #888;
top: 110px; top: 105px;
right: 10px; right: 10px;
font-size: 22px; font-size: 22px;
} }
.logo a { .logo a {
color: #555; color: #555;
} }
.logo i::before { .logo i::before {
margin-right: 0; margin-right: 8px;
margin-left: 0;
} }
.transition { .transition {
-webkit-transition: all ease-in-out 1.5s; -webkit-transition: all ease-in-out 1.5s;
transition: all ease-out 1.5s; transition: all ease-out 1.5s;
} }
.transparent { .transparent {
opacity: 0; opacity: 0;
} }
.scale { .scale {
-webkit-transform: scale(1.03); -webkit-transform: scale(1.03);
-ms-transform: scale(1.03); -ms-transform: scale(1.03);
transform: scale(1.03); transform: scale(1.03);
} }
.navbar .nav { .navbar .nav {
float: none; float: none;
} }
.navbar .btn { .navbar .btn {
font-size: 18px; font-size: 18px;
line-height: 1.25; line-height: 1.25;
} }
img.modal-content { img.modal-content {
margin: 50px auto; margin: 70px auto;
display: block; display: block;
} }
.social { .social {
font-size: 26px; font-size: 26px;
margin-right: 20px;
}
.container {
margin-bottom: 40px;
}
.dark {
background-color: #aeaeae;
}
.inset-shadow {
-webkit-box-shadow: inset 0 4px 16px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 4px 16px rgba(0, 0, 0, 0.2);
}
.menu-img {
background-image: url(res/img/menu.png);
background-size: auto 240px;
background-repeat: no-repeat;
background-position: 30%;
height: 240px;
} }
</style> </style>
<script> <script>
$(function() { $(function() {
function scrollTo(elt){ function scrollTo(elt) {
return function() { return function() {
$('html,body').animate({scrollTop: elt.offset().top}, 500); $('html,body').animate({scrollTop: elt.offset().top}, 500);
}; };
} }
$('#scrollToSlide2').click(scrollTo($('#slide2'))); $('#scrollToSlide2').click(scrollTo($('#slide2')));
setTimeout(function() { setTimeout(function() {
@ -124,22 +168,25 @@
<body> <body>
<div class="content"> <div class="content">
<div class="slide modal-body" id="slide1"> <div class="slide modal-body" id="slide1">
<nav class="navbar navbar-default"> <nav class="navbar navbar-default">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="nav transition transparent"> <div class="nav transition transparent">
<a class="btn btn-success" href="editor" title="Editor"><i class="icon-pencil"></i> Start writing now!</a> <a class="btn btn-success" href="editor" title="Editor"><i class="icon-pencil"></i> Start writing
now!</a>
</div> </div>
</div> </div>
</nav> </nav>
<div class="centered logo transition transparent scale"> <div class="centered logo transition transparent scale">
<img src="res/img/logo.svg" /> <img src="res/img/logo.svg"/>
<div class="subtitle transition transparent scale"> <div class="subtitle transition transparent scale">
In-browser markdown editor<br> In-browser markdown editor<br>
<div class="social"> <div class="social">
<a href=""><img height="24" src="https://cdn.monetizejs.com/resources/button.svg"></a>
<a href=""><i class="icon-github-circled"></i></a>
<a href=""><i class="icon-twitter"></i></a> <a href=""><i class="icon-twitter"></i></a>
<a href=""><i class="icon-github-circled"></i></a>
<a href=""><img height="25" src="https://cdn.monetizejs.com/resources/button.svg"></a>
</div> </div>
</div> </div>
</div> </div>
@ -148,74 +195,143 @@
<a class="btn btn-info" id="scrollToSlide2"><i class="icon-angle-down"></i></a> <a class="btn btn-info" id="scrollToSlide2"><i class="icon-angle-down"></i></a>
</div> </div>
</div> </div>
</div> </div>
<div class="slide" id="slide2"> <div id="slide2" class="modal-header">
<div class="container"> <div class="container">
<h1 id="unrivalled-writing-experience">Unrivalled writing experience.</h1> <h1 id="unrivalled-writing-experience">Unrivalled writing experience.</h1>
<div class="row"> <div class="row">
<div class="col-md-8"> <div class="col-md-4 col-md-offset-4">
<hr>
</div>
</div>
<div class="row">
<div class="col-md-7">
<img class="modal-content" width="600" src="res/img/syntax-highlighting.gif"> <img class="modal-content" width="600" src="res/img/syntax-highlighting.gif">
</div> </div>
<div class="col-md-4"> <div class="col-md-4 col-md-offset-1">
<h2 id="rich-markdown-editor">Rich markdown editor</h2> <h2 id="rich-markdown-editor">Rich editor</h2>
<p>StackEdits syntax highlighting is unique. The refined text formatting of the editor helps you visualize the final rendering of your documents.</p> <p>StackEdits markdown syntax highlighting is unique. The refined text formatting of the editor helps you
visualize the final rendering of your documents.</p>
<br>
<h2 id="wysiwyg-control-buttons">WYSIWYG controls</h2> <h2 id="wysiwyg-control-buttons">WYSIWYG controls</h2>
<p>StackEdit provides very handy formatting buttons and shortcuts, thanks to PageDown, the WYSIWYG-style markdown editor used by Stack Overflow.</p> <p>StackEdit provides very handy formatting buttons and shortcuts, thanks to PageDown, the
WYSIWYG-style markdown editor used by Stack Overflow.</p>
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<hr>
</div>
</div>
<h2 id="live-preview-with-scrollsync">Live preview with ScrollSync</h2> <div class="row">
<div class="col-md-6 col-md-offset-3">
<h2 id="live-preview-with-scroll-sync" class="text-center">Live preview with Scroll Sync</h2>
<p>StackEdits ScrollSync extension binds together the scrollbars of the preview panel and the editor panel to ensure that you can always keep an eye on the output while writing.</p> <p>StackEdits Scroll Sync extension binds accurately the scrollbars of the preview panel and the
editor panel to ensure that you always keep an eye on the output while writing.</p>
</div>
</div>
<img class="modal-content" width="600" src="res/img/live-preview.png">
<div class="row">
<div class="col-md-4 col-md-offset-1">
<h2 id="built-in-spell-checker">Built-in spell-checker</h2> <h2 id="built-in-spell-checker">Built-in spell-checker</h2>
<p>StackEdit uses browsers built-in spell-checker to perform efficient, multi-language spell-checking and correction suggestions.</p> <p>StackEdit uses browsers built-in spell-checker to perform efficient, multi-language
spell-checking and correction suggestions.</p>
</div>
<div class="col-md-4 col-md-offset-2">
<h2 id="fully-customizable">Fully customizable</h2> <h2 id="fully-customizable">Fully customizable</h2>
<p>StackEdit has an infinite combinations of settings. Themes, layout, shortcuts, extensions… almost everything can be personalized. For the rest, StackEdit lets you create your own extension…</p> <p>StackEdit has an infinite combinations of settings. Theme, layout, shortcuts can be
personalized. For the rest, StackEdit lets you create your own extension…</p>
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<hr>
</div> </div>
</div> </div>
</div>
</div>
<div class="dark inset-shadow menu-img">
</div>
<div id="slide4" class="modal-footer modal-header">
<div class="container">
<h1 id="designed-for-web-writing">Designed for web writing</h1>
<h1 id="designed-for-web-writing">Designed for web writers.</h1>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<hr>
</div>
</div>
<h2 id="simultaneous-collaboration">Simultaneous collaboration</h2> <h2 id="simultaneous-collaboration">Simultaneous collaboration</h2>
<p>Documents in StackEdit can be synchronized and shared through Google Drive and Dropbox. When two collaborators are working on the same document at the same time, StackEdit takes care of merging the modifications.</p> <p>Documents in StackEdit can be synchronized and shared through Google Drive and Dropbox. When two
collaborators are working on the same document at the same time, StackEdit takes care of merging the
modifications.</p>
<h2 id="review-comments">Review comments</h2> <h2 id="review-comments">Review comments</h2>
<p>StackEdit allows you to insert inline comments and embed collaborator discussions in your documents, much like Microsoft Word or Google Docs.</p> <p>StackEdit allows you to insert inline comments and embed collaborator discussions in your documents, much
like Microsoft Word or Google Docs.</p>
<h2 id="publish-straight-to-your-blog">Publish straight to your blog</h2> <h2 id="publish-straight-to-your-blog">Publish straight to your blog</h2>
<p>StackEdit can upload your documents directly to Blogger, GitHub, Tumblr, WordPress… You can choose whether to upload in markdown format, HTML, or to format the output using Underscore template engine.</p> <p>StackEdit can upload your documents directly to Blogger, GitHub, Tumblr, WordPress… You can choose
whether to upload in markdown format, HTML, or to format the output using Underscore template
engine.</p>
<h2 id="write-offline">Write offline</h2> <h2 id="write-offline">Write offline</h2>
<p>Even when you travel, StackEdit is still accessible and lets you write in documents offline just like any desktop application. Now, you have no excuse!</p> <p>Even when you travel, StackEdit is still accessible and lets you write in offline just like any
desktop application. Now you have no excuse!</p>
</div>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<img class="background-img" width="500" src="res/img/toc.gif">
</div>
</div>
</div>
<div id="slide5" class="modal-footer modal-header">
<div class="container">
<h1 id="extended-markdown-support">Extended markdown support</h1> <h1 id="extended-markdown-support">Extended markdown support</h1>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<hr>
</div>
</div>
<h2 id="github-flavored-markdown">GitHub Flavored Markdown</h2> <h2 id="github-flavored-markdown">GitHub Flavored Markdown</h2>
<p>StackEdit supports different markdown flavors such as Markdown Extra and GitHub flavored Markdown. Each markdown feature can be enabled or disabled at your convenience.</p> <p>StackEdit supports different markdown flavors such as Markdown Extra and GitHub flavored Markdown. Each
markdown feature can be enabled or disabled at your convenience.</p>
<h2 id="latex-mathematical-expressions">LaTeX mathematical expressions</h2> <h2 id="latex-mathematical-expressions">LaTeX mathematical expressions</h2>
<p>StackEdit integrates MathJax to render mathematics from LaTeX expressions inside your markdown document, as you would do on Stack Exchange.</p> <p>StackEdit integrates MathJax to render mathematics from LaTeX expressions inside your markdown document,
as you would do on Stack Exchange.</p>
<h2 id="uml-diagrams">UML diagrams</h2> <h2 id="uml-diagrams">UML diagrams</h2>
<p>StackEdit enables you to write sequence diagrams and flow charts using a simple text syntax.</p> <p>StackEdit enables you to write sequence diagrams and flow charts using a simple text syntax.</p>
</div> </div>
</div> </div>
</div> </div>
</body> </body>

View File

@ -10,7 +10,7 @@ Hello, I'm your first Markdown document in **StackEdit**[^stackedit]. Don't dele
Documents Documents
------------- -------------
**StackEdit** stores your documents in your browser, which means all your documents are automatically saved locally and are accessible **offline!** StackEdit stores your documents in your browser, which means all your documents are automatically saved locally and are accessible **offline!**
> **Note:** > **Note:**
@ -47,7 +47,7 @@ You can save the current document to a file by clicking <i class="icon-hdd"></i>
Synchronization Synchronization
------------------- -------------------
**StackEdit** can be combined with <i class="icon-provider-gdrive"></i> **Google Drive** and <i class="icon-provider-dropbox"></i> **Dropbox** to have your documents centralized in the *Cloud*. The synchronization mechanism will take care of uploading your modifications or downloading the latest version of your documents. StackEdit can be combined with <i class="icon-provider-gdrive"></i> **Google Drive** and <i class="icon-provider-dropbox"></i> **Dropbox** to have your documents saved in the *Cloud*. The synchronization mechanism takes care of uploading your modifications or downloading the latest version of your documents.
> **Note:** > **Note:**
@ -61,11 +61,11 @@ You can open a document from <i class="icon-provider-gdrive"></i> **Google Drive
#### <i class="icon-refresh"></i> Save a document #### <i class="icon-refresh"></i> Save a document
You can save any document by opening the <i class="icon-refresh"></i> **Synchronize** sub-menu and by clicking **Save on...**. Even if your document is already synchronized with **Google Drive** or **Dropbox**, you can export it to a another location. **StackEdit** can synchronize one document with multiple locations and accounts. You can save any document by opening the <i class="icon-refresh"></i> **Synchronize** sub-menu and by clicking **Save on...**. Even if your document is already synchronized with **Google Drive** or **Dropbox**, you can export it to a another location. StackEdit can synchronize one document with multiple locations and accounts.
#### <i class="icon-refresh"></i> Synchronize a document #### <i class="icon-refresh"></i> Synchronize a document
Once your document is linked to a <i class="icon-provider-gdrive"></i> **Google Drive** or a <i class="icon-provider-dropbox"></i> **Dropbox** file, **StackEdit** will periodically (every 3 minutes) synchronize it by downloading/uploading any modification. A merge will be performed if necessary and conflicts will be detected. Once your document is linked to a <i class="icon-provider-gdrive"></i> **Google Drive** or a <i class="icon-provider-dropbox"></i> **Dropbox** file, StackEdit will periodically (every 3 minutes) synchronize it by downloading/uploading any modification. A merge will be performed if necessary and conflicts will be detected.
If you just have modified your document and you want to force the synchronization, click the <i class="icon-refresh"></i> button in the navigation bar. If you just have modified your document and you want to force the synchronization, click the <i class="icon-refresh"></i> button in the navigation bar.
@ -83,7 +83,7 @@ Since one document can be synchronized with multiple locations, you can list and
Publication Publication
------------- -------------
Once you are happy with your document, you can publish it on different websites directly from **StackEdit**. As for now, **StackEdit** can publish on **Blogger**, **Dropbox**, **Gist**, **GitHub**, **Google Drive**, **Tumblr**, **WordPress** and on any SSH server. Once you are happy with your document, you can publish it on different websites directly from StackEdit. As for now, StackEdit can publish on **Blogger**, **Dropbox**, **Gist**, **GitHub**, **Google Drive**, **Tumblr**, **WordPress** and on any SSH server.
#### <i class="icon-upload"></i> Publish a document #### <i class="icon-upload"></i> Publish a document
@ -97,7 +97,7 @@ You can publish your document by opening the <i class="icon-upload"></i> **Publi
#### <i class="icon-upload"></i> Update a publication #### <i class="icon-upload"></i> Update a publication
After publishing, **StackEdit** will keep your document linked to that publication which makes it easy for you to update it. Once you have modified your document and you want to update your publication, click on the <i class="icon-upload"></i> button in the navigation bar. After publishing, StackEdit will keep your document linked to that publication which makes it easy for you to update it. Once you have modified your document and you want to update your publication, click on the <i class="icon-upload"></i> button in the navigation bar.
> **Note:** The <i class="icon-upload"></i> button is disabled when your document has not been published yet. > **Note:** The <i class="icon-upload"></i> button is disabled when your document has not been published yet.
@ -113,7 +113,7 @@ Since one document can be published on multiple locations, you can list and mana
Markdown Extra Markdown Extra
-------------------- --------------------
**StackEdit** supports **Markdown Extra**, which extends **Markdown** syntax with some nice features. StackEdit supports **Markdown Extra**, which extends **Markdown** syntax with some nice features.
> **Tip:** You can disable any **Markdown Extra** feature in the **Extensions** tab of the <i class="icon-cog"></i> **Settings** dialog. > **Tip:** You can disable any **Markdown Extra** feature in the **Extensions** tab of the <i class="icon-cog"></i> **Settings** dialog.

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
public/res/img/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
public/res/img/toc.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB