Skip to content

Commit

Permalink
chore(NODE-4545): docs front page brand alignment (#3376)
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-khare-mongoDB committed Aug 22, 2022
1 parent a3ee7e2 commit 2e47102
Show file tree
Hide file tree
Showing 55 changed files with 284 additions and 266 deletions.
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<div class="logo pull-left">
<a href="/node-mongodb-native">
<img src="/node-mongodb-native/s/img/logo-mongodb-header.png", alt="MongoDB.org" />
<img src="/node-mongodb-native/s/img/logo-mongodb-header-slate.png", alt="MongoDB.org" />
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/Next/assets/search.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/Next/classes/Collection.html

Large diffs are not rendered by default.

166 changes: 83 additions & 83 deletions docs/Next/classes/Long.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Next/classes/MaxKey.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Next/classes/MinKey.html

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions docs/Next/classes/ObjectId.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/Next/classes/Timestamp.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Next/classes/TypedEventEmitter.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/AbstractCursorOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/AddUserOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/AggregateOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/AggregationCursorOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/BSONSerializeOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/BulkWriteOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/ChangeStreamOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/CollStatsOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/CollectionOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/CommandOperationOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/CountDocumentsOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/CountOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/CreateCollectionOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/CreateIndexesOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/DbOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/DbStatsOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/DeleteOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/DropCollectionOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/EstimatedDocumentCountOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/EvalOptions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Next/interfaces/FilterOperators.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/FindOneAndDeleteOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/FindOneAndReplaceOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/FindOneAndUpdateOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/FindOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/InsertOneOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/ListCollectionsOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/ListDatabasesOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/ListIndexesOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/MapReduceOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/MongoClientOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/OperationOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/RenameOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/ReplaceOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/TopologyOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/TransactionOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/UpdateOptions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Next/interfaces/ValidateCollectionOptions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Next/modules.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<div class="logo pull-left">
<a href="/node-mongodb-native">
<img src="/node-mongodb-native/s/img/logo-mongodb-header.png", alt="MongoDB.org" />
<img src="/node-mongodb-native/s/img/logo-mongodb-header-slate.png", alt="MongoDB.org" />
</a>
</div>

Expand All @@ -52,9 +52,9 @@
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-6">
<h2>MongoDB Node.JS Driver</h2>
<h2>MongoDB Node.js Driver</h2>
<p>
The next generation Node.JS driver for MongoDB
The next generation Node.js driver for MongoDB
</p>
<p>

Expand Down
41 changes: 25 additions & 16 deletions docs/s/css/frontpage.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

code, pre, kbd, samp {
font-family: 'Source Code Pro', Monaco, Menlo, Consolas, "Courier New", monospace;
}

body {
font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Lexend Deca", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
color: #494747;
color: black;
font-size: 16px;
-webkit-font-smoothing: antialiased;
background-color: #f3f4eb;
color: #4c3a2c;
background-color: white;
color: black;
padding-top: 50px;
}

Expand Down Expand Up @@ -40,8 +48,8 @@ dt {
left: 0;
width: 100%;
font-size: 31px;
background-color: #3b291f;
color: white;
background-color: white;
color: black;
margin: 0;
padding: 0;
z-index: 100;
Expand All @@ -65,7 +73,7 @@ dt {
}

#header-db a {
color: white;
color: black;
}

#header-db .logo img {
Expand Down Expand Up @@ -109,7 +117,7 @@ div.gsc-input-box,
.gsc-input input.gsc-input:-moz-input-placeholder,
.gsc-input input.gsc-input::-moz-input-placeholder,
.gsc-input input.gsc-input:-ms-input-placeholder {
color: #CCC;
color: black;
}

/* Clear search button */
Expand Down Expand Up @@ -168,7 +176,7 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
}

.footer a {
color: #989898;
color: black;
text-decoration: underline;
}

Expand All @@ -178,15 +186,15 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
}

.footer .box {
background-color: #f5f6f7;
background-color: white;
min-height: 20px;
padding: 15px;
margin-bottom: 20px;
text-align: left;
}

.footer .box a {
color: #333;
color: black;
text-decoration: none;
}

Expand Down Expand Up @@ -219,8 +227,8 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
/* Hero Styles */

#hero {
background-color: #666;
color: #f3f4eb;
background-color: #023430;
color: white ;
border-bottom: 1px solid #313030;
padding: 12px 0px;
}
Expand All @@ -237,6 +245,7 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
}

#hero h2 {
font-family: "Noto Serif JP", "Lexend Deca", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;;
border-top: 3px solid #6ca439;
color: #f3f4eb;
padding: 10px 0;
Expand All @@ -257,14 +266,14 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-

.btn-mongo:hover {
color: white;
border-color:#34302d;
border-color:black;
box-shadow:none;
text-decoration:none;
}

.btn-dark {
border: 2px solid #3b291f;
background-color: #3b291f;
border: 2px solid black;
background-color: black;
color: white;
border-radius: 0;
}
Expand Down
Binary file added docs/s/img/logo-mongodb-header-slate.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion etc/docs/template/layouts/partials/header/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!--logo start-->
<div class="logo pull-left">
<a href="{{.Site.BaseURL}}">
<img src="{{.Site.BaseURL}}/s/img/logo-mongodb-header.png", alt="MongoDB.org" />
<img src="{{.Site.BaseURL}}/s/img/logo-mongodb-header-slate.png", alt="MongoDB.org" />
</a>
</div>
<!--logo end-->
Expand Down
4 changes: 2 additions & 2 deletions etc/docs/template/layouts/partials/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-6">
<h2>MongoDB Node.JS Driver</h2>
<h2>MongoDB Node.js Driver</h2>
<p>
The next generation Node.JS driver for MongoDB
The next generation Node.js driver for MongoDB
</p>
<p>
{{ range where $.Site.Data.releases.versions "version" $.Site.Data.releases.current }}{{ $.Scratch.Set "qs.currentReleasedVersion" . }}{{end }}
Expand Down
41 changes: 25 additions & 16 deletions etc/docs/template/static/s/css/frontpage.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

code, pre, kbd, samp {
font-family: 'Source Code Pro', Monaco, Menlo, Consolas, "Courier New", monospace;
}

body {
font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Lexend Deca", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
color: #494747;
color: black;
font-size: 16px;
-webkit-font-smoothing: antialiased;
background-color: #f3f4eb;
color: #4c3a2c;
background-color: white;
color: black;
padding-top: 50px;
}

Expand Down Expand Up @@ -40,8 +48,8 @@ dt {
left: 0;
width: 100%;
font-size: 31px;
background-color: #3b291f;
color: white;
background-color: white;
color: black;
margin: 0;
padding: 0;
z-index: 100;
Expand All @@ -65,7 +73,7 @@ dt {
}

#header-db a {
color: white;
color: black;
}

#header-db .logo img {
Expand Down Expand Up @@ -109,7 +117,7 @@ div.gsc-input-box,
.gsc-input input.gsc-input:-moz-input-placeholder,
.gsc-input input.gsc-input::-moz-input-placeholder,
.gsc-input input.gsc-input:-ms-input-placeholder {
color: #CCC;
color: black;
}

/* Clear search button */
Expand Down Expand Up @@ -168,7 +176,7 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
}

.footer a {
color: #989898;
color: black;
text-decoration: underline;
}

Expand All @@ -178,15 +186,15 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
}

.footer .box {
background-color: #f5f6f7;
background-color: white;
min-height: 20px;
padding: 15px;
margin-bottom: 20px;
text-align: left;
}

.footer .box a {
color: #333;
color: black;
text-decoration: none;
}

Expand Down Expand Up @@ -219,8 +227,8 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
/* Hero Styles */

#hero {
background-color: #666;
color: #f3f4eb;
background-color: #023430;
color: white ;
border-bottom: 1px solid #313030;
padding: 12px 0px;
}
Expand All @@ -237,6 +245,7 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
}

#hero h2 {
font-family: "Noto Serif JP", "Lexend Deca", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;;
border-top: 3px solid #6ca439;
color: #f3f4eb;
padding: 10px 0;
Expand All @@ -257,14 +266,14 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-

.btn-mongo:hover {
color: white;
border-color:#34302d;
border-color:black;
box-shadow:none;
text-decoration:none;
}

.btn-dark {
border: 2px solid #3b291f;
background-color: #3b291f;
border: 2px solid black;
background-color: black;
color: white;
border-radius: 0;
}
Expand Down

0 comments on commit 2e47102

Please sign in to comment.