mirror of
https://github.com/ivabus/www
synced 2024-11-26 04:25: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/manage.kmail-lists.com/subscriptions/subscribe",
|
||||||
"file:///home/runner/work/www/www/public/www.klaviyo.com/media/js/public/klaviyo_subscribe.js",
|
"file:///home/runner/work/www/www/public/www.klaviyo.com/media/js/public/klaviyo_subscribe.js",
|
||||||
"https://openssl.org/",
|
"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)),
|
...new Set(bottles.filter((b) => b.name === name).map((b) => b.version)),
|
||||||
];
|
];
|
||||||
return (
|
return (
|
||||||
<div onClick={() => toggleExpanded(!expanded)}>
|
<div className="expand" onClick={() => toggleExpanded(!expanded)}>
|
||||||
|
<div className="expand-text">
|
||||||
<h3>{name}</h3>
|
<h3>{name}</h3>
|
||||||
<h4>
|
<h4>
|
||||||
{versions.length} version{versions.length === 1 ? "" : "s"} bottled
|
{versions.length} version{versions.length === 1 ? "" : "s"} bottled
|
||||||
</h4>
|
</h4>
|
||||||
|
</div>
|
||||||
{expanded && (
|
{expanded && (
|
||||||
<table className="one-box-down">
|
<table className="one-box-down">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
|
@ -24,6 +24,10 @@
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.expand{
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue