mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-08-06 17:03:28 +02:00
refactor: update project highlighting to use 'new' flag instead of 'highlighted'
This commit is contained in:
@@ -36,10 +36,10 @@ function FeaturedTile({ project, onOpenRepoUrl }: { project: FeaturedProject; on
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="truncate font-semibold text-white group-hover:text-cyan-100">{project.title}</span>
|
||||
{project.highlighted ? (
|
||||
{project.new ? (
|
||||
<span className="inline-flex shrink-0 items-center gap-0.5 rounded-full bg-emerald-500/15 px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide text-emerald-300 ring-1 ring-emerald-500/30">
|
||||
<Check className="h-3 w-3" aria-hidden />
|
||||
pick
|
||||
new
|
||||
</span>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
+5
-5
@@ -2,25 +2,25 @@ projects:
|
||||
- title: LoBBS
|
||||
subtitle: 100% Meshtastic BBS. No sidecar, no Python, just mesh.
|
||||
url: https://github.com/MeshEnvy/lobbs-meshtastic-firmware
|
||||
highlighted: true
|
||||
new: true
|
||||
logo: https://avatars.githubusercontent.com/u/237130814?v=4&s=128
|
||||
- title: Lotato
|
||||
subtitle: 100% on-device Potato Mesh ingestor for MeshCore.
|
||||
url: https://github.com/MeshEnvy/MeshCore-lotato
|
||||
highlighted: false
|
||||
new: true
|
||||
logo: https://avatars.githubusercontent.com/u/237130814?v=4&s=128
|
||||
- title: Mesh64
|
||||
subtitle: A 64-hop Meshtastic prototype by Baymesh.
|
||||
url: https://github.com/RCGV1/firmware-Fork/tree/baymesh-refactor
|
||||
highlighted: true
|
||||
new: true
|
||||
logo: https://avatars.githubusercontent.com/u/119711889?v=4&s=128
|
||||
- title: MeshCore
|
||||
subtitle: Open mesh stack and device firmware for LoRa-class radios—companion nodes, repeaters, and app-friendly transports.
|
||||
url: https://github.com/meshcore-dev/MeshCore
|
||||
highlighted: false
|
||||
new: false
|
||||
logo: https://avatars.githubusercontent.com/u/210668307?v=4&s=128
|
||||
- title: Meshtastic
|
||||
subtitle: Official open-source device firmware—encrypted text, position, and telemetry over a decentralized LoRa mesh.
|
||||
url: https://github.com/meshtastic/firmware
|
||||
highlighted: false
|
||||
new: false
|
||||
logo: https://avatars.githubusercontent.com/u/61627050?v=4&s=128
|
||||
|
||||
@@ -13,7 +13,7 @@ type Row = {
|
||||
url: string
|
||||
logo?: string
|
||||
subtitle?: string
|
||||
highlighted?: boolean
|
||||
new?: boolean
|
||||
}
|
||||
|
||||
const text = readFileSync(yamlPath, "utf8")
|
||||
|
||||
@@ -2,7 +2,7 @@ export type FeaturedProject = {
|
||||
title: string
|
||||
subtitle?: string
|
||||
url: string
|
||||
highlighted?: boolean
|
||||
new?: boolean
|
||||
logo: string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user