Skip to content

Commit

Permalink
added logo to editor
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy committed Aug 26, 2022
1 parent b47287e commit 50107e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
8 changes: 4 additions & 4 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -414,12 +414,12 @@ body {
animation-iteration-count: infinite;
}

.sprig-logo-container {
display: none;
}
.sprig-logo-container { }

.sprig-logo {
width: 6rem;
margin-top: 3px;
margin-right: 5px;
height: 2rem;
z-index: 9999;
cursor: pointer;
}
Expand Down
11 changes: 3 additions & 8 deletions view.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ afterInput(() => {

const menu = (state) => html`
<div class="menu">
<a class="sprig-logo-container" href="https://sprig.hackclub.com/">
<img src="./spriglogotext-white.png" alt="sprig logo" class="sprig-logo" />
</a>
<div class="menu-item dropdown-container">
${state.stale ? 'file*' : 'file'}
<div class="dropdown-list">
Expand Down Expand Up @@ -244,14 +247,6 @@ const menu = (state) => html`
<div class="menu-item docs-trigger">
${docsOpenClosed()} help
</div>
<a class="menu-item" href="https://sprig.hackclub.com/">
<ion-icon name="home" />
</a>
<a class="menu-item sprig-logo-container" href="https://sprig.hackclub.com/">
<img src="./spriglogotext-white.png" alt="sprig logo" class="sprig-logo" />
</a>
</div>
`

Expand Down

0 comments on commit 50107e0

Please sign in to comment.