-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
57 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
import badge from "../content/badges/eva-town.png"; | ||
--- | ||
|
||
<div class="banner"> | ||
<div class="badge"> | ||
<img src={badge.src} width={88} alt="Eva Town badge" /> | ||
</div> | ||
<div class="text"> | ||
Download my badge to link to this site, or check out the <a | ||
href="/webrings#badges">badge collection</a | ||
>. Let me know if you have a badge you want me to link to. | ||
</div> | ||
</div> | ||
|
||
<style lang="scss"> | ||
.banner { | ||
display: flex; | ||
justify-content: center; | ||
align-items: stretch; | ||
margin-inline: auto; | ||
border: 1px solid var(--gray-6); | ||
border-radius: var(--radius-s); | ||
margin-block-start: var(--space-xl); | ||
font-size: var(--step--1); | ||
color: var(--gray-11); | ||
line-height: var(--line-height-snug); | ||
overflow: hidden; | ||
|
||
.badge { | ||
flex-shrink: 0; | ||
background: var(--gray-3); | ||
padding: var(--space-s) var(--space-m); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.text { | ||
padding: var(--space-s) var(--space-m); | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters