From d7e0cb151a3468261c5e29cdda8e378022d3f913 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Tue, 22 Apr 2014 15:27:03 +0300 Subject: [PATCH] pass two --- docs/css/main.css | 7 +++++++ index-v2.md | 29 +++++++++++++++-------------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/docs/css/main.css b/docs/css/main.css index 978fbc4e..2648d14f 100644 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -9,6 +9,9 @@ body { margin: 0 auto; } +p { + margin: 1.4em 0; + } .container code, .container pre code { font-family: "Consolas", "Menlo", "Lucida Console", "Courier New", monospace; @@ -56,6 +59,10 @@ h2 { } +.p-example { + margin-top: 40px; +} + .container .map { border: 1px solid #ccc; } diff --git a/index-v2.md b/index-v2.md index 1a97b780..9a7c034c 100644 --- a/index-v2.md +++ b/index-v2.md @@ -2,8 +2,7 @@ layout: v2 --- -Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. -It is developed by [Vladimir Agafonkin][] with a team of dedicated [contributors][]. +Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps, used by the world's biggest websites. Weighing just about 33 KB of JS, it has all the [features][] most developers ever need for online maps. @@ -15,22 +14,22 @@ and a simple, readable [source code][] that is a joy to [contribute][] to. ## Basic Example +Let's create a map with tiles of our choice and add a marker with some text in a popup: +
-In this basic example, we create a map with tiles of our choice, add a marker and bind a popup with some text to it: +
+ Learn more with the [quick start guide](examples/quick-start.html), check out [other tutorials](examples.html), or head straight to the [API documentation](reference.html).
If you have any questions, take a look at the [FAQ](https://github.com/Leaflet/Leaflet/blob/master/FAQ.md) first. @@ -49,6 +48,8 @@ and spreading the word about Leaflet among your colleagues and friends. Check out the [contribution guide][contribute] for more information on getting involved with Leaflet development. +Leaflet is developed by [Vladimir Agafonkin][] with a team of dedicated [contributors][]. + [Vladimir Agafonkin]: http://agafonkin.com/en [contributors]: https://github.com/Leaflet/Leaflet/graphs/contributors [features]: features.html