Ver a proveniência

Updates home banners

main
Keith Daulton há 1 ano
ascendente
cometimento
0cbc118f6d
3 ficheiros alterados com 23 adições e 6 eliminações
  1. +8
    -5
      src/webviews/apps/home/home.html
  2. +15
    -1
      src/webviews/apps/home/home.scss
  3. BIN
      src/webviews/apps/media/cyberweek-2023-small-dark.png

+ 8
- 5
src/webviews/apps/home/home.html Ver ficheiro

@ -22,6 +22,14 @@
data-vscode-context='{ "webview": "#{webviewId}", "webviewInstance": "#{webviewInstanceId}" }'
>
<div class="home__nav">
<div class="promo-banner promo-banner--eyebrow" id="promo-pro50" hidden>
<a
class="promo-banner__link"
href="command:gitlens.plus.purchase"
title="Special: 50% off first seat of Pro — only $4/month!"
>Special: 50% off first seat of Pro — only $4/month!</a
>
</div>
<nav class="inline-nav" id="links" aria-label="Help and Resources">
<div class="inline-nav__group">
<a
@ -141,11 +149,6 @@
50% off first seat of Pro — only $4/month!
</a>
</div>
<div class="promo-banner" id="promo-pro50" hidden>
<a class="promo-banner__link" href="command:gitlens.plus.purchase"
>Special: 50% off first seat of Pro — only $4/month!</a
>
</div>
<nav class="nav-list">
<h2 class="nav-list__title t-eyebrow">Popular views</h2>
<a

+ 15
- 1
src/webviews/apps/home/home.scss Ver ficheiro

@ -147,6 +147,11 @@ ul {
text-align: center;
margin-bottom: 1rem;
&--eyebrow {
color: var(--color-foreground--50);
margin-bottom: 0.2rem;
}
&__link {
display: inline-block;
font-size: 1.1rem;
@ -161,9 +166,18 @@ ul {
}
}
&--eyebrow &__link {
display: block;
white-space: nowrap;
font-weight: normal;
max-width: 100%;
text-overflow: ellipsis;
overflow: hidden;
}
&__media {
// width: 100%;
max-width: 100%;
max-width: 8.6rem;
height: auto;
&.is-light {

BIN
src/webviews/apps/media/cyberweek-2023-small-dark.png Ver ficheiro

Antes Depois
Largura: 84  |  Altura: 33  |  Tamanho: 5.6 KiB Largura: 168  |  Altura: 66  |  Tamanho: 16 KiB

Carregando…
Cancelar
Guardar