Skip to content

Commit 13a11af

Browse files
committed
Add a documentation link and update the bottom section of the Intro view
1 parent c1b894c commit 13a11af

3 files changed

Lines changed: 22 additions & 9 deletions

File tree

packages/ui/src/styles/global.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ button {
2222
font-family: inherit;
2323
}
2424

25+
a {
26+
text-decoration: none;
27+
}
28+
2529
a:focus {
2630
outline: none;
2731
}

packages/vscode/src/view/frontend/intro/Intro/Intro.module.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
align-items: center;
66
height: 100vh;
77
width: 100%;
8-
padding: var(--padding-24px) var(--padding-24px) var(--padding-12px)
9-
var(--padding-24px);
8+
padding: var(--padding-20px);
109
}
1110

1211
.top {
@@ -36,10 +35,15 @@
3635
align-items: center;
3736
gap: var(--padding-6px);
3837
color: var(--vscode-textLink-foreground);
38+
text-decoration: none;
3939

4040
> span:first-child {
4141
font-size: 20px;
4242
}
43+
44+
> span:last-child:hover {
45+
text-decoration: underline;
46+
}
4347
}
4448
}
4549

@@ -49,11 +53,11 @@
4953
align-items: center;
5054
gap: var(--padding-8px);
5155

52-
&__website {
53-
color: var(--vscode-textLink-foreground);
54-
}
55-
5656
&__version {
5757
color: var(--vscode-descriptionForeground);
5858
}
59+
60+
&__author > a:hover {
61+
text-decoration: underline;
62+
}
5963
}

packages/vscode/src/view/frontend/intro/Intro/Intro.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,17 @@ export const Intro: React.FC<Props> = (props) => {
2020
<span className="codicon codicon-arrow-right" />
2121
<span>Continue</span>
2222
</button>
23+
<a className={styles.top__button} href="https://codeweb.chat/">
24+
<span className="codicon codicon-link-external" />
25+
<span>Documentation</span>
26+
</a>
2327
</div>
2428
<div className={styles.bottom}>
2529
<div className={styles.bottom__version}>{props.version}</div>
26-
<a className={styles.bottom__website} href="https://codeweb.chat/">
27-
https://codeweb.chat
28-
</a>
30+
<div className={styles.bottom__author}>
31+
© {new Date().getFullYear()}{' '}
32+
<a href="https://x.com/robertpiosik">Robert Piosik</a>
33+
</div>
2934
</div>
3035
</div>
3136
)

0 commit comments

Comments
 (0)