From 5135e5582b1e2ec2fdeb152e7e0730b99d423aa0 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 29 Aug 2022 23:52:19 -0400 Subject: [PATCH] Adds GitLens+ notices --- package.json | 2 +- src/webviews/apps/home/home.html | 7 +++++++ src/webviews/apps/home/home.scss | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 588e887..91fae6b 100644 --- a/package.json +++ b/package.json @@ -11295,7 +11295,7 @@ }, { "view": "gitlens.views.worktrees", - "contents": "✨ Worktrees are a [GitLens+ feature](command:gitlens.plus.learn) which can be used on public repos with a [free account](command:gitlens.plus.loginOrSignUp) and private repos with a [paid account](command:gitlens.plus.purchase).\n\n🛈 All other GitLens features can always be used on any repo, without an account.", + "contents": "✨ Worktrees are a [GitLens+ feature](command:gitlens.plus.learn) which can be used on public repos with a [free account](command:gitlens.plus.loginOrSignUp) and private repos with a [paid account](command:gitlens.plus.purchase).\n\n🛈 All other GitLens features can always be used on any repo, without an account.\n◴ GitLens+ [introductory pricing](command:gitlens.plus.purchase) will end with the next release (late Sept, early Oct).", "when": "gitlens:plus:state > -1" } ], diff --git a/src/webviews/apps/home/home.html b/src/webviews/apps/home/home.html index 819c660..8071697 100644 --- a/src/webviews/apps/home/home.html +++ b/src/webviews/apps/home/home.html @@ -6,6 +6,13 @@
+
+ GitLens+ + introductory pricing will end with the next release + (late Sept, early Oct). + +
diff --git a/src/webviews/apps/home/home.scss b/src/webviews/apps/home/home.scss index 2c08b11..4fb8308 100644 --- a/src/webviews/apps/home/home.scss +++ b/src/webviews/apps/home/home.scss @@ -30,6 +30,13 @@ body { grid-template-rows: repeat(var(--slots), min-content); } +.notice { + font-size: 1.1rem; + border-bottom: 1px solid var(--divider-background); + padding-bottom: 1rem; + text-align: center; +} + section { display: flex; flex-direction: column;