Files
landing_page/qdrant-landing/themes/qdrant-2024/assets/css/partials/_menu.scss
T
1f8607334b New Design (#640)
* new design dir

* build script

* build script

* Implement new design (#706)

* initial basic set up

* add customers section

* add core features section

* add customer-stories section

* create common link component

* add docker deploy section

* add vectors section

* minor tweaks

* add footer component

* add use cases page

* general improvements

* add controls to customer stories section

* use mobile first approach

* minor tweaks

* small fix

* add menu mobile

* align breakpoints with Bootstrap

* expand menu items and add menu icos

---------

Co-authored-by: Nik Shemel <nikita_shershnev@hotmail.com>

* Link hover effect (#739)

* moved icons to the assets dir

* styles for link

* better link animation, added modifiers and updated links on the main page

* fix

* improved arrow animation without js debouncing

* fix

* npm run format

* Hover effects for some links and cards (#744)

* inline links hover

* no underline by default, will add it only in articles later

* more hovers

* reusable card styles

* fix

* Fix top header and add some visual effects (#749)

* fix top banner on mobile and add star background pattern

* add more visual effects

* update vectors image blur effect

---------

Co-authored-by: Nik Shemel <nikita_shershnev@hotmail.com>

* Updated styles for docker commands to make copying more user-friendly (#750)

* updated styles for docker commans to make copying more user friendly

* npm run format

* Add feature overview cards (#753)

* add feature overview cards

* fix

* Hero image styles and optimization (#756)

* hero image

* optimized hero image for different rezolutions

* image source from md file, fixes

* mobile fix

* removed too small img

* Add grid layout (#752)

* add grid template

* use bootstrap grid main page

* small tweaks

* fix

* fix grid layout

* polish main page

* format code

---------

Co-authored-by: Nik Shemel <nikita_shershnev@hotmail.com>

* add qdrant vector database page (#757)

* add qdrant vector database page

* fix

* add get started small block

* format code

* fix

---------

Co-authored-by: trean <trean.mi@gmail.com>

* Prettier for Hugo templates (#758)

* better formatting for hugo templates

* npm run format

* add enterprise solutions page (#762)

* add enterprise solutions page

* fix

* customers logos animation (#763)

* use cases page (#760)

* use cases page

* fix use cases layout

* small tweaks

---------

Co-authored-by: Nik Shemel <nikita_shershnev@hotmail.com>

* Replaced horizontal sections paddings with customized .container padding (#764)

* replaced horizontal sections paddings with customized .container padding

* updated new files

* redundant whitespace

* make asset file names lowercase

* Content structure refactoring (#766)

* refactor top-banner content source

* refactor menu content source

* refactor menu-mobile content source

* refactor hero content source

* refactor main page & get-started content source

* refactor footer content source

* refactor enterprise-solutions content source

* refactor qdrant-vector-database content source

* structure pages content

* format code

* add demos page (#768)

* add demos page

* add interactive tutorials section

---------

Co-authored-by: Nik Shemel <nikita_shershnev@hotmail.com>

* add qdrant cloud page (#767)

* add qdrant cloud page

* add new blocks and refactor

* fix

* fix

* delete wrapper

* add hybrid cloud page (#769)

* add hybrid cloud page

* fix

* delete wrapper

* run format

---------

Co-authored-by: trean <trean.mi@gmail.com>

* add private cloud page (#773)

* add private cloud page

* delete wrapper

* add pricing page (#777)

* add pricing page

* add and fix some blocks

* fix

* delete empty file

* fix

* finished Hybrid-Cloud page and improved other pages (#782)

* Add blog page (#789)

* add blog page

* fix

* fix

* fix

* fix

* Hybrid cloud landing launch preparation  (#791)

* moved img dir from assets to static

* moved styles for the hybrid cloud page to the separate file

* replaced png with svg, made images not interactable

* updated head with title, favicons, seo

* favicons files

* npm run format

* removed unused files

* Svg instead png and hot-fix (#794)

* moved new images to static

* fixes

* npm run format

* added global base of, removed baseof from hybrid cloud, moved code to the list layout

* npm run format

* fix

* moved icons to static dir (#797)

* add qdrant blog post page (#795)

* add qdrant blog post page

* fix

* Fix core features section (#799)

* fix for core features section

* fix cloud natve card

* google analytis and gtm (#806)

* About us page (#801)

* about us page

* add leadership section

* add investors section

* add open roles section

* add more component to the about page

* our story component

* fix carousel position on the xl screen size

---------

Co-authored-by: Nik Shemel <nikita_shershnev@hotmail.com>

* Add contact pages (#815)

* Add Not-found Page (#816)

* Add Articles Page and Article-Post Page (#810)

* Add Articles Page and Article-Post Page

* fix

* custom gutters (#812)

* fix

---------

Co-authored-by: trean <trean.mi@gmail.com>

* Add Advanced-search Page (#825)

* Add Advanced-search Page

* fix

* fix format

* Customers review animation (#798)

* splide carousel on the main page

* npm run format

* fix

* buttons fix

* moved content of baseof files to lists, so that all pages used the default layout (#831)

* Add Recommendations page (#833)

* Popup for the desktop submenu (#832)

* popup for the desktop submenu

* section link

* menu urls

* open external menu links in a new tab

* Changed background icons to img so that they are pre-loaded and don't cause glitches when the submenu first appears

* Add RAG and Data-Analysis Pages (#839)

* Add RAG and Data-Analysis Pages

* fix

* Footer links and form (#838)

* updated footer

* hubspot form in the footer

* fix IDs

* submitted message alingn

* fix

* removed unused .md

* Revert "removed unused .md"

This reverts commit e6406a701b.

* Moved 404 page to layouts root (#841)

* moved 404 page to laouts root

* removed unused .md

* format

* Move updates from hc landing (#842)

* fixed scheme image

* fix

* cookie banner and base

* new preview

* fix

* upd seo title, description, keywords

* moved fonts

* youtube video

* format

* Contac forms from Hubspot (#843)

* adjusted the form partial to reuse

* hubspot contact form

* fixes

* format

* error messages fixes

* Single page default layout, article content partial, table (#846)

* single page default layout, article content partial, table

* fix

* fix

* Code snippets for articles, blog, docs (#847)

* code highlight

* import highlight scss

* code copy button and highlight styles

* fix highlight

* code snippet tabs

* changes in lang switcher

* changes to fix mobile view

* no scrollbar

* Article and blog pages update (#850)

* returned input

* articles, blog pages: a link to post, pagination

* format

* a form in blog hero

* subscribe banner, fixes for hubspot styles

* overall fixes, links

* page-search

* format

* mobile fixes

* fix search modal and pagination

* removed todos comments

---------

Co-authored-by: generall <andrey@vasnetsov.com>

* Some links and fixes (#853)

* links and fixes

* links and menus adjustments

* inline code highlight only inside article tag

* demos and tutorials links and fixes

* rag page fixes

* links, hidden non existing links on the main

* mobile

* hidden menu links

* Centered article post layout (#860)

* centered layout for article posts and a separate partial for social share buttons

* fix

* mathjax support

* format

* links, small fixes (#859)

* Add Documentation page (#861)

* create menu structure

* add docs menu

* minor tweaks

* add table contents

* add article

* fix

* add text trim and indentation

* fix

---------

Co-authored-by: Nik Shemel <nikita_shershnev@hotmail.com>

* breadcrumbs (#865)

* breadcrumbs

* post font-weight

* align

* ajusted layout to breadcrumbs

* Small fixes (#869)

* 6th tutorial card

* fixes

* some fixes

* tutorials links

* Docs update (#874)

* tables, images, figures

* aside alerts in a separate file

* alerts icons

* search button

* moved feedback buttons to the separate partials, added on click behavior, added github links

* dark theme of the search modal, separate css for docs section

* added anchor.js

* format

* Overall fixes (#876)

* top level links in the mobile menu

* moved breackpoint to lg at some places

* moved breackpoint to lg at some places

* blockquote

* format

* About us photo (#878)

* added a leadership photo

* stars

* hidden form header

* Benchmarks in new design (#857)

* benchmark list layout

* single page layout for benchmarks

* format

* script fixes

* benchmark list layout

* uninstal local chart.js

* benchmark layout fixes

* benchmarks style fixes

* format

---------

Co-authored-by: generall <andrey@vasnetsov.com>

* Overall fixes (#880)

* code snippets scroll bar

* global scrollbar

* fixes

* fixes

* upd CI

* upd CI

* upd CI

* move preview images to global static

* Fixed an issue with disappeared articles (#881)

* removed an excluding featured articles, increased number of articles per a page

* urlquery

* breadcrumbs url trailing slash

* fix link

* site map exclude upd, urls upd (#882)

* fix logo with text

* Article preview (#883)

* moved archetypes

* article preivew

* format

* fix

* rss

* Fixes (#888)

* fix links on qdrant-vector-database page

* update rag page

* update links

* resolve enterprise solutions

* demos, pricing

* fix link

* qdrant-post__preview

* fix

* Always visible menu (#895)

* replace built-for-perfomance.svg

* site-header partial, fixed menu

* format

* fix

* mobile fix

* Small refactoring and content (#896)

* moved some js to the file

* position fixed for github stars

* quotient logo

* soc2 logo, customer review

* hero subtitle

* hide cloud video section and run format (#898)

* Redirects for CMS authentication

* scroll to anchor (#901)

* fix

* gh stars manual update

* feat: CMD + K to search - New Design (#909)

* remove glg and add discrod and X to logos

---------

Co-authored-by: generall <andrey@vasnetsov.com>
Co-authored-by: Mikita Shershneu <52164620+nshershnev@users.noreply.github.com>
Co-authored-by: Nik Shemel <nikita_shershnev@hotmail.com>
Co-authored-by: nastyapash <38438810+nastyapash@users.noreply.github.com>
Co-authored-by: Anush <anushshetty90@gmail.com>
2024-05-21 09:57:56 +02:00

180 lines
3.2 KiB
SCSS

@use '../mixins/mixins' as mixins;
@use '../helpers/functions' as *;
.menu-link {
text-decoration: none;
color: $neutral-98;
cursor: pointer;
&:hover {
color: $primary-50;
}
}
.main-menu {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
flex-shrink: 0;
position: relative;
padding-top: rem(12);
padding-bottom: rem(12);
padding-left: rem(20);
padding-right: rem(20);
background: linear-gradient(180deg, #090d19, rgba(9, 13, 25, 0));
z-index: 1;
&__trigger {
outline: none;
border: none;
width: rem(40);
height: rem(40);
padding: 0 8px;
border-radius: 8px;
z-index: 1;
background: linear-gradient($neutral-20, #0e1424);
}
&__links {
display: none;
gap: calc($spacer / 2);
position: relative;
margin-bottom: 0;
}
&__item {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
flex-shrink: 0;
margin: 0 $spacer;
position: relative;
color: $neutral-98;
line-height: 1.5;
white-space: nowrap;
@include mixins.transitionAll(300ms);
&:hover {
.main-menu__submenu {
display: flex;
}
}
}
&__submenu {
display: none;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
padding: rem(24);
position: absolute;
border-radius: 12px;
border: 1px solid $neutral-90;
background: $neutral-98;
box-shadow:
0 1px 2px 0 rgba(22, 30, 51, 0.1),
0 10px 20px 0 rgba(22, 30, 51, 0.1);
top: 48px;
&:before {
content: '';
display: block;
position: absolute;
top: -7px;
left: 50%;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid $neutral-98;
transform: translateX(-50%);
}
&:after {
content: '';
display: block;
position: absolute;
width: 100%;
height: 30px;
top: -30px;
left: 0;
}
}
&__submenu-item {
width: 100%;
list-style: none;
margin-bottom: rem(4);
&:last-of-type {
margin-bottom: 0;
}
& a {
display: flex;
height: 2.5rem;
line-height: 1;
align-items: center;
border-radius: rem(4);
color: $neutral-20;
padding: 0.5rem;
}
img {
display: block;
width: auto;
height: 1rem;
color: $primary-50;
margin-top: 0.3rem;
margin-bottom: 0.2rem;
margin-right: rem(12);
}
&:hover {
a {
background: $neutral-94;
color: $primary-50;
}
}
}
&__section-link {
padding: 0.5rem;
margin-bottom: rem(4);
text-transform: uppercase;
a {
line-height: $font-size-s;
}
}
&__buttons {
display: none;
align-items: center;
justify-content: flex-end;
flex-wrap: nowrap;
flex-shrink: 0;
gap: $spacer;
}
}
@include media-breakpoint-up(xl) {
.main-menu {
padding-top: $spacer * 2;
padding-bottom: $spacer * 2;
padding-left: $spacer * 1.5;
padding-right: $spacer * 1.5;
&__links {
display: flex;
}
&__buttons {
display: flex;
}
&__trigger {
display: none;
}
}
}