Skip to content

Commit

Permalink
feat: add section link to frontpage bridge card
Browse files Browse the repository at this point in the history
  • Loading branch information
dvikan committed Jan 4, 2025
1 parent 1d02214 commit 29e15a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/BridgeCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ class="bridge-card"
data-short-name="$shortName"
>
<a style="position: absolute; top: 10px; left: 10px" href="#bridge-{$bridgeClassName}">
<h1>#</h1>
<a>
<h2><a href="{$uri}">{$name}</a></h2>
<p class="description">{$description}</p>
Expand Down
1 change: 1 addition & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ section li {
margin-left: 1em;
}
.bridge-card {
position: relative;
text-align: center;
}

Expand Down

0 comments on commit 29e15a1

Please sign in to comment.