diff --git a/_includes/banner.html b/_includes/banner.html index dadf93f5..95869b6c 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 f5f2c960..a92366c4 100644 --- a/_includes/cards.html +++ b/_includes/cards.html @@ -5,7 +5,7 @@

OpenSearch and OpenSearch Dashboards

Learn how to power up your search

- + @@ -13,14 +13,14 @@

Data Prepper

Prepare your data for OpenSearch

- +

Clients

OpenSearch in your programming language

- +
@@ -28,7 +28,7 @@

Benchmark

Track OpenSearch performance

- + diff --git a/_layouts/home.html b/_layouts/home.html index 983cde7b..0b13e44e 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -31,6 +31,6 @@ layout: table_wrappers {% include footer.html %} - + diff --git a/_sass/_home.scss b/_sass/_home.scss index a529aa91..9b5dd864 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 00000000..160414f1 --- /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 2d7221c7..029e0424 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)=>{