From 3dcb9052b7e45bbdab04584bb09bcb23f91b5242 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 14 Apr 2014 11:02:06 -0700 Subject: [PATCH] website: homepage copy and some stylesheet fixes --- website/Vagrantfile | 4 +-- website/source/index.html.erb | 23 +++++++++++++---- website/source/stylesheets/_header.less | 30 +++++++++++----------- website/source/stylesheets/_home.less | 5 ++-- website/source/stylesheets/_jumbotron.less | 10 ++++---- 5 files changed, 42 insertions(+), 30 deletions(-) diff --git a/website/Vagrantfile b/website/Vagrantfile index 7e26cbed8..83f9c0945 100644 --- a/website/Vagrantfile +++ b/website/Vagrantfile @@ -17,8 +17,8 @@ bundle SCRIPT Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = "hashicorp/precise64" - config.vm.network "private_network", ip: "33.33.33.10" + config.vm.box = "chef/ubuntu-12.04" + config.vm.network "private_network", ip: "33.33.30.10" config.vm.provision "shell", inline: $script, privileged: false config.vm.synced_folder ".", "/vagrant", type: "rsync" end diff --git a/website/source/index.html.erb b/website/source/index.html.erb index 846b63712..392fec6fe 100644 --- a/website/source/index.html.erb +++ b/website/source/index.html.erb @@ -3,7 +3,11 @@
-

Create and configure lightweight, reproducible, and portable development environments.

+

+ Service discovery and configuration made easy. + Distributed, highly available, and + datacenter-aware. +

Service Discovery

-

Consul makes it simple for services to register themselves, and to discover other service

+

Consul makes it simple for services to register themselves, and to discover other services via a DNS or HTTP interface.

@@ -60,7 +64,7 @@

Shared Configuration

-

Store hierarchical key/value configuration data for services.

+

Store hierarchical key/value configuration data for services and get notified when any of these values change.

@@ -75,7 +79,11 @@

DNS Query Interface

-

Make use of Consul's built-in DNS server to resolve requests directly, avoiding expensive HTTP requests.

+

+ Look up services using Consul's built-in DNS server. This + avoids the need for a Consul-specific client in any of your + services. +

@@ -114,7 +122,12 @@

Key Value Storage

-

Consul provides a flexible key/value store accessible via a simple HTTP API to store just about anything for your application.

+

+ Consul provides a flexible, hierarchical key/value store accessible + via a simple HTTP API. This data is replicated across multiple + servers and is highly available. Other HTTP APIs let you long poll + for changes to a key. +

diff --git a/website/source/stylesheets/_header.less b/website/source/stylesheets/_header.less index 3d8bab90b..7152e8a01 100755 --- a/website/source/stylesheets/_header.less +++ b/website/source/stylesheets/_header.less @@ -35,7 +35,7 @@ body.page-sub{ .icon-bar{ border: 1px solid @white; } - } + } .navbar-brand { &.logo{ @@ -138,7 +138,7 @@ body.page-sub{ } #footer{ - height: 700px; + height: 650px; text-align: center; color: @purple; @@ -146,10 +146,10 @@ body.page-sub{ float: none; display: inline-block; padding-top: 155px; - + .li-under a::after { - background-color: @purple; - } + background-color: @purple; + } } .footer-hashi{ @@ -190,8 +190,8 @@ body.page-sub{ padding-top: 6px; padding-bottom: 6px; padding-left: 40px; - } - } + } + } } @@ -199,7 +199,7 @@ body.page-sub{ #header { .navbar-brand { &.logo{ - span{ + span{ width: 120px; height: 39px; margin-top: 12px; @@ -210,7 +210,7 @@ body.page-sub{ .buttons.navbar-nav{ li{ - a{ + a{ background: none !important; padding-left: 15px; } @@ -232,7 +232,7 @@ body.page-sub{ float: none; margin-top: 15px; } - + .li-under a::after, li + li::before { display: none; @@ -282,11 +282,11 @@ body.page-sub{ .navbar-brand { &.logo{ - span{ + span{ margin-top: 0; } } - } + } .navbar-nav > li{ float: none; @@ -295,7 +295,7 @@ body.page-sub{ .buttons.navbar-nav{ margin-top: 15px; margin-left: 0px; - + li{ a{ padding-left: 40px; @@ -318,8 +318,8 @@ body.page-sub{ .img-retina("../images/icon-github.png", "../images/icon-github@2x.png", 20px, 20px); } } - } - } + } + } } } diff --git a/website/source/stylesheets/_home.less b/website/source/stylesheets/_home.less index 5c2d90ca9..80892945a 100755 --- a/website/source/stylesheets/_home.less +++ b/website/source/stylesheets/_home.less @@ -12,7 +12,7 @@ body.page-home{ background-size: 1280px 49px; .double-row{ - padding: 0 0 60px 0; + padding: 0 0 50px 0; } h2{ @@ -128,7 +128,6 @@ body.page-home{ #footer{ - padding: 50px 0; background-color: @consul-footer-gray; background: @consul-footer-gray url(../images/consul-footer-logo.png) center center no-repeat; .img-retina("../images/consul-footer-logo.png", "../images/consul-footer-logo@2x.png", 446px, 443px); @@ -179,7 +178,7 @@ body.page-home{ } #demos{ - padding: 30px 0 20px; + padding: 30px 0 60px; background-color: @light-purple; .explantion { diff --git a/website/source/stylesheets/_jumbotron.less b/website/source/stylesheets/_jumbotron.less index 8c688f603..1847579b4 100755 --- a/website/source/stylesheets/_jumbotron.less +++ b/website/source/stylesheets/_jumbotron.less @@ -34,7 +34,7 @@ margin-top: @negative-hero-margin; background: transparent url('../images/hero-dots.png') center @header-height no-repeat; } - + .container{ position: relative; @@ -50,11 +50,11 @@ background: transparent url( ../images/consul-hero-logo@2x.png ) 0 0 no-repeat; background-size: 318px 316px; z-index: 20; - } + } } h2{ - margin-top: 190px; + margin-top: 175px; font-size: 40px; line-height: 48px; letter-spacing: 1px; @@ -64,7 +64,7 @@ } @media (max-width: 992px) { - #jumbotron .container { + #jumbotron .container { h2{ text-align: center; margin-left: 0; @@ -73,7 +73,7 @@ } @media (max-width: 480px) { - #jumbotron .container { + #jumbotron .container { h2{ margin-top: 130px; font-size: 32px;