Added/exchanged logos, added readme, added an archetype for logos (#349)

* added/exchanged logos, added readmi, added an archetype for logos

* README.md fixes
This commit is contained in:
trean
2023-10-16 15:15:31 +02:00
committed by GitHub
parent b1d6245495
commit 0b9d42d786
20 changed files with 57 additions and 16 deletions
+29
View File
@@ -162,3 +162,32 @@ hideInSidebar: true
``` ```
If `true`, the page will not be shown in the sidebar. It can be used in regular documentation pages and in documentation section pages (_index.md). If `true`, the page will not be shown in the sidebar. It can be used in regular documentation pages and in documentation section pages (_index.md).
# Main Page
## Customers/Partners Logos
To add a customer logo to the marquee on the main page:
1.Add a logo to `/qdrant-landing/static/content/images/logos` directory. The logo should be in png format and have a transparent background and width 200px. The color of the logo should be `#B6C0E4`.
2. Add a markdown file to `content/stack` directory using next command (replace `customer-name` with the name of the customer):
``` bash
cd qdrant-landing
hugo new --kind customer-logo stack/customer-name.md
```
Edit the file if needed.
3. If total number of slides changed - update `static/css/main.scss` file. Find line:
```scss
@include marquee.base(80px, 200px, 13, 6, 20px, false, 50s);
```
and change 13 to the number of logos.
Rebuild css from scss (see instructions [above](#build-css-from-scss)).
4. To change order of the logos - add or change `weight` parameter in the markdown files in `/qdrant-landing/content/stack` directory.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/alphasense-logo" image: "content/images/logos/alphasense-logo-mono"
name: "AlphaSense" name: "AlphaSense"
sitemapExclude: True sitemapExclude: True
--- ---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/bayer-logo" image: "content/images/logos/bayer-logo-mono"
name: "Bayer" name: "Bayer"
sitemapExclude: True sitemapExclude: True
--- ---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/dailymotion-logo" image: "content/images/logos/dailymotion-logo-mono"
name: "Dailymotion" name: "Dailymotion"
sitemapExclude: True sitemapExclude: True
--- ---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/deloitte-logo" image: "content/images/logos/deloitte-logo-mono"
name: "Deloitte" name: "Deloitte"
sitemapExclude: True sitemapExclude: True
--- ---
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/disney-streaming-logo" image: "content/images/logos/disney-streaming-logo-mono"
name: "Disney Streaming" name: "Disney Streaming"
sitemapExclude: True sitemapExclude: True
--- ---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/flipkart-logo" image: "content/images/logos/flipkart-logo-mono"
name: "Flipkart" name: "Flipkart"
sitemapExclude: True sitemapExclude: True
--- ---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/glg-logo" image: "content/images/logos/glg-logo-mono"
name: "GLG" name: "GLG"
sitemapExclude: True sitemapExclude: True
--- ---
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/hp-enterprise-logo" image: "content/images/logos/hp-enterprise-logo-mono"
name: "Hewlett Packard Enterprise" name: "Hewlett Packard Enterprise"
sitemapExclude: True sitemapExclude: True
--- ---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/hrs-logo" image: "content/images/logos/hrs-logo-mono"
name: "HRS" name: "HRS"
sitemapExclude: True sitemapExclude: True
--- ---
@@ -0,0 +1,6 @@
---
draft: false
image: "content/images/logos/johnson-logo-mono"
name: "Johnson & Johnson"
sitemapExclude: True
---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/kaufland-logo" image: "content/images/logos/kaufland-logo-mono"
name: "Kaufland" name: "Kaufland"
sitemapExclude: True sitemapExclude: True
--- ---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/microsoft-logo" image: "content/images/logos/microsoft-logo-mono"
name: "Bayer" name: "Bayer"
sitemapExclude: True sitemapExclude: True
--- ---
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
draft: false draft: false
image: "content/images/logos/mozilla-logo" image: "content/images/logos/mozilla-logo-mono"
name: "Mozilla" name: "Mozilla"
sitemapExclude: True sitemapExclude: True
--- ---
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

@@ -0,0 +1,6 @@
---
draft: false
image: "content/images/logos/{{ replace .Name "-" " " }}-logo" #logo image should be in pdf format, do not include extension here
name: "{{ replace .Name "-" " " | title }}"
sitemapExclude: True
---
@@ -14,14 +14,14 @@
<span> <span>
{{ range .Pages }} {{ range .Pages }}
<div class="marquee__item"> <div class="marquee__item">
<img src="{{ .Params.image }}-mono.png" alt="{{ .Params.name}} logo"> <img src="{{ .Params.image }}.png" alt="{{ .Params.name}} logo">
</div> </div>
{{ end }} {{ end }}
</span> </span>
<span> <span>
{{ range .Pages }} {{ range .Pages }}
<div class="marquee__item"> <div class="marquee__item">
<img src="{{ .Params.image }}-mono.png" alt="{{ .Params.name}} logo"> <img src="{{ .Params.image }}.png" alt="{{ .Params.name}} logo">
</div> </div>
{{ end }} {{ end }}
</span> </span>
File diff suppressed because one or more lines are too long
@@ -148,7 +148,7 @@ blockquote {
} }
.marquee { .marquee {
@include marquee.base(80px, 200px, 12, 6, 20px, false, 50s); @include marquee.base(80px, 200px, 13, 6, 20px, false, 50s);
} }
@import "blocks/forms"; @import "blocks/forms";