Skip to content

Commit

Permalink
Fix trial branding (#4170)
Browse files Browse the repository at this point in the history
Co-authored-by: Chad Carlson <[email protected]>
  • Loading branch information
tylers-username and chadwcarlson authored Sep 3, 2024
1 parent d45b116 commit 3d07ea7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sites/platform/config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ vendor:
cli_prefix: PLATFORMSH
recruit:
active: true
link: https://upsun.com/register/
cta: Get your Upsun free trial
title: Sign up for Upsun
description: "Get your free trial by clicking the link below."
link: https://auth.api.platform.sh/register/
cta: Activate your trial
title: Try for 30 days
description: "Flexible, version-controlled infrastructure provisioning and development-to-production workflows"
config:
version: 1
dir: .platform
Expand Down
3 changes: 3 additions & 0 deletions themes/psh-docs/layouts/partials/page-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ <h3 class="pt-4 pb-2 font-light text-base text-slate">On this page</h3>
class="bg-gradient-to-b from-[#FF4A11] from-0% via-[#ED49F0] via-45% to-[#DDF933] to-100% rounded-2xl p-[1px] my-1">
<div class="rounded-2xl p-5 bg-[#f9f9f9] flex-col justify-start items-start gap-4 inline-flex">
{{ $recruitment := .context.Site.Params.vendor.recruit }}
{{ $vendorName := .context.Site.Params.vendor.name }}
<div
class="bg-clip-text text-transparent bg-gradient-to-r from-[#806BFF] to-[#ED49F0] text-xl font-bold leading-normal">
{{ index $recruitment "title" }}
</div>
<div class="main-section justify-start items-start gap-2.5 inline-flex">
{{ if eq $vendorName "Upsun" }}
<div class="artwork">
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none">
<path
Expand All @@ -82,6 +84,7 @@ <h3 class="pt-4 pb-2 font-light text-base text-slate">On this page</h3>
stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
{{ end }}
<div class="cta-text main-copy flex-col justify-start items-start gap-2 inline-flex">
<div class="cta-body">
{{ index $recruitment "description"}}
Expand Down

0 comments on commit 3d07ea7

Please sign in to comment.