From dfc5df0e50cd107ab0216c2689315a4a35de2394 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Fri, 23 Feb 2024 11:14:33 +0100 Subject: [PATCH] Update case studies section --- src/css/styles.css | 44 +++++++++++++++++------ src/html/tmpl.html | 60 +++++++++++++------------------- transifex/resources/website.json | 5 ++- 3 files changed, 62 insertions(+), 47 deletions(-) diff --git a/src/css/styles.css b/src/css/styles.css index 376c372b..1fc5074a 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -432,28 +432,50 @@ a { padding: 0; } #caseStudies ul li { - flex: 0 1 300px; -} -#caseStudies ul li a { - display: block; - height: 100%; + flex: 0 1 410px; + display: flex; + flex-direction: column; + gap: .5rem; border-radius: 10px; - box-shadow: 0 0 0 1px var(--shadow-20); - color: var(--black); - background: var(--light-grey); + border: 1px solid var(--shadow-20); overflow: hidden; + background: var(--light-grey); } #caseStudies ul li img { width: 100%; - height: 160px; + height: 210px; object-fit: cover; object-position: top; } #caseStudies ul li h3 { - margin: .5rem 0; + margin: 0; } #caseStudies ul li p { - margin: .5rem 1rem 1rem; + margin: 0 1.5rem auto; +} +#caseStudies ul li .buttons { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: .75rem; + justify-content: space-between; + margin: 1rem 1.5rem 1.5rem; +} +#caseStudies ul li .buttons a { + margin: 0; + flex: 1 0 9rem; + text-align: center; + white-space: nowrap; + border-radius: 5px; + border: 1px solid var(--shadow-20); + color: var(--black); + font-weight: 600; + padding: .75rem 1rem; + transition: 0.2s ease; +} +#caseStudies ul li .buttons a:hover { + color: var(--sunkist-lime); + border-color: var(--sunkist-lime); } .check-list { margin-left: 2rem; diff --git a/src/html/tmpl.html b/src/html/tmpl.html index eda040bf..156003fc 100644 --- a/src/html/tmpl.html +++ b/src/html/tmpl.html @@ -200,53 +200,43 @@

{{case-studies}}

  • BTCPay Server Bitcoin People Case Study -

    Bitcoin People

    -

    Bitcoin People built a mobile app on top of BTCPay's API to scale bitcoin to 270 merchants in Italy with a total of €406,283 in transaction volumes.

    -
    -
  • -
  • - - BTCPay Server Strainly Case Study -

    Strainly

    -

    Empowering hemp growers and breeders: How Strainly leveraged BTCPay Server to enable peer-to-peer and private payments at scale.

    +

    Bitcoin People

    +

    Bitcoin People built a mobile app on top of BTCPay's API to scale bitcoin to 270 merchants.

    +
  • BTCPay Server Bitcoin Jungle Case Study -

    Bitcoin Jungle

    -

    Bitcoin Jungle enables 200+ stores in Costa Rica to embrace Bitcoin.

    -
    -
  • -
  • - - BTCPay Server Voltage Study -

    Voltage

    -

    World's Fastest BTCPay Deployments with Voltage - generating over 45,000 invoices per month!

    -
    -
  • -
  • - - BTCPay Server Coincards Case Study -

    Coincards

    -

    Pioneering BTCPay Server Integration and Pushing Bitcoin Adoption.

    -
    -
  • -
  • - - BTCPay Server Technical Case Study -

    Technical Case Study

    -

    How to enable Bitcoin payments for merchants at events using BTCPay Server.

    +

    Bitcoin Jungle

    +

    Bitcoin Jungle enables 200+ stores in Costa Rica to embrace Bitcoin.

    +
  • BTCPay Server Hodl Hodl Study -

    Hodl Hodl

    -

    How Hodl Hodl used BTCPay to accept bitcoin payments at a conference.

    +

    Hodl Hodl

    +

    How Hodl Hodl used BTCPay to accept bitcoin payments at a conference.

    +
  • +

    + {{view-all-case-studies}}   + +

    @@ -279,7 +269,7 @@

    {{integrations-and-plugins}}

    {{shopify}} - + {{smartstore}} diff --git a/transifex/resources/website.json b/transifex/resources/website.json index 65079d71..36c555b4 100644 --- a/transifex/resources/website.json +++ b/transifex/resources/website.json @@ -70,5 +70,8 @@ "btcpay-for-communities": "BTCPay Server for local communities", "what-is-btcpay": "What is BTCPay Server?", "shopify": "Shopify", - "case-studies": "Case Studies" + "case-studies": "Case Studies", + "view-case-study": "View Case Study", + "download-pdf": "Download PDF", + "view-all-case-studies": "View All Case Studies" }