Skip to content

Commit

Permalink
[BUG] fixup website, broken download link, and buttons
Browse files Browse the repository at this point in the history
:)
  • Loading branch information
dni committed Sep 20, 2023
1 parent a32e66e commit f9738ee
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ render(
<h2>{ext.id}</h2>
<span class="version">{ext.version}</span>
<p>{ext.short_description}</p>
<a target="_blank" href={ext.repo}>
<a class="btn" target="_blank" href={ext.repo}>
github
</a>
<br />
<a target="_blank" href={ext.archine}>
<a class="btn" target="_blank" href={ext.archive}>
download
</a>
</div>
Expand Down
17 changes: 16 additions & 1 deletion src/index.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
$pink: #ff1ee6;
$bg: #1f2234;

html,
body {
background: #1f2234;
background: $bg;
color: white;
text-align: center;
font-family: sans-serif;
Expand Down Expand Up @@ -49,3 +50,17 @@ a {
display: block;
}
}
.btn {
color: white;
display: inline-block;
text-decoration: none;
border-radius: 5px;
padding: 3px 8px;
background: $bg;
&:hover {
background: $pink;
text-decoration: none;
}
margin-left: 6px;
margin-bottom: 8px;
}

0 comments on commit f9738ee

Please sign in to comment.