Skip to content

Commit

Permalink
[website] Move trusted-by section from main page to a new page (apach…
Browse files Browse the repository at this point in the history
…e#20788) (apache#20797)

* add custom jenkinsfile

* move users from home page

* test users page

* revert htaccess change

* move trusted-by section from homepage to ecosystem/

* Revert "move trusted-by section from homepage to ecosystem/"

This reverts commit e214069.

* copy powered_by to master/

* update trusted-by page

* remove test jenkinsfile
  • Loading branch information
mseth10 authored Dec 31, 2021
1 parent 84d8e64 commit cd47783
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 22 deletions.
1 change: 1 addition & 0 deletions docs/python_docs/themes/mx-theme/mxtheme/header_top.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<a class="page-link" href="/versions/1.9.0/features">Features</a>
<a class="page-link" href="/versions/1.9.0/ecosystem">Ecosystem</a>
<a class="page-link page-current" href="/versions/1.9.0/api">Docs & Tutorials</a>
<a class="page-link" href="/versions/1.9.0/trusted_by">Trusted By</a>
<a class="page-link" href="https://github.com/apache/incubator-mxnet">GitHub</a>
<div class="dropdown">
<span class="dropdown-header">1.9.0
Expand Down
1 change: 1 addition & 0 deletions docs/static_site/src/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<a class="page-link" href="{{'/features' | relative_url }}">Features</a>
<a class="page-link" href="{{'/ecosystem' | relative_url }}">Ecosystem</a>
<a class="page-link" href="{{'/api' | relative_url }}">Docs & Tutorials</a>
<a class="page-link" href="{{'/trusted_by' | relative_url }}">Trusted By</a>
<a class="page-link" href="https://github.com/apache/incubator-mxnet">GitHub</a>
<div class="dropdown">
<span class="dropdown-header">1.9.0
Expand Down
8 changes: 0 additions & 8 deletions docs/static_site/src/_layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,6 @@ <h3>{{feature.title}}</h3>
</div>
</div>
</div>
<div class="trusted-by-section section ">
<div class="wrapper">
<div class="trusted-by">
<h2>Already trusted by</h2>
<img src="{{'/assets/img/logos.png' | relative_url}}">
</div>
</div>
</div>
</main>

{%- include footer.html -%}
Expand Down
14 changes: 0 additions & 14 deletions docs/static_site/src/_sass/minima/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,20 +170,6 @@ a.btn {
background-color: white;
}

// ===
// trusted-by
// ===

.trusted-by-section {
background-color: white;
color: $grey-color-dark;
}

.trusted-by {
margin-top: 30px;

}

// ===
// news
// ===
Expand Down
34 changes: 34 additions & 0 deletions docs/static_site/src/pages/trusted_by.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: page
title: Trusted By
subtitle: These are some of the organizations that use MXNet.
action: Get Started
action_url: /get_started
permalink: /trusted_by/
---

<!---
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<div class="trusted-by-page">
<div class="row">
<img src="{{'/assets/img/logos.png' | relative_url}}">
</div>
<br><br>
</div>

0 comments on commit cd47783

Please sign in to comment.