mirror of
https://github.com/ivabus/www
synced 2024-11-25 19:05:07 +03:00
Pointer on hover, link exemption
This commit is contained in:
parent
5542cbc063
commit
8817e3592d
3 changed files with 13 additions and 6 deletions
|
@ -22,5 +22,6 @@ exclude = [
|
|||
"file:///home/runner/work/www/www/public/manage.kmail-lists.com/subscriptions/subscribe",
|
||||
"file:///home/runner/work/www/www/public/www.klaviyo.com/media/js/public/klaviyo_subscribe.js",
|
||||
"https://openssl.org/",
|
||||
"https://twitter.com/teaxyz_"
|
||||
"https://twitter.com/teaxyz_",
|
||||
"https://app.tea.xyz/api/signups",
|
||||
]
|
||||
|
|
|
@ -26,11 +26,13 @@ function Bottles() {
|
|||
...new Set(bottles.filter((b) => b.name === name).map((b) => b.version)),
|
||||
];
|
||||
return (
|
||||
<div onClick={() => toggleExpanded(!expanded)}>
|
||||
<div className="expand" onClick={() => toggleExpanded(!expanded)}>
|
||||
<div className="expand-text">
|
||||
<h3>{name}</h3>
|
||||
<h4>
|
||||
{versions.length} version{versions.length === 1 ? "" : "s"} bottled
|
||||
</h4>
|
||||
</div>
|
||||
{expanded && (
|
||||
<table className="one-box-down">
|
||||
<thead>
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
padding: 20px;
|
||||
}
|
||||
|
||||
.expand{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue