Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

new git for windows page

  • Loading branch information...
commit 8be14101aa598f88f7a442cfe80503d0075c082c 1 parent 841d517
@blackant blackant authored
View
3  app/assets/stylesheets/errors.css.scss
@@ -13,7 +13,8 @@ body {
}
// windows chrome makes a mess of Adelle web font
-.windows.chrome body * {
+.windows.chrome body *,
+.windows.ie8 body * {
font-family: $base-font-family-fallback ! important;
}
View
131 app/assets/stylesheets/windows.css.scss
@@ -0,0 +1,131 @@
+@import "compass";
+@include global-reset;
+
+@import "variables.css.scss";
+@import "typography.css.scss";
+
+body {
+ font-size: $base-font-size;
+ line-height: $base-line-height;
+ font-family: $base-font-family;
+ color: $font-color;
+ background: #f0efe7 url(/images/bg/body.jpg);
+}
+
+// windows chrome makes a mess of Adelle web font
+.windows.chrome body *,
+.windows.ie8 body * {
+ font-family: $base-font-family-fallback ! important;
+}
+
+#wrapper {
+ @include clearfix;
+ margin: 0 auto;
+ width: 940px;
+}
+
+header {
+ margin: 20px 0;
+}
+
+#main {
+ float: left;
+ width: 588px;
+}
+
+#sidebar {
+ float: right;
+ width: 300px;
+}
+
+section#contribute {
+ background-color: $callout-color;
+ @include border-radius(3px);
+ padding: 8px 20px 1px 20px;
+ margin-bottom: 1.4em;
+ h2 {
+ margin-top: 0;
+ }
+}
+
+p {
+ font-size: 18px;
+ color: lighten(#4e443c, 10%);
+ margin-bottom: 30px;
+}
+
+nav ul {
+ @extend .unstyled;
+ margin-bottom: 2em;
+ li {
+ font-size: 16px;
+ font-weight: bold;
+ height: 28px;
+ margin-bottom: 1.2em;
+ }
+ a {
+ display: block;
+ padding-left: 36px;
+ line-height: 34px;
+ height: 28px;
+ &.wiki {
+ background: transparent url(/images/windows/icon-wiki.png) 0 50% no-repeat;
+ }
+ &.source-code {
+ background: transparent url(/images/windows/icon-repo.png) 0 50% no-repeat;
+ }
+ &.previous-releases {
+ background: transparent url(/images/windows/icon-previous-releases.png) 0 50% no-repeat;
+ }
+ &.mailing-list {
+ background: transparent url(/images/windows/icon-mail.png) 0 50% no-repeat;
+ }
+ &.faqs {
+ background: transparent url(/images/windows/icon-faqs.png) 0 50% no-repeat;
+ }
+ }
+}
+
+a.button {
+ display: block;
+ margin-top: 10px;
+ border-top: solid 1px #085e64;
+ border-left: solid 1px #1f6367;
+ border-right: solid 1px #1f6367;
+ border-bottom: solid 1px #134143;
+ color: #fff;
+ font-size: 16px;
+ width: 238px;
+ padding: 14px 0 14px 50px;
+ position: relative;
+ @include border-radius(2px);
+ @include background-image(linear-gradient(#1c868c, #186368));
+ @include box-shadow(0 1px 2px #999);
+ @include transition-property(background-image);
+ @include transition-duration(.30s);
+ &:hover {
+ @include background-image(linear-gradient(darken(#1c868c, 2%), darken(#186368, 2%)));
+ }
+ img {
+ position: absolute;
+ top: 12px;
+ left: 12px;
+ }
+ h3 {
+ color: #fff;
+ font-size: 18px;
+ line-height: 1;
+ margin-bottom: 6px;
+ @include text-shadow(0 -1px 0 #1b001a);
+ }
+ p {
+ font-size: 12px;
+ line-height: 1;
+ margin-bottom: 0;
+ color: #59d6de;
+ em {
+ color: #fff;
+ font-style: normal;
+ }
+ }
+}
View
7 app/controllers/windows_controller.rb
@@ -0,0 +1,7 @@
+class WindowsController < ApplicationController
+ layout "windows"
+
+ def index
+ end
+
+end
View
15 app/views/layouts/windows.html.haml
@@ -0,0 +1,15 @@
+!!! 5
+%html{:lang => "en"}
+ %head
+ %title Git
+ %meta{:charset => "utf-8"}
+ %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
+ = stylesheet_link_tag "windows.css"
+ /[if (gte IE 6)&(lte IE 8)]
+ %script{:src => "/javascripts/selectivizr-min.js", :type => "text/javascript"}
+ = javascript_include_tag "http://use.typekit.com/jsq2fql.js"
+ :javascript
+ try{Typekit.load();}catch(e){}
+
+ %body
+ =yield
View
41 app/views/windows/index.html.haml
@@ -0,0 +1,41 @@
+%div#wrapper
+ %header
+ <a href="/"><img src="/images/windows/logo.png" width="454" height="65" alt="Git for Windows" /></a>
+
+ %div#main
+ %section#intro
+ %p
+ <a href="http://git-scm.com">Git</a> is a powerful version control system aiming to be the fastest decentralized source code management tool on the planet.
+
+ %p
+ Having its root in the Linux development community, Git used to be quite dependent on POSIX features usually only provided by Unix-style Operating Systems. Thanks to the efforts of a <a href="http://www.ohloh.net/p/msysgit/contributors">few contributors</a>, this project succeeded in providing an almost feature-complete fork of Git on Windows.
+
+ %p
+ In order to develop Git for Windows, these volunteers rely on a build environment that is based on the <a href="http://mingw.org/">MSys/MinGW</a> project.
+
+ %p
+ Git for Windows install options include a <strong>Start Menu item</strong>, <strong>Desktop shortcut</strong>, <strong>QuickLaunch icon</strong>, and an <strong>Explorer context menu item</strong>.
+
+ %section#contribute
+ %h2 Want to Contribute?
+
+ %p
+ Interested in contributing to the Git for Windows project? Testers, developers, and custom installer maintainers are always welcome.
+
+ %p
+ To get started with the msysGit development environment, check out the <a href="http://github.com/msysgit/msysgit">repository on GitHub</a> and introduce yourself on the <a href="http://groups.google.com/group/msysgit">mailing list</a>.
+
+ %aside#sidebar
+ %nav
+ %ul
+ %li= link_to "Wiki", "https://github.com/msysgit/msysgit/wiki", {:class => 'wiki'}
+ %li= link_to "Source Code Repository", "http://github.com/msysgit/git", {:class => 'source-code'}
+ %li= link_to "Previous Releases", "http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git", {:class => 'previous-releases'}
+ %li= link_to "Mailing List", "http://groups.google.com/group/msysgit", {:class => 'mailing-list'}
+ %li= link_to "FAQs", "https://github.com/msysgit/msysgit/wiki/Frequently-Asked-Questions", {:class => 'faqs'}
+
+ <a href="#" class="button">
+ <img src="/images/windows/icon-download.png" />
+ <h3>Download Latest Version</h3>
+ <p>Version: <em>1.7.10</em> &nbsp; &nbsp; Released: <em>April 9, 2012</em></p>
+ </a>
View
6 config/routes.rb
@@ -13,6 +13,10 @@
match '*path' => 'site#redirect_combook'
end
+ constraints(:host => 'msysgit.github.com') do
+ root :to => 'windows#index'
+ end
+
get "site/index"
match "/doc" => "doc#index"
@@ -71,6 +75,8 @@
match "/documentation/videos" => "doc#videos"
match "/documentation/external-links" => "doc#ext"
+ match "/windows" => "windows#index"
+
match "/course/svn" => "site#svn"
match "/sfc" => "site#sfc"
View
BIN  public/images/windows/icon-download.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  public/images/windows/icon-faqs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  public/images/windows/icon-mail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  public/images/windows/icon-previous-releases.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  public/images/windows/icon-repo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  public/images/windows/icon-wiki.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  public/images/windows/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.