Skip to content

Commit

Permalink
feat: add footer links and fal logo
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethnym committed Aug 26, 2024
1 parent 498fa97 commit ba62f3b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
1 change: 1 addition & 0 deletions web/images/fal-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/images/fal-logo-light.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: 9 additions & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ <h2>infinite lo-fi music in the background</h2>
</div>

<footer>
<span>made by kennethnym &lt;3 ·&nbsp;</span>
made by&nbsp<a href="https://kennethnym.com">kennethnym</a>&nbsp;&lt;3 · powered by
<a class="fal-link" href="https://fal.ai">
<picture>
<source srcset="./images/fal-logo-light.svg" media="(prefers-color-scheme: light)" />
<source srcset="./images/fal-logo-dark.svg" media="(prefers-color-scheme: dark)" />
<img class="fal-logo" fill="none" src="./images/fal-logo-dark.svg">
</picture>
</a>
·
<a target="_blank" rel="noopener noreferrer" href="https://github.com/kennethnym/infinifi">github</a>
</footer>

Expand Down
19 changes: 13 additions & 6 deletions web/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,19 @@ main {

footer {
padding: 1rem 0;
display: flex;
align-items: center;
justify-content: center;
color: var(--text);
text-align: center;
text-wrap: nowrap;
overflow: auto;
}
@media (min-width: 768px) {
footer {
padding: 2rem 0;
}
}

footer > span {
color: var(--text);
opacity: 0.5;
}

a {
color: var(--link-accent);
}
Expand Down Expand Up @@ -378,3 +376,12 @@ aside#notification > #notification-title {
opacity: 0;
}
}

.fal-logo {
vertical-align: bottom;
height: 1rem;
}

.fal-link {
text-decoration: none;
}

0 comments on commit ba62f3b

Please sign in to comment.