feat: compose the portfolio journey layer

This commit is contained in:
2026-09-02 16:21:13 +03:00
parent 7e48aad6a8
commit 8c17af22a0
26 changed files with 962 additions and 368 deletions

View File

@@ -1,15 +1,17 @@
<script setup lang="ts">
import type { SectionId, SectionLayout } from '@/content/types';
defineProps<{
id: string;
index: number;
eyebrow: string;
id: SectionId;
layout: Exclude<SectionLayout, 'hero'>;
eyebrow?: string;
heading: string;
}>();
</script>
<template>
<section :id="id" class="portfolio-section" :aria-labelledby="`${id}-heading`" :data-section-index="index">
<p class="route-label">{{ String(index).padStart(2, '0') }} / {{ eyebrow }}</p>
<section :id="id" class="portfolio-section" :aria-labelledby="`${id}-heading`" :data-layout="layout">
<p v-if="eyebrow" class="section-eyebrow">{{ eyebrow }}</p>
<h2 :id="`${id}-heading`" tabindex="-1">{{ heading }}</h2>
<slot />
</section>