feat: CI badges per project card, reorder Poimen after Homelab
Build & Push Portfolio Image / build-push (push) Successful in 3m31s
Build & Push Portfolio Image / build-push (push) Successful in 3m31s
This commit is contained in:
+17
-18
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user