mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-22 03:51:33 +00:00
sponsorship image
This commit is contained in:
@@ -188,6 +188,20 @@ a {
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
#performance {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
#sponsorship {
|
||||
padding-top: 17px;
|
||||
}
|
||||
|
||||
#sponsorship a {
|
||||
display: block;
|
||||
width: 170px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -523,7 +537,7 @@ footer {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
right: 125px;
|
||||
right: 183px;
|
||||
top: 15px;
|
||||
padding-left: 5%;
|
||||
z-index: 1000;
|
||||
@@ -612,7 +626,7 @@ footer {
|
||||
|
||||
/* responsive */
|
||||
|
||||
@media all and (max-width: 770px) {
|
||||
@media all and (max-width: 820px) {
|
||||
|
||||
ul {
|
||||
padding-left: 5%;
|
||||
|
||||
BIN
images/sponsor.png
Normal file
BIN
images/sponsor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
BIN
images/sponsor@2x.png
Normal file
BIN
images/sponsor@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@@ -1,4 +1,4 @@
|
||||
<div id="#web-applications">
|
||||
<div id="web-applications">
|
||||
<h3>Web Applications</h3>
|
||||
|
||||
Express is a minimal and flexible Node.js web application framework that provides
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div id="#apis">
|
||||
<div id="apis">
|
||||
<h3>APIs</h3>
|
||||
|
||||
With a myriad of HTTP utility methods and middleware at your
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div id="#performance">
|
||||
<div id="performance">
|
||||
<h3>Performance</h3>
|
||||
|
||||
Express provides a thin layer of fundamental web application features, without obscuring
|
||||
@@ -22,9 +22,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div id="#resource">
|
||||
<h3>Resources</h3>
|
||||
|
||||
See [Resources - Books and blogs](/resources/books-blogs.html) for a list of books and other helpful Express resources.
|
||||
|
||||
<div id="sponsorship">
|
||||
[](http://strongloop.com/)
|
||||
</div>
|
||||
|
||||
13
index.html
13
index.html
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html><html><head><title>Express - Node.js web application framework</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/css/style.css"><link rel="stylesheet" href="/css/dropit.css"><link rel="stylesheet" href="/css/prism.css"><link rel="stylesheet" href="/css/font-awesome.min.css"><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&amp;subset=latin,latin-ext"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><script src="/js/app.js"></script><script src="/js/retina.js"></script><script src="/js/dropit.js"></script><script src="/js/prism.js"></script></head><body><section id="home-content"><header><div id="mobile-menu"><div id="nav-button" class="fa fa-bars fa-2x button"></div></div><section id="logo"><a href="/" class="express">Express</a></section><div id="navbar"><ul id="navmenu"><li><a href="/" id="home-menu" class="active">Home</a></li><li><ul id="getting-started-menu" class="menu"><li><a href="/starter/installing.html">Getting started</a><ul><li><a href="/starter/installing.html">Installing</a></li><li><a href="/starter/generator.html">Express generator</a></li><li><a href="/starter/hello-world.html">Hello world</a></li><li><a href="/starter/basic-routing.html">Basic routing tutorial</a></li><li><a href="/starter/faq.html">FAQ</a></li></ul></li></ul></li><li><ul id="guide-menu" class="menu"><li><a href="/guide/routing.html">Guide</a><ul><li><a href="/guide/error-handling.html">Error handling</a></li><li><a href="/guide/debugging.html">Debugging Express</a></li><li><a href="/guide/behind-proxies.html">Express behind proxies</a></li><li><a href="/guide/migrating-4.html">Moving to Express 4</a></li><li><a href="/guide/using-middleware.html">Using middleware</a></li><li><a href="/guide/using-template-engines.html">Using template engines</a></li></ul></li></ul></li><li><ul id="application-menu" class="menu"><li><a href="/4x/api.html">API reference</a><ul><li><a href="/4x/api.html">4.x</a></li><li><a href="/3x/api.html">3.x</a></li><li><a href="/2x/">2.x (deprecated)</a></li></ul></li></ul></li><li><ul id="advanced-topics-menu" class="menu"><li><a href="/advanced/express-components.html">Advanced topics</a><ul><li><a href="/advanced/developing-template-engines.html">Template engines</a></li></ul></li></ul></li><li><ul id="resources-menu" class="menu"><li><a href="/resources/glossary.html">Resources</a><ul><li><a href="/resources/glossary.html">Glossary</a></li><li><a href="/resources/middleware.html">Middleware</a></li><li><a href="/resources/applications.html">Applications</a></li><li><a href="/resources/community.html">Community</a></li><li><a href="/resources/books-blogs.html">Books and blogs</a></li></ul></li></ul></li></ul></div><a href="http://loopback.io/" title="LoopBack
|
||||
Node.js API Framework powered by Express" id="loopback"><img src="/images/loopback-link.png"></a></header><div id="overlay"></div><section id="description"><a href="/" class="express">Express</a><span class="description">Fast, unopinionated, minimalist web framework for <a href='http://nodejs.org'>Node.js</a></span></section><div id="install-command">$ npm install express --save</div></section><section id="intro"><div id="boxes" class="clearfix"><div id="#web-applications">
|
||||
Node.js API Framework powered by Express" id="loopback"><img src="/images/loopback-link.png"></a></header><div id="overlay"></div><section id="description"><a href="/" class="express">Express</a><span class="description">Fast, unopinionated, minimalist web framework for <a href='http://nodejs.org'>Node.js</a></span></section><div id="install-command">$ npm install express --save</div></section><section id="intro"><div id="boxes" class="clearfix"><div id="web-applications">
|
||||
<h3>Web Applications</h3>
|
||||
|
||||
Express is a minimal and flexible Node.js web application framework that provides
|
||||
@@ -7,7 +7,7 @@ Node.js API Framework powered by Express" id="loopback"><img src="/images/loopba
|
||||
|
||||
</div>
|
||||
|
||||
<div id="#apis">
|
||||
<div id="apis">
|
||||
<h3>APIs</h3>
|
||||
|
||||
With a myriad of HTTP utility methods and middleware at your
|
||||
@@ -15,7 +15,7 @@ Node.js API Framework powered by Express" id="loopback"><img src="/images/loopba
|
||||
|
||||
</div>
|
||||
|
||||
<div id="#performance">
|
||||
<div id="performance">
|
||||
<h3>Performance</h3>
|
||||
|
||||
Express provides a thin layer of fundamental web application features, without obscuring
|
||||
@@ -23,11 +23,8 @@ Node.js API Framework powered by Express" id="loopback"><img src="/images/loopba
|
||||
|
||||
</div>
|
||||
|
||||
<div id="#resource">
|
||||
<h3>Resources</h3>
|
||||
|
||||
See <a href="/resources/books-blogs.html">Resources - Books and blogs</a> for a list of books and other helpful Express resources.
|
||||
|
||||
<div id="sponsorship">
|
||||
<a href="http://strongloop.com/"><img src="/images/sponsor.png" alt=""></a>
|
||||
</div>
|
||||
</div></section><noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-5XL76H" height="0" width="0" style="display: none; visibility: hidden;"></iframe></noscript><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
|
||||
14
js/app.js
14
js/app.js
@@ -23,10 +23,16 @@ $(function(){
|
||||
})
|
||||
|
||||
// edit page link
|
||||
var branchPath = 'https://github.com/strongloop/expressjs.com/blob/gh-pages';
|
||||
var pagePath = document.location.pathname.replace(/\.html$/, '.md');
|
||||
var editPath = branchPath + pagePath;
|
||||
var editLink = '<a href="' + editPath + '">Edit this page on GitHub</a>';
|
||||
|
||||
var branchPath = 'https://github.com/strongloop/expressjs.com';
|
||||
var pathName = document.location.pathname;
|
||||
var pagePath = pathName.replace(/\.html$/, '.md');
|
||||
var editPath = branchPath + '/blob/gh-pages' + pagePath;
|
||||
var editLink;
|
||||
|
||||
if (pathName == '/') editLink = '<a href="' + branchPath + '">Fork the website on GitHub</a>';
|
||||
else editLink = '<a href="' + editPath + '">Edit this page on GitHub</a>';
|
||||
|
||||
$('#fork').html(editLink);
|
||||
|
||||
// code highlight
|
||||
|
||||
Reference in New Issue
Block a user