content: replace scaffolding with bilingual pages and case studies
Ship the final German and English copy, compose every route from shared page primitives, and cover claims, parity and contact briefing in tests. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,10 +1,23 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { Skills } from '../../components/pages/skills/skills';
|
||||
import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';
|
||||
import { SkillsGrid } from '../../components/pages/skills/skills-grid/skills-grid';
|
||||
import { ContentService } from '../../core/content/content.service';
|
||||
import { ContentSection } from '../../shared/content-section/content-section';
|
||||
import { PageHero } from '../../shared/page-hero/page-hero';
|
||||
|
||||
@Component({
|
||||
selector: 'app-stack-page',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
imports: [Skills],
|
||||
imports: [PageHero, ContentSection, SkillsGrid],
|
||||
templateUrl: './stack.html',
|
||||
styleUrl: '../../shared/page-shell.scss',
|
||||
})
|
||||
export class StackPage {}
|
||||
export class StackPage {
|
||||
protected readonly page = inject(ContentService).stack();
|
||||
protected readonly categoryTitles = computed(() => {
|
||||
const titles: Record<string, string> = {};
|
||||
for (const group of this.page().groups) {
|
||||
titles[group.id] = group.title;
|
||||
}
|
||||
return titles;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user