Give each service its own page
A service now has its address, like a project: icon, tagline, what the collective does and how, the projects it was delivered on, what the people it was for said, and the technologies behind it. The landing's service cards link to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -147,6 +147,19 @@ for (const call of data['/public/v1/calls']) {
|
||||
};
|
||||
}
|
||||
|
||||
for (const service of data['/public/v1/services']) {
|
||||
service.path = `/servicios/${service.slug}`;
|
||||
data[`/public/v1/services/${service.slug}`] = {
|
||||
...service,
|
||||
description: 'Empezamos escuchando: qué hace hoy la organización y qué le sobra.\nDespués construimos lo mínimo que resuelve el problema, y lo dejamos documentado para que lo pueda mantener otra persona.',
|
||||
meta_description: service.tagline,
|
||||
projects: data['/public/v1/projects'].slice(0, 2).map((p) => ({ ...p, path: `/proyectos/${p.slug}` })),
|
||||
technologies: technologies.slice(0, 4),
|
||||
testimonials: data['/public/v1/testimonials'].slice(0, 2),
|
||||
alternates: { es: service.path, en: `/en/services/${service.slug}`, ca: `/ca/serveis/${service.slug}` },
|
||||
};
|
||||
}
|
||||
|
||||
for (const listed of data['/public/v1/members']) {
|
||||
data[`/public/v1/members/${listed.slug}`] = {
|
||||
...listed,
|
||||
|
||||
Reference in New Issue
Block a user