diff --git a/app/components/home/ChapterRow.vue b/app/components/home/ChapterRow.vue new file mode 100644 index 0000000..ed09914 --- /dev/null +++ b/app/components/home/ChapterRow.vue @@ -0,0 +1,44 @@ + + + diff --git a/app/components/home/ContactBar.vue b/app/components/home/ContactBar.vue new file mode 100644 index 0000000..34f03ee --- /dev/null +++ b/app/components/home/ContactBar.vue @@ -0,0 +1,23 @@ + diff --git a/app/components/home/ContactItem.vue b/app/components/home/ContactItem.vue new file mode 100644 index 0000000..b861a66 --- /dev/null +++ b/app/components/home/ContactItem.vue @@ -0,0 +1,54 @@ + + + diff --git a/app/components/home/FeatureCard.vue b/app/components/home/FeatureCard.vue new file mode 100644 index 0000000..8f80059 --- /dev/null +++ b/app/components/home/FeatureCard.vue @@ -0,0 +1,18 @@ + + + diff --git a/app/components/home/FeatureCards.vue b/app/components/home/FeatureCards.vue new file mode 100644 index 0000000..4e95455 --- /dev/null +++ b/app/components/home/FeatureCards.vue @@ -0,0 +1,34 @@ + + + diff --git a/app/components/home/HeroSection.vue b/app/components/home/HeroSection.vue new file mode 100644 index 0000000..cedde0e --- /dev/null +++ b/app/components/home/HeroSection.vue @@ -0,0 +1,42 @@ + diff --git a/app/components/home/TerminalPanel.vue b/app/components/home/TerminalPanel.vue new file mode 100644 index 0000000..dc554a0 --- /dev/null +++ b/app/components/home/TerminalPanel.vue @@ -0,0 +1,62 @@ + + + diff --git a/app/data/chapters.ts b/app/data/chapters.ts new file mode 100644 index 0000000..75d9920 --- /dev/null +++ b/app/data/chapters.ts @@ -0,0 +1,23 @@ +export interface ChapterOutcome { + label: string + value: string +} + +export interface Chapter { + name: string + status: 'active' | 'finished' + uptime: string + /** Active chapters: how often the workload recovered on its own. */ + rebounds?: number + /** Finished chapters: what closed the chapter and when. */ + outcome?: ChapterOutcome +} + +// Mockup data. Replaced by GET /api/chapters once the gateway exists. +export const chapters: Chapter[] = [ + { name: 'prezero', status: 'active', uptime: '99.98%', rebounds: 14 }, + { name: 'dreambit', status: 'active', uptime: '99.95%', rebounds: 8 }, + { name: 'ongoing-studies', status: 'active', uptime: '99.91%', rebounds: 5 }, + { name: '42-school', status: 'finished', uptime: '100.0%', outcome: { label: 'graduated', value: '2023' } }, + { name: 'apprenticeship', status: 'finished', uptime: '100.0%', outcome: { label: 'certified', value: '2021' } }, +] diff --git a/app/pages/index.vue b/app/pages/index.vue index 04d85e1..11825e3 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -1,3 +1,23 @@ + +