feat: CI badges per project card, reorder Poimen after Homelab
Build & Push Portfolio Image / build-push (push) Successful in 3m31s

This commit is contained in:
Story Crater Bot
2026-09-03 08:18:58 -07:00
parent b3631211af
commit 7f0c12d029
4 changed files with 210 additions and 87 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from 'next/server'
const FORGEJO_URL = 'https://forgejo.riotpiao.com'
const DEFAULT_REPO = 'rock/riotpiao.com'
const ALLOWED_REPOS = ['rock/riotpiao.com', 'rock/homelab', 'rock/homelab-frontend', 'rock/poimen', 'rock/poimen-memory', 'rock/poimen-workflows']
const ALLOWED_REPOS = ['rock/riotpiao.com', 'rock/homelab', 'rock/homelab-frontend', 'rock/poimen', 'rock/poimen-memory', 'rock/poimen-workflows', 'rock/kmsvc-manage']
export async function GET(request: NextRequest) {
const repo = request.nextUrl.searchParams.get('repo') || DEFAULT_REPO
+17 -18
View File
@@ -13,31 +13,30 @@ export default function Home() {
const [bioModalOpen, setBioModalOpen] = useState(false)
const { t } = useLanguage()
// Order: 0=Homelab, 1=Poimen Memory, 2=Poimen Workflow, 3=RBC, 4=AWS
const projects = t.projects.items.map((item, index) => ({
...item,
id: index === 0
? 'project-homelab'
: index === 1
? 'project-rbc'
: index === 2
? 'project-aws'
: index === 3
? 'project-poimen-memory'
: index === 4
? 'project-poimen-workflow'
: undefined,
status: index === 1
? 'completed' as const
: index >= 3
? 'building' as const
id: ['project-homelab', 'project-poimen-memory', 'project-poimen-workflow', 'project-rbc', 'project-aws'][index],
status: index === 3
? 'completed' as const
: index <= 2
? 'building' as const
: 'live' as const,
media: index === 1
media: index === 3
? { type: 'image' as const, url: '/rbc-images.jpeg' }
: index === 2
: index === 4
? { type: 'video' as const, url: 'https://www.youtube.com/watch?v=wdJ5DN15jus' }
: undefined,
videoUrl: '#',
articleUrl: index === 2 ? 'https://lnkd.in/p/gm2PZkWw' : '#',
articleUrl: index === 4 ? 'https://lnkd.in/p/gm2PZkWw' : '#',
ciRepos: index === 0 ? [
{ label: 'portfolio', repo: 'rock/riotpiao.com', forgejoBase: 'https://forgejo.riotpiao.com/rock/riotpiao.com' },
{ label: 'kmsvc', repo: 'rock/kmsvc-manage', forgejoBase: 'https://forgejo.riotpiao.com/rock/kmsvc-manage' },
] : index === 1 ? [
{ label: 'poimen-mem', repo: 'rock/poimen-memory', forgejoBase: 'https://forgejo.riotpiao.com/rock/poimen-memory' },
] : index === 2 ? [
{ label: 'poimen-wf', repo: 'rock/poimen-workflows', forgejoBase: 'https://forgejo.riotpiao.com/rock/poimen-workflows' },
] : undefined,
}))
return (