Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 11, 2024
1 parent 4e39a69 commit 228924c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions taxonium_website/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,15 @@ function App() {
)}
{window.screen.width >= 600 && (
<>
{
pathConfig && pathConfig.maintainerMessage && pathConfig.icon && (
<img src={pathConfig.icon} className="w-6 h-6 rounded border-gray-400 border inline-block" title={pathConfig.maintainerMessage} />
)

}
{pathConfig &&
pathConfig.maintainerMessage &&
pathConfig.icon && (
<img
src={pathConfig.icon}
className="w-6 h-6 rounded border-gray-400 border inline-block"
title={pathConfig.maintainerMessage}
/>
)}
<span
className={`font-medium ${
title.length > 12 ? "text-lg leading-tight" : ""
Expand Down Expand Up @@ -292,19 +295,16 @@ function App() {
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
{showCase.map((item, i) => (
<div key={i} className="border border-gray-300 rounded p-3">
<img src={item.icon} className="w-6 h-6 rounded border-gray-500 mb-2 inline-block mr-2"

title={
item.maintainerMessage
}

/>
<img
src={item.icon}
className="w-6 h-6 rounded border-gray-500 mb-2 inline-block mr-2"
title={item.maintainerMessage}
/>
<a
href={item.url}
className="text-gray-800 hover:underline"
target="_top"
>

{item.title}
</a>
<p className="text-gray-600 text-sm">{item.desc}</p>
Expand Down

0 comments on commit 228924c

Please sign in to comment.