diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..723ef36f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 78e1889c5..000000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1616074735223 - - - - - - - - - \ No newline at end of file diff --git a/qdrant-landing/config.toml b/qdrant-landing/config.toml index fe08d8ef7..0c7fd4a40 100644 --- a/qdrant-landing/config.toml +++ b/qdrant-landing/config.toml @@ -26,6 +26,7 @@ keywords = "search engine, neural network, matching, filter, SaaS, approximate n logo = "/images/logo_small_with_text.png" logo_width = "192" + share_preview_img = "/images/logo_with_text.svg" github = "https://github.com/qdrant/qdrant" quick_start = "https://github.com/qdrant/qdrant/blob/master/QUICK_START.md" @@ -51,6 +52,10 @@ keywords = "search engine, neural network, matching, filter, SaaS, approximate n googleTagManager = "GTM-KRLCXD5" +[taxonomies] + tag = "tags" + category = "categories" + example = "examples" [menu] @@ -85,5 +90,11 @@ keywords = "search engine, neural network, matching, filter, SaaS, approximate n weight = -70 url = "/articles" + [[menu.main]] + identifier = "blog" + name = "Blog" + weight = -60 + url = "/blog/" + [markup.goldmark.renderer] unsafe= true diff --git a/qdrant-landing/content/blog/_index.md b/qdrant-landing/content/blog/_index.md new file mode 100644 index 000000000..18f84384b --- /dev/null +++ b/qdrant-landing/content/blog/_index.md @@ -0,0 +1,5 @@ +--- +title: Blog +section_title: Our Blog +subtitle: Check out our latest posts +--- \ No newline at end of file diff --git a/qdrant-landing/content/blog/qdrant-v-0-6-0-engine-with-grpc-released.md b/qdrant-landing/content/blog/qdrant-v-0-6-0-engine-with-grpc-released.md new file mode 100644 index 000000000..1a64a7c27 --- /dev/null +++ b/qdrant-landing/content/blog/qdrant-v-0-6-0-engine-with-grpc-released.md @@ -0,0 +1,34 @@ +--- +title: Qdrant v0.6.0 engine with gRPC interface has been released +short_description: We’ve released a new engine, version 0.6.0. +description: We’ve released a new engine, version 0.6.0. The main feature of the release in the gRPC interface. +preview_image: /blog_data/qdrant-v-0-6-0-engine-with-grpc-released/upload_time.png +weight: 20 +category: main +date: 2022-03-10T01:36:43+03:00 +author: Alyona Kavyerina +author_link: https://medium.com/@alyona.kavyerina +featured: true +categories: +- News +tags: +- gRPC +- release +--- +We’ve released a new engine, version 0.6.0. + +The main feature of the release in the gRPC interface — it is much faster than the REST API and ensures higher app performance due to the following features: + + - re-use of connection; + - binarity protocol; + - separation schema from data. + +This results in 3 times faster data uploading on our benchmarks: + +![REST API vs gRPC upload time, sec](/blog_data/qdrant-v-0-6-0-engine-with-grpc-released/upload_time.png) + +Read more about the gRPC interface and whether you should use it by this [link](https://qdrant.tech/documentation/quick_start/#grpc). + +The release v0.6.0 includes several bug fixes. More information is available in a [changelog](https://github.com/qdrant/qdrant/releases/tag/v0.6.0). + +New version was provided in addition to the REST API that the company keeps supporting due to its easy debugging. \ No newline at end of file diff --git a/qdrant-landing/static/blog_data/qdrant-v-0-6-0-engine-with-grpc-released/upload_time.png b/qdrant-landing/static/blog_data/qdrant-v-0-6-0-engine-with-grpc-released/upload_time.png new file mode 100644 index 000000000..70c58c52d Binary files /dev/null and b/qdrant-landing/static/blog_data/qdrant-v-0-6-0-engine-with-grpc-released/upload_time.png differ diff --git a/qdrant-landing/themes/qdrant/layouts/_default/taxonomy.html b/qdrant-landing/themes/qdrant/layouts/_default/taxonomy.html new file mode 100644 index 000000000..18acc347f --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/_default/taxonomy.html @@ -0,0 +1,23 @@ +{{ define "main" }} +
+
+ {{ partial "blog-sidebar" . }} + +
+

Categories

+
    + {{ range $name, $taxonomy := .Site.Taxonomies.categories }} +
  • {{ $name }}
  • + {{end}} +
+ +

Tags

+
    + {{ range $name, $taxonomy := .Site.Taxonomies.tags }} +
  • {{ $name }}
  • + {{end}} +
+
+
+
+{{ end }} diff --git a/qdrant-landing/themes/qdrant/layouts/blog/baseof.html b/qdrant-landing/themes/qdrant/layouts/blog/baseof.html new file mode 100644 index 000000000..7358f5c63 --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/blog/baseof.html @@ -0,0 +1,9 @@ +{{- partial "header.html" . -}} + +{{- partial "second_header.html" . -}} + +
+ {{ block "main" . }}{{ end }} +
+ +{{- partial "footer.html" . -}} \ No newline at end of file diff --git a/qdrant-landing/themes/qdrant/layouts/blog/list.html b/qdrant-landing/themes/qdrant/layouts/blog/list.html new file mode 100644 index 000000000..d33ee9b85 --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/blog/list.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ partial "sidebar-list" . }} +{{ end }} \ No newline at end of file diff --git a/qdrant-landing/themes/qdrant/layouts/blog/single.html b/qdrant-landing/themes/qdrant/layouts/blog/single.html new file mode 100644 index 000000000..c8eaa4fba --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/blog/single.html @@ -0,0 +1,15 @@ +{{ define "main" }} +
+
+ + + {{ partial "blog-sidebar" . }} + + +
+ {{ partial "blogpost" .}} +
+
+
+ +{{ end }} \ No newline at end of file diff --git a/qdrant-landing/themes/qdrant/layouts/partials/blog-sidebar.html b/qdrant-landing/themes/qdrant/layouts/partials/blog-sidebar.html new file mode 100644 index 000000000..852062105 --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/partials/blog-sidebar.html @@ -0,0 +1,61 @@ + + \ No newline at end of file diff --git a/qdrant-landing/themes/qdrant/layouts/partials/blogpost.html b/qdrant-landing/themes/qdrant/layouts/partials/blogpost.html new file mode 100644 index 000000000..5aad815b0 --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/partials/blogpost.html @@ -0,0 +1,65 @@ + +{{ $link := .Permalink }} +{{ if .Params.external_link }} +{{ $link = .Params.external_link }} +{{ end }} + +
+
+ +
+
{{ .Content }}
+
+
+
+ + +
+
+
+
+
\ No newline at end of file diff --git a/qdrant-landing/themes/qdrant/layouts/partials/paginator.html b/qdrant-landing/themes/qdrant/layouts/partials/paginator.html new file mode 100644 index 000000000..10b661570 --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/partials/paginator.html @@ -0,0 +1,20 @@ +{{ $paginator := . }} +
+
+ +
+
\ No newline at end of file diff --git a/qdrant-landing/themes/qdrant/layouts/partials/seo_schema.html b/qdrant-landing/themes/qdrant/layouts/partials/seo_schema.html index 936ebe7c4..d4f094a9f 100644 --- a/qdrant-landing/themes/qdrant/layouts/partials/seo_schema.html +++ b/qdrant-landing/themes/qdrant/layouts/partials/seo_schema.html @@ -25,4 +25,41 @@ "wordCount" : "{{ .WordCount }}", "keywords" : [ {{ range .Site.Params.Keywords }}"{{ . }}", {{ end }} "Qdrant" ] } - \ No newline at end of file + + +{{ $url := urls.Parse .Site.BaseURL }} +{{ $domain := index (split $url.Host ".") 0 }} + +{{ $imageUrl := path.Join .Site.BaseURL .Site.Params.share_preview_img}} +{{ if .Params.preview_image }} + {{ $imageUrl := path.Join .Site.BaseURL .Params.preview_image }} +{{ end }} + +{{ $title := printf "%s" "Qdrant" | printf "%s%s" " - " | printf "%s%s" .Title | printf "%s" }} +{{ if or ( and (.IsPage) (eq $.Section "blog") ) ( and ($.IsNode) (eq $.Section "") ) }} + {{ $title := .Title }} +{{ end }} + +{{ $description := "" }} +{{ if .Description }} + {{ $description := .Description }} +{{ else }} + {{if .IsPage}} + {{ $description := .Summary }} + {{ end }} +{{ end }} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/qdrant-landing/themes/qdrant/layouts/partials/sidebar-list.html b/qdrant-landing/themes/qdrant/layouts/partials/sidebar-list.html new file mode 100644 index 000000000..97c697a01 --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/partials/sidebar-list.html @@ -0,0 +1,31 @@ +
+
+ + + +
+
\ No newline at end of file diff --git a/qdrant-landing/themes/qdrant/layouts/taxonomy/category.html b/qdrant-landing/themes/qdrant/layouts/taxonomy/category.html new file mode 100644 index 000000000..1f5b1cb1e --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/taxonomy/category.html @@ -0,0 +1,4 @@ +{{ define "main" }} +{{ partial "sidebar-list" . }} +{{ end }} + diff --git a/qdrant-landing/themes/qdrant/layouts/taxonomy/tag.html b/qdrant-landing/themes/qdrant/layouts/taxonomy/tag.html new file mode 100644 index 000000000..1f5b1cb1e --- /dev/null +++ b/qdrant-landing/themes/qdrant/layouts/taxonomy/tag.html @@ -0,0 +1,4 @@ +{{ define "main" }} +{{ partial "sidebar-list" . }} +{{ end }} + diff --git a/qdrant-landing/themes/qdrant/static/css/article.css b/qdrant-landing/themes/qdrant/static/css/article.css index f27cbdf0b..f8b9c6e21 100644 --- a/qdrant-landing/themes/qdrant/static/css/article.css +++ b/qdrant-landing/themes/qdrant/static/css/article.css @@ -13,10 +13,22 @@ article ul { margin-bottom: 1em; } -article ul li { - list-style: circle; - padding: 0; - margin: 0em 0em 0em 2em; +article ul>li { + list-style: none; + margin: 0em 0em 0em 2em; + padding-left: 10px; + position: relative; +} + +article ul>li:before { + position: absolute; + content: ''; + left: 0; + top: calc(50% - 2px); + width: 4px; + height: 4px; + border-radius: 50px; + background-color: var(--dark); } article h1 { diff --git a/qdrant-landing/themes/qdrant/static/css/main.css b/qdrant-landing/themes/qdrant/static/css/main.css index e1f57ffa3..dbbd26bed 100644 --- a/qdrant-landing/themes/qdrant/static/css/main.css +++ b/qdrant-landing/themes/qdrant/static/css/main.css @@ -6960,7 +6960,7 @@ img{ .styled-pagination li.prev a{ position:relative; - color:#a1a1a1; + color:var(--dark); font-size:18px; width:160px; height:48px; @@ -6970,7 +6970,7 @@ img{ padding:10px 20px; border-radius:50px; margin-bottom:20px; - border:1px solid #dddddd; + border:1px solid var(--dark); font-family: 'Roboto Condensed'; /* -webkit-transition:all 300ms ease; */ /* -ms-transition:all 300ms ease; */ @@ -6996,7 +6996,7 @@ img{ position:relative; right:0px; top:0px; - color:#a1a1a1; + color:var(--dark); font-size:18px; width:160px; height:48px; @@ -7006,7 +7006,7 @@ img{ padding:10px 20px; border-radius:50px; margin-bottom:20px; - border:1px solid #dddddd; + border:1px solid var(--dark); font-family: 'Roboto Condensed'; /* -webkit-transition:all 300ms ease; */ /* -ms-transition:all 300ms ease; */ @@ -7023,8 +7023,8 @@ img{ .styled-pagination li.prev a:hover, .styled-pagination li.next a:hover{ - background-color:#ff6754; - border-color:#ff6754; + border-color:var(--brand-primary); + background-color:var(--brand-primary); } /*** @@ -7037,7 +7037,7 @@ img{ .sidebar-page-container{ position:relative; - padding:100px 0px 0px; + padding: 0; } .sidebar-page-container .content-side, @@ -7140,7 +7140,6 @@ img{ position:relative; overflow:hidden; border-radius:10px; - background-color:var(--brand-primary); } .sidebar .news-widget .inner-box .image img{ @@ -7154,6 +7153,11 @@ img{ /* transition: all 600ms ease; */ } +.sidebar .news-widget .inner-box:hover .image { + background-color: var(--brand-primary); + transition: 0.4s ease-in; +} + .sidebar .news-widget .inner-box:hover .image img{ transform:scale(1.04,1.04); opacity:0.5; @@ -7415,7 +7419,7 @@ img{ .news-block-two .inner-box .upper-box h4 a{ position:relative; - color:#2b2b2b; + color: var(--dark); transition:all 0.3s ease; -moz-transition:all 0.3s ease; -webkit-transition:all 0.3s ease; @@ -7427,11 +7431,18 @@ img{ color:var(--brand-primary); } +.news-block-two .inner-box .upper-box h2{ + position:relative; + line-height:1.3em; + font-weight:700; + margin-top:8px; + color: var(--dark); +} + .news-block-two .inner-box .image{ position:relative; overflow:hidden; border-radius:10px; - background-color:var(--brand-primary); } .news-block-two .inner-box .image img{ @@ -7445,6 +7456,11 @@ img{ transition: all 600ms ease; } +.news-block-two .inner-box:hover .image { + background-color: var(--brand-primary); + transition: 0.4s ease-in; +} + .news-block-two .inner-box:hover .image img{ transform:scale(1.04,1.04); opacity:0.5; @@ -7455,25 +7471,26 @@ img{ padding:20px 40px 20px; } -.news-block-two .inner-box .lower-box .post-meta{ +.news-block-two .inner-box .post-meta{ position:relative; margin-top:17px; } -.news-block-two .inner-box .lower-box .post-meta li{ +.news-block-two .inner-box .post-meta li{ position:relative; margin-right:20px; color:#5a5a5a; font-size:16px; display:inline-block; + vertical-align: middle; } -.news-block-two .inner-box .lower-box .post-meta li .icon{ +.news-block-two .inner-box .post-meta li .icon{ position:relative; margin-right:10px; } -.news-block-two .inner-box .lower-box .post-meta li:last-child{ +.news-block-two .inner-box .post-meta li:last-child{ margin-right:0px; } @@ -7575,7 +7592,7 @@ img{ margin-right:0px; } -.blog-detail .inner-box .lower-box p{ +.blog-detail .inner-box .lower-box article { position:relative; color:#5a5a5a; font-size:16px; @@ -7600,9 +7617,7 @@ img{ .blog-detail .inner-box .post-share-options .social-box .share{ position:relative; - color:#2b2b2b; - font-size:18px; - font-family: 'Roboto Condensed' ; + font-size:1rem; } .blog-detail .inner-box .post-share-options .social-box .share i{ @@ -7618,7 +7633,6 @@ img{ .blog-detail .inner-box .post-share-options .social-box li a{ position:relative; - color:#5a5a5a; font-size:18px; /* transition:all 0.3s ease; */ /* -moz-transition:all 0.3s ease; */ @@ -7627,8 +7641,12 @@ img{ /* -o-transition:all 0.3s ease; */ } -.blog-detail .inner-box .post-share-options .social-box li a:hover{ - color:var(--brand-primary); +.blog-detail h2>a { + color: var(--dark); +} + +.blog-detail h2>a:hover { + color: var(--brand-primary); } .copy-code { diff --git a/qdrant-landing/themes/qdrant/static/css/responsive.css b/qdrant-landing/themes/qdrant/static/css/responsive.css index d6ca2fd05..e1cf79fbd 100644 --- a/qdrant-landing/themes/qdrant/static/css/responsive.css +++ b/qdrant-landing/themes/qdrant/static/css/responsive.css @@ -979,7 +979,7 @@ padding-left:25px; } - .blog-detail .inner-box .lower-box p{ + .blog-detail .inner-box .lower-box article{ padding-left:25px; padding-right:25px; } @@ -1073,7 +1073,7 @@ padding-left:15px; } - .blog-detail .inner-box .lower-box p{ + .blog-detail .inner-box .lower-box article{ padding-left:15px; padding-right:15px; }