From 462d913ffa5d518fc139c7215e5e06f3039ff235 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Sat, 18 Apr 2026 07:42:07 -0700 Subject: [PATCH] refactor: update project highlighting to use 'new' flag instead of 'highlighted' --- components/FeaturedProjects.tsx | 4 ++-- projects.yaml | 10 +++++----- scripts/sync-featured-logos.ts | 2 +- src/types/featured.ts | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/FeaturedProjects.tsx b/components/FeaturedProjects.tsx index 7f75758..f808606 100644 --- a/components/FeaturedProjects.tsx +++ b/components/FeaturedProjects.tsx @@ -36,10 +36,10 @@ function FeaturedTile({ project, onOpenRepoUrl }: { project: FeaturedProject; on
{project.title} - {project.highlighted ? ( + {project.new ? ( - pick + new ) : null}
diff --git a/projects.yaml b/projects.yaml index 23bb4b7..8d7e4c0 100644 --- a/projects.yaml +++ b/projects.yaml @@ -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 diff --git a/scripts/sync-featured-logos.ts b/scripts/sync-featured-logos.ts index 6dbc8b3..552fd1b 100644 --- a/scripts/sync-featured-logos.ts +++ b/scripts/sync-featured-logos.ts @@ -13,7 +13,7 @@ type Row = { url: string logo?: string subtitle?: string - highlighted?: boolean + new?: boolean } const text = readFileSync(yamlPath, "utf8") diff --git a/src/types/featured.ts b/src/types/featured.ts index 3efbaa9..b93a69e 100644 --- a/src/types/featured.ts +++ b/src/types/featured.ts @@ -2,7 +2,7 @@ export type FeaturedProject = { title: string subtitle?: string url: string - highlighted?: boolean + new?: boolean logo: string }