From e42a3722b03ae8e87a95360caa58631d45fdc081 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Wed, 31 Jan 2024 12:31:49 -0500 Subject: [PATCH] Resolve merge conflicts (#6324) Signed-off-by: Fanit Kolchina --- _includes/banner.html | 2 +- _includes/cards.html | 42 +++++++++++++++++++------------------- _layouts/home.html | 2 +- _sass/_home.scss | 7 +++---- assets/js/home-listener.js | 5 +++++ assets/js/listener.js | 3 --- 6 files changed, 31 insertions(+), 30 deletions(-) create mode 100644 assets/js/home-listener.js diff --git a/_includes/banner.html b/_includes/banner.html index dadf93f578..95869b6cbe 100644 --- a/_includes/banner.html +++ b/_includes/banner.html @@ -5,7 +5,7 @@
- +
\ No newline at end of file diff --git a/_includes/cards.html b/_includes/cards.html index ab2c1874b2..a92366c489 100644 --- a/_includes/cards.html +++ b/_includes/cards.html @@ -5,31 +5,31 @@

OpenSearch and OpenSearch Dashboards

Learn how to power up your search

- + -
- -

Data Prepper

-

Prepare your data for OpenSearch

- -
- -
- -

Clients

-

OpenSearch in your programming language

- -
+
+ +

Data Prepper

+

Prepare your data for OpenSearch

+ +
+ +
+ +

Clients

+

OpenSearch in your programming language

+ +
+ - -
- -

Benchmark

-

Track OpenSearch performance

- -
+
+ +

Benchmark

+

Track OpenSearch performance

+ +
diff --git a/_layouts/home.html b/_layouts/home.html index 983cde7b1e..0b13e44e23 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -31,6 +31,6 @@ {% include footer.html %} - + diff --git a/_sass/_home.scss b/_sass/_home.scss index a529aa910c..9b5dd864a9 100644 --- a/_sass/_home.scss +++ b/_sass/_home.scss @@ -61,7 +61,6 @@ color: $blue-vibrant-300; } > .last-link { - transform: translateY(-1px); text-decoration: underline; text-underline-offset: 3px; } @@ -145,7 +144,7 @@ } .banner-text-header { - font-size: 2.3rem; + font-size: 2.1rem; font-family: "Open Sans"; font-weight: 300; @include mq(md) { @@ -154,12 +153,12 @@ } .banner-text-description { - font-size: 1.3rem; + font-size: 1rem; font-weight: 700; font-style: normal; line-height: 2.25rem; @include mq(md) { - font-size: 1rem; + font-size: 1.3rem; } } diff --git a/assets/js/home-listener.js b/assets/js/home-listener.js new file mode 100644 index 0000000000..160414f132 --- /dev/null +++ b/assets/js/home-listener.js @@ -0,0 +1,5 @@ +const contributeButton = document.getElementById('contribute'); + +contributeButton.addEventListener('click', function(event) { + window.open('https://github.com/opensearch-project', '_blank'); +}); \ No newline at end of file diff --git a/assets/js/listener.js b/assets/js/listener.js index 2d7221c73d..029e042419 100644 --- a/assets/js/listener.js +++ b/assets/js/listener.js @@ -28,9 +28,6 @@ document.addEventListener('click', function(event) { else if (target.matches('.copy-button')) { window.navigator.clipboard.writeText(target.getAttribute('data-text')); } - else if (target.matches('.btn-contribute')) { - window.open('https://github.com/opensearch-project', '_blank'); - } }); nav.addEventListener('scroll',(e)=>{