add active state to children text links

This commit is contained in:
axolotle
2021-03-10 18:37:52 +01:00
parent 206e297576
commit 60f713caa1
2 changed files with 9 additions and 3 deletions
+5 -1
View File
@@ -5,7 +5,11 @@
<!-- FOREGROUND (texts) -->
<section v-for="parent in parents" :key="parent.id" class="split-screen">
<text-card :id="parent.id" @open="openText" @close="closeText" />
<text-card
:id="parent.id"
:children="parent.children"
@open="openText" @close="closeText"
/>
<div>
<text-card
v-for="id in parent.children" :key="id"