diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-03-31 13:12:52 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-03-31 13:12:52 +0300 |
commit | cccc8fe539ad1e97d6282cc7327095bf3c276fa7 (patch) | |
tree | 792ba81acf514d73114485217b7926a58049a065 /layouts | |
parent | 92a1bd59b6958bf9b85e85d28ec657d531f589b3 (diff) |
Add footer taken from about.gitlab.com
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/404.html | 1 | ||||
-rw-r--r-- | layouts/default.html | 1 | ||||
-rw-r--r-- | layouts/footer.html | 61 | ||||
-rw-r--r-- | layouts/head.html | 3 | ||||
-rw-r--r-- | layouts/home.html | 1 |
5 files changed, 67 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html index 63d8d6b7..d2ff5060 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -8,5 +8,6 @@ </div> </body> + <%= render '/footer.*' %> <%= render '/analytics.*' %> </html> diff --git a/layouts/default.html b/layouts/default.html index 66cfebe4..97b97535 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -24,6 +24,7 @@ </div> </body> + <%= render '/footer.*' %> <%= render '/docsearch.*' %> <%= render '/analytics.*' %> </html> diff --git a/layouts/footer.html b/layouts/footer.html new file mode 100644 index 00000000..83aa898c --- /dev/null +++ b/layouts/footer.html @@ -0,0 +1,61 @@ +<footer class=footer> + <svg width=65 height=60 viewBox="0 0 210 194" class=footer-logo> <path d="M105.0614,193.655 L105.0614,193.655 L143.7014,74.734 L66.4214,74.734 L105.0614,193.655 L105.0614,193.655 Z" fill="#E24329" class="logo-svg-shape logo-dark-orange-shape"/> <path d="M105.0614,193.6548 L66.4214,74.7338 L12.2684,74.7338 L105.0614,193.6548 Z" fill="#FC6D26" class="logo-svg-shape logo-orange-shape"/> <path d="M12.2685,74.7341 L12.2685,74.7341 L0.5265,110.8731 C-0.5445,114.1691 0.6285,117.7801 3.4325,119.8171 L105.0615,193.6551 L12.2685,74.7341 Z" fill="#FCA326" class="logo-svg-shape logo-light-orange-shape"/> <path d="M12.2685,74.7342 L66.4215,74.7342 L43.1485,3.1092 C41.9515,-0.5768 36.7375,-0.5758 35.5405,3.1092 L12.2685,74.7342 Z" fill="#E24329" class="logo-svg-shape logo-dark-orange-shape"/> <path d="M105.0614,193.6548 L143.7014,74.7338 L197.8544,74.7338 L105.0614,193.6548 Z" fill="#FC6D26" class="logo-svg-shape logo-orange-shape"/> <path d="M197.8544,74.7341 L197.8544,74.7341 L209.5964,110.8731 C210.6674,114.1691 209.4944,117.7801 206.6904,119.8171 L105.0614,193.6551 L197.8544,74.7341 Z" fill="#FCA326" class="logo-svg-shape logo-light-orange-shape"/> <path d="M197.8544,74.7342 L143.7014,74.7342 L166.9744,3.1092 C168.1714,-0.5768 173.3854,-0.5758 174.5824,3.1092 L197.8544,74.7342 Z" fill="#E24329" class="logo-svg-shape logo-dark-orange-shape"/> </svg> + + <div class='animated container'> + <ul class='text-center footer-social'> + <li> <a href="https://twitter.com/gitlab" target="_blank"><i class='fa fa-twitter'></i> <span class=sr-only>Twitter</span></a></li> + <li> <a href="https://www.facebook.com/gitlab" target="_blank"><i class='fa fa-facebook'></i> <span class=sr-only>Facebook</span> </a></li> + <li> <a href="https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg" target="_blank"><i class='fa fa-youtube'></i> <span class=sr-only>YouTube</span> </a></li> + <li> <a href="https://www.linkedin.com/company/gitlab-com" target="_blank"><i class='fa fa-linkedin'></i> <span class=sr-only>LinkedIn</span> </a></li> + </ul> + <div class=row> + <div class='col-sm-6 col-md-3 col-lg-2 col-lg-offset-2 footer-link-holder'> + <h3 class=footer-link-title>Products</h3> + <ul class='animated footer-links'> + <li><a href="https://about.gitlab.com/downloads" target="_blank">Download</a></li> + <li><a href="https://about.gitlab.com/products" target="_blank">Community Edition</a></li> + <li><a href="https://about.gitlab.com/gitlab-ee" target="_blank">Enterprise Edition</a></li> + <li><a href="https://about.gitlab.com/gitlab-com/" target="_blank">GitLab.com</a></li> + <li><a href="https://githost.io/" target="_blank">GitLab Hosted</a></li> + </ul> + </div> + <div class='col-sm-6 col-md-3 col-lg-2 footer-link-holder'> + <h3 class=footer-link-title>Services</h3> + <ul class='animated footer-links'> + <li><a href="https://about.gitlab.com/products/" target="_blank">Products</a></li> + <li><a href="https://about.gitlab.com/resellers/" target="_blank">Resellers</a></li> + <li><a href="https://about.gitlab.com/consultancy/" target="_blank">Consultancy</a></li> + <li><a href="https://about.gitlab.com/development/" target="_blank">Development</a></li> + <li><a href="https://about.gitlab.com/training/" target="_blank">Training</a></li> + </ul> + </div> + <div class='col-sm-6 col-md-3 col-lg-2 footer-link-holder'> + <h3 class=footer-link-title>Community</h3> + <ul class='animated footer-links'> + <li><a href="https://about.gitlab.com/events/" target="_blank">Events</a></li> + <li><a href="https://gitlab.myshopify.com/" target="_blank">Swag Shop</a></li> + <li><a href="https://about.gitlab.com/core-team/" target="_blank">Core Team</a></li> + <li><a href="http://contributors.gitlab.com/" target="_blank">Contributors</a></li> + <li><a href="/">Documentation</a></li> + <li><a href="https://about.gitlab.com/getting-help/" target="_blank">Getting Help</a></li> + <li><a href="https://about.gitlab.com/contributing/" target="_blank">Contributing</a></li> + <li><a href="https://about.gitlab.com/applications/" target="_blank">Applications</a></li> + <li><a href="https://about.gitlab.com/mvp/" target="_blank">Hall of Fame</a></li> + </ul> + </div> + <div class='col-sm-6 col-md-3 col-lg-2 footer-link-holder'> + <h3 class=footer-link-title>Company</h3> + <ul class='animated footer-links'> + <li><a href="https://gitlab.com/groups/gitlab-org" target="_blank">Source Code</a></li> + <li><a href="https://about.gitlab.com/blog/" target="_blank">Blog</a></li> + <li><a href="https://about.gitlab.com/press/" target="_blank">Press and Logos</a></li> + <li><a href="https://about.gitlab.com/about/" target="_blank">About Us</a></li> + <li><a href="https://about.gitlab.com/team/" target="_blank">Team</a></li> + <li><a href="https://about.gitlab.com/handbook/" target="_blank">Handbook</a></li> + <li><a href="https://about.gitlab.com/terms/" target="_blank">Terms</a></li> + <li><a href="https://about.gitlab.com/contact/" target="_blank">Contact Us</a></li> + </ul> + </div> + </div> + </div> +</footer> diff --git a/layouts/head.html b/layouts/head.html index f17e7bda..393f4aaa 100644 --- a/layouts/head.html +++ b/layouts/head.html @@ -2,8 +2,11 @@ <meta charset="utf-8"> <title><%= @item.attributes.include?(:title) ? "#{item[:title]} - GitLab Documentation" : "GitLab Documentation" %></title> <meta name="description" content="Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner."> + <link rel="stylesheet" href="<%= @items['/assets/stylesheets/bootstrap.min.*'].path %>"> + <link rel="stylesheet" href="<%= @items['/assets/stylesheets/font-awesome.min.*'].path %>"> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>"> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>"> + <link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>"> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/docsearch.min.*'].path %>"> <script async src="<%= @items['/assets/javascripts/docs.*'].path %>"></script> <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,400italic' rel='stylesheet' type='text/css'> diff --git a/layouts/home.html b/layouts/home.html index a62d1721..ca201881 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -10,6 +10,7 @@ <%= yield %> </body> + <%= render '/footer.*' %> <%= render '/docsearch.*' %> <%= render '/analytics.*' %> </html> |