Skip to content

Commit

Permalink
Merge pull request #28 from Agoric/rs-add-source-code-icon
Browse files Browse the repository at this point in the history
feat: add source code link in topbar
  • Loading branch information
rabi-siddique authored Jan 6, 2025
2 parents d9f181d + 8465ad2 commit e859b54
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
21 changes: 21 additions & 0 deletions public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,24 @@ select {
padding-bottom: 8px;
}
}

#githubIcon {
width: 24px;
height: 24px;
}

a {
text-decoration: none;
}
a:hover {
opacity: 0.8;
}

.githubLink {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 10px;
font-size: 12px;
}
1 change: 1 addition & 0 deletions public/images/github-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,18 @@
</div>
</form>

<div class="links">
<div class="githubLink">
<img id="githubIcon" src="images/github-mark.svg" alt="GitHub Icon">
<a href="https://github.com/Agoric/causeway" target="_blank">
View Source
</a>
</div>
</div>

</div>


<div class="mainBody">
<img id="svgDisplay" src="" alt="Causeway SVG">
</div>
Expand Down

0 comments on commit e859b54

Please sign in to comment.