Skip to content

Commit 084eff8

Browse files
authored
Merge pull request #51 from slusy/feat/add-github-icon
feat: add github icon
2 parents e7c47b3 + 5b8efa5 commit 084eff8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
margin: 0;
1616
}
1717

18+
.header .nav {
19+
width: 100%;
20+
display: flex;
21+
align-items: center;
22+
justify-content: space-between;
23+
}
24+
1825
.container {
1926
display: flex;
2027
height: 100%;
@@ -72,7 +79,7 @@
7279
<body>
7380
<main class="app">
7481
<header class="header">
75-
<div>
82+
<div class="nav">
7683
<ul>
7784
<li><button class="button button--primary" id="run"><x-icon icon="play" size="16" color="#fff"></x-icon>
7885
Run</button></li>
@@ -91,6 +98,7 @@
9198
</div>
9299
</li>
93100
</ul>
101+
<a href="https://github.com/kcl-lang/kcl-playground" target="_blank"><x-icon icon="github" size="28" color="#000"></x-icon></a>
94102
</div>
95103
</header>
96104

0 commit comments

Comments
 (0)