Skip to content

Commit eac18df

Browse files
committed
Added links to the marketplace and repo in the demo page
1 parent d3fc775 commit eac18df

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@
9191
"engines": {
9292
"vscode": "^1.86.0"
9393
}
94-
}
94+
}

src/frontend/src/lib/Demo.svelte

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
<main>
1010
<header>
1111
<h1>Function Graph Overview</h1>
12+
<div class="links">
13+
<a href="https://github.com/tmr232/function-graph-overview/">Repo</a>
14+
<a
15+
href="https://marketplace.visualstudio.com/items?itemName=tamir-bahar.function-graph-overview"
16+
>Install</a
17+
>
18+
</div>
1219
</header>
1320
<div>
1421
<div class="editor">
@@ -42,10 +49,31 @@
4249
text-align: center;
4350
filter: drop-shadow(0 0 0.3rem gray);
4451
background-color: white;
52+
position: relative;
4553
}
4654
.graph,
4755
.editor {
4856
background-color: white;
4957
filter: drop-shadow(0 0 0.3rem gray);
5058
}
59+
60+
.links a {
61+
color: black;
62+
padding: 0.5rem;
63+
}
64+
65+
.links a:hover {
66+
background-color: lightskyblue;
67+
padding: 0.5rem;
68+
}
69+
.links {
70+
display: flex;
71+
justify-content: center;
72+
align-items: center;
73+
gap: 2rem;
74+
position: absolute;
75+
right: 3rem;
76+
top: 0;
77+
height: 100%;
78+
}
5179
</style>

0 commit comments

Comments
 (0)