Skip to content

Commit 5175559

Browse files
committed
Moves getting started fully to top of Home
1 parent f1fc0cd commit 5175559

File tree

2 files changed

+19
-45
lines changed

2 files changed

+19
-45
lines changed

src/webviews/apps/home/home.html

Lines changed: 18 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -171,20 +171,27 @@ <h1 class="alert__title">Get Started with GitLens</h1>
171171
<div class="alert__description">
172172
<p>Explore all of the powerful features in GitLens</p>
173173
<p class="button-container">
174+
<gl-button
175+
style="margin-bottom: 0.4rem"
176+
appearance="secondary"
177+
full
178+
href="command:gitlens.showWelcomePage"
179+
aria-label="Open Welcome"
180+
>Start Here (Welcome)</gl-button
181+
>
174182
<span class="button-group button-group--single">
175183
<gl-button appearance="secondary" full href="command:gitlens.getStarted?%22home%22"
176-
><code-icon icon="info" slot="prefix"></code-icon> Open Walkthrough</gl-button
184+
>Walkthrough</gl-button
185+
>
186+
<gl-button
187+
appearance="secondary"
188+
full
189+
href="https://www.youtube.com/watch?v=UQPb73Zz9qk?utm_source=gitlens-extension&utm_medium=home_banner"
190+
aria-label="Watch the GitLens Tutorial video"
191+
tooltip="Watch the GitLens Tutorial video"
192+
><code-icon icon="vm-running" style="margin-right: 0.6rem"></code-icon
193+
>Tutorial</gl-button
177194
>
178-
<gl-tooltip hoist>
179-
<gl-button
180-
appearance="secondary"
181-
density="compact"
182-
href="https://www.youtube.com/watch?v=UQPb73Zz9qk?utm_source=gitlens-extension&utm_medium=home_banner"
183-
aria-label="Watch the GitLens Tutorial video"
184-
><code-icon icon="vm-running"></code-icon
185-
></gl-button>
186-
<span slot="content">Watch the GitLens Tutorial video</span>
187-
</gl-tooltip>
188195
</span>
189196
</p>
190197
</div>
@@ -458,39 +465,6 @@ <h3 class="nav-list__title t-eyebrow sticky">Commands</h3>
458465
</a>
459466
</div>
460467
</nav>
461-
<nav class="nav-list">
462-
<h2 class="nav-list__title t-eyebrow sticky">Getting Started</h2>
463-
<div class="nav-list__item">
464-
<a class="nav-list__link" href="command:gitlens.showWelcomePage" aria-label="Open GitLens Welcome"
465-
><code-icon class="nav-list__icon" icon="play"></code-icon
466-
><gl-tooltip hoist class="nav-list__label" content="Open GitLens Welcome"
467-
><span>Welcome</span></gl-tooltip
468-
>
469-
</a>
470-
</div>
471-
<div class="nav-list__item">
472-
<a
473-
class="nav-list__link"
474-
href="command:gitlens.getStarted?%22home%22"
475-
aria-label="Open GitLens Feature Walkthrough"
476-
><code-icon class="nav-list__icon" icon="info"></code-icon
477-
><gl-tooltip hoist class="nav-list__label" content="Open GitLens Feature Walkthrough"
478-
><span>Feature Walkthrough</span></gl-tooltip
479-
>
480-
</a>
481-
</div>
482-
<div class="nav-list__item">
483-
<a
484-
class="nav-list__link"
485-
href="https://www.youtube.com/watch?v=UQPb73Zz9qk?utm_source=gitlens-extension&utm_medium=home_link"
486-
aria-label="Watch the GitLens Tutorial video"
487-
><code-icon class="nav-list__icon" icon="vm-running"></code-icon
488-
><gl-tooltip hoist class="nav-list__label" content="Watch the GitLens Tutorial video"
489-
><span>Tutorial Video</span></gl-tooltip
490-
>
491-
</a>
492-
</div>
493-
</nav>
494468
<nav class="nav-list">
495469
<h2 class="nav-list__title t-eyebrow sticky">Companion Tools</h2>
496470
<div class="nav-list__item">

src/webviews/apps/home/home.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ gl-button.is-basic {
530530

531531
.button-group {
532532
display: inline-flex;
533-
gap: 0.1rem;
533+
gap: 0.4rem;
534534

535535
&--single {
536536
width: 100%;

0 commit comments

Comments
 (0)