Skip to content

Commit 6272113

Browse files
committed
fix link
1 parent 87f4b3a commit 6272113

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

packages/editor/src/app/main/components/Navigation.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
color: #2b4869;
2525
position: relative;
2626
padding: 0 1em;
27+
padding-top: 3px;
2728
font-weight: 500;
2829
font-size: 0.95em;
2930
}

packages/editor/src/app/main/components/Navigation.tsx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,17 @@ export const Navigation = observer(() => {
3333
label="site"
3434
renderProductHome={ProductHome}
3535
primaryItems={[
36-
<Link className={styles.link} to={toDocs()}>
37-
Documentation
38-
</Link>,
36+
<>
37+
<Link className={styles.link} to={toDocs()}>
38+
Documentation
39+
</Link>
40+
<a
41+
href="https://www.github.com/yousefed/typecell"
42+
className={styles.link}
43+
target="_blank">
44+
GitHub
45+
</a>
46+
</>,
3947
// <PrimaryButton onClick={navigationStore.navigateToDocs}>
4048
// Documentation
4149
// </PrimaryButton>,
@@ -47,6 +55,11 @@ export const Navigation = observer(() => {
4755
)}
4856
</>
4957
))}
58+
// renderHelp={() => (
59+
// <Link className={styles.link} to={toDocs()}>
60+
// Documentation
61+
// </Link>
62+
// )}
5063
renderSignIn={observer(() => (
5164
<>
5265
{!sessionStore.isLoggedIn && (

0 commit comments

Comments
 (0)