Bläddra i källkod

Adds GitLens+ notices

main
Eric Amodio 2 år sedan
förälder
incheckning
5135e5582b
3 ändrade filer med 15 tillägg och 1 borttagningar
  1. +1
    -1
      package.json
  2. +7
    -0
      src/webviews/apps/home/home.html
  3. +7
    -0
      src/webviews/apps/home/home.scss

+ 1
- 1
package.json Visa fil

@ -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"
}
],

+ 7
- 0
src/webviews/apps/home/home.html Visa fil

@ -6,6 +6,13 @@
<body class="preload">
<div id="container" class="container">
<div class="notice">
<span
><span class="glicon glicon-clock"></span> GitLens+
<a href="command:gitlens.plus.purchase">introductory pricing</a> will end with the next release
(late Sept, early Oct).
</span>
</div>
<div class="content">
<section id="slot1"></section>
<section id="slot2"></section>

+ 7
- 0
src/webviews/apps/home/home.scss Visa fil

@ -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;

Laddar…
Avbryt
Spara