Selaa lähdekoodia

Updates home banners

main
Keith Daulton 11 kuukautta sitten
vanhempi
commit
0cbc118f6d
3 muutettua tiedostoa jossa 23 lisäystä ja 6 poistoa
  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 Näytä tiedosto

@ -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 Näytä tiedosto

@ -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 Näytä tiedosto

Before After
Leveys: 84  |  Korkeus: 33  |  Koko: 5.6 KiB Leveys: 168  |  Korkeus: 66  |  Koko: 16 KiB

Ladataan…
Peruuta
Tallenna