Implemented missing component, moved markdown style to main css
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
2025-05-05 22:07:51 +02:00
parent 4e5f0e5e5b
commit 75156d4e5e
5 changed files with 340 additions and 314 deletions
@@ -260,27 +260,6 @@
</Head>
<div ref="pageRef" class="min-h-screen w-full bg-black">
<template v-if="revision.page.main"> <!-- Show Main menu if the current page is the front page (main page) -->
<MainMenu v-if="showMainMenu" :active="showMainMenu" :pageSettings="page.props.pageSettings" :menuLinks="menuLinks" />
</template>
<template v-else> <!-- Show the external main menu, if the current page is NOT the front page (main page) -->
<ExternalMainMenu v-if="showMainMenu" :active="showMainMenu" :pageSettings="page.props.pageSettings" class="z-40" />
</template>
<SmallHeader />
<!-- Hovedmeny knapp -->
<div class="fixed top-0 right-0 p-4 z-50">
<button ref="menuButton" @click="clickMenuButton" @mouseover="handleMenuButtonOver" @mouseout="handleMenuButtonOut" class="p-2 text-white rounded-full shadow-md shadow-black" :class="{'bg-sky-600': showMainMenu, 'bg-green-700': !showMainMenu }">
<svg v-if="showMainMenu" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
</svg>
<svg v-else xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" />
</svg>
</button>
</div>
<!-- Komponentrendring -->
<component
v-for="block in revision.content"