mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-02-21 03:25:51 -08:00
Merge pull request #1485 from meshtastic/remove-title-garbage
Remove "Meshtastic Firmware" from Title. Consumers know what this is and it takes up a lot of real estate
This commit is contained in:
commit
16683a4ca8
|
@ -16,7 +16,9 @@ export const FirmwareCard = ({
|
|||
<div className="card__header flex justify-between">
|
||||
<h3>{variant}</h3>
|
||||
{release?.length && (
|
||||
<a href={release[0].page_url}>{release[0].title}</a>
|
||||
<a href={release[0].page_url}>
|
||||
{release[0].title.replace("Meshtastic Firmware ", "")}
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
<div className="card__body">
|
||||
|
@ -29,7 +31,9 @@ export const FirmwareCard = ({
|
|||
{release.slice(1, 6).map((release) => {
|
||||
return (
|
||||
<div key={release.id}>
|
||||
<a href={release.page_url}>{release.title}</a>
|
||||
<a href={release.page_url}>
|
||||
{release.title.replace("Meshtastic Firmware ", "")}
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
|
Loading…
Reference in a new issue