Tests connexion

This commit is contained in:
2024-08-01 17:55:50 +02:00
parent edf23bdbaa
commit fb58a24170
15 changed files with 222 additions and 135 deletions

View File

@@ -2,6 +2,7 @@
interface Props
{
toc: Toc;
comments?: Comment[];
}
const props = defineProps<Props>();
</script>
@@ -9,14 +10,11 @@ const props = defineProps<Props>();
<template>
<div class="site-body-right-column">
<div class="site-body-right-column-inner">
<div v-if="comments !== undefined">
{{ comments.length }} commentaire{{ comments.length === 1 ? '' : 's' }}
</div>
<div v-if="!!toc" class="outline-view-outer node-insert-event">
<div class="list-item published-section-header">
<span class="published-section-header-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svg-icon lucide-list">
<line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line>
<line x1="3" y1="18" x2="3.01" y2="18"></line>
</svg>
</span>
<span>Sur cette page</span>
</div>
<div class="outline-view">