From 29c1a7ebc21b37e3c5fb55be4856eb961026bc8a Mon Sep 17 00:00:00 2001 From: Chukwuleta Tobechi <47084273+TChukwuleta@users.noreply.github.com> Date: Tue, 5 Mar 2024 05:22:32 +0100 Subject: [PATCH 1/2] Include opencart and joomla to integration section --- src/css/styles.css | 28 +++++++++++++++++++--------- src/html/tmpl.html | 10 +++++++--- src/static/img/joomla.svg | 1 + src/static/img/opencart.svg | 1 + transifex/resources/website.json | 4 +++- 5 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 src/static/img/joomla.svg create mode 100644 src/static/img/opencart.svg diff --git a/src/css/styles.css b/src/css/styles.css index 71ac9a8c..827c1be9 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -133,13 +133,6 @@ body { box-shadow: 0 30px 40px var(--persistent-shadow-light); transform: translateY(-5px); } -.svg-link.tor::before { - background-image: url(/img/tor.svg); -} -.tor { - grid-column: 5/7; - grid-row: 3/7; -} .svg-link.api::before { background-image: url(/img/btcpay.svg); height: 100px; @@ -156,7 +149,7 @@ body { } .wp { grid-column: 8/11; - grid-row: 5/9; + grid-row: 6/9; } .svg-link.shopify::before { background-image: url(/img/shopify.svg); @@ -167,6 +160,23 @@ body { grid-column: 12/10; grid-row: 1/6; } +.svg-link.opencart::before { + background-image: url(/img/opencart.svg); +} +.opencart { + grid-column: 5/7; + grid-row: 3/7; +} +.svg-link.joomla::before { + background-image: url(/img/joomla.svg); + height: 80px; + width: 80px; + background-size: 70px; +} +.joomla { + grid-column: 8/10; + grid-row: 3/7; +} .svg-link.woo::before { background-image: url(/img/woo.svg); height: 80px; @@ -175,7 +185,7 @@ body { } .woo { grid-column: 8/10; - grid-row: 1/5; + grid-row: 1/4; } .svg-link.drupal::before { background-image: url(/img/drupal.svg); diff --git a/src/html/tmpl.html b/src/html/tmpl.html index 90cdd3ef..93d08377 100644 --- a/src/html/tmpl.html +++ b/src/html/tmpl.html @@ -245,8 +245,8 @@

{{integrations-and-plugins}}

- - {{tor}} + + {{opencart}} @@ -267,7 +267,11 @@

{{integrations-and-plugins}}

{{shopify}} - + + + + {{joomla}} + {{nopcommerce}} diff --git a/src/static/img/joomla.svg b/src/static/img/joomla.svg new file mode 100644 index 00000000..cc7f8133 --- /dev/null +++ b/src/static/img/joomla.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/static/img/opencart.svg b/src/static/img/opencart.svg new file mode 100644 index 00000000..e0b4edb2 --- /dev/null +++ b/src/static/img/opencart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/transifex/resources/website.json b/transifex/resources/website.json index 902aed27..5c2779ec 100644 --- a/transifex/resources/website.json +++ b/transifex/resources/website.json @@ -22,6 +22,8 @@ "drupal": "Drupal", "magento": "Magento", "prestashop": "PrestaShop", + "opencart": "OpenCart", + "joomla": "Joomla VirtueMart", "custom-integration": "Custom Integration", "learn-more": "Learn more", "read-docs": "Read Docs", @@ -66,7 +68,7 @@ "wordpress": "WordPress", "zapier": "Zapier", "tor": "Tor", - "integrations-and-plugins": "Integrations and plugins", + "integrations-and-plugins": "E-Commerce Integrations", "content-released-under": "Content Released under MIT license.", "this-website-does": "This website does not use cookies nor collect personal data.", "btcpay-for-communities": "BTCPay Server for local communities", From 18dae2fd0a4cbc5a337ca9bb4fec84a64770e866 Mon Sep 17 00:00:00 2001 From: Chukwuleta Tobechi <47084273+TChukwuleta@users.noreply.github.com> Date: Sun, 17 Mar 2024 23:03:41 +0100 Subject: [PATCH 2/2] Include whmcs to integration and plugins --- src/css/styles.css | 27 +++++++++++++++++--------- src/html/tmpl.html | 8 ++++++-- src/static/img/whmcs.svg | 33 ++++++++++++++++++++++++++++++++ transifex/resources/website.json | 1 + 4 files changed, 58 insertions(+), 11 deletions(-) create mode 100644 src/static/img/whmcs.svg diff --git a/src/css/styles.css b/src/css/styles.css index 827c1be9..84ab9eae 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -164,7 +164,7 @@ body { background-image: url(/img/opencart.svg); } .opencart { - grid-column: 5/7; + grid-column: 6/7; grid-row: 3/7; } .svg-link.joomla::before { @@ -189,21 +189,30 @@ body { } .svg-link.drupal::before { background-image: url(/img/drupal.svg); - height: 90px; - width: 90px; + height: 80px; + width: 80px; } .drupal { grid-column: 2/5; grid-row: 1/5; } +.svg-link.whmcs::before { + background-image: url(/img/whmcs.svg); + height: 70px; + width: 70px; +} +.whmcs { + grid-column: 4/5; + grid-row: 2/8; +} .svg-link.custom::before { background-image: url(/img/custom.svg); - height: 60px; - width: 60px; + height: 80px; + width: 80px; } .custom { - grid-column: 3/5; - grid-row: 4/8; + grid-column: 2/5; + grid-row: 6/9; } .svg-link.mag::before { background-image: url(/img/mag.svg); @@ -230,7 +239,7 @@ body { } .presta { grid-column: 1/3; - grid-row: 2/7; + grid-row: 1/7; } .svg-link.nopcommerce::before { background-image: url(/img/nopcommerce.svg); @@ -239,7 +248,7 @@ body { } .nopcommerce { grid-column: 1/3; - grid-row: 6/9; + grid-row: 4/9; } .svg-link.grandnode::before { background-image: url(/img/grandnode.svg); diff --git a/src/html/tmpl.html b/src/html/tmpl.html index 93d08377..b252dd7d 100644 --- a/src/html/tmpl.html +++ b/src/html/tmpl.html @@ -285,8 +285,12 @@

{{integrations-and-plugins}}

{{smartstore}}
- - {{custom-integration}} + + {{custom-integration}} + + + + {{whmcs}} {{magento}} diff --git a/src/static/img/whmcs.svg b/src/static/img/whmcs.svg new file mode 100644 index 00000000..171373c2 --- /dev/null +++ b/src/static/img/whmcs.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + diff --git a/transifex/resources/website.json b/transifex/resources/website.json index 5c2779ec..dd5384dc 100644 --- a/transifex/resources/website.json +++ b/transifex/resources/website.json @@ -74,6 +74,7 @@ "btcpay-for-communities": "BTCPay Server for local communities", "what-is-btcpay": "What is BTCPay Server?", "shopify": "Shopify", + "whmcs": "WHMCS", "case-studies": "Case Studies", "view-case-study": "View Case Study", "download-pdf": "Download PDF",