Changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<PageSkeleton v-if="loading" />
|
<PageSkeleton v-if="loading" />
|
||||||
<div v-else>
|
<div class="space-y-6" v-else>
|
||||||
<component
|
<component
|
||||||
v-for="(block, index) in blocks"
|
v-for="(block, index) in blocks"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<img @click="toggler = !toggler" loading="lazy" class="mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition" :src="'/storage/' + block.data.url" alt="">
|
<img @click="toggler = !toggler" loading="lazy" class="mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition" :src="'/storage/' + block.data.url" alt="">
|
||||||
|
<div v-if="block.data.alt" class="mt-3 text-sm text-center text-gray-500 dark:text-neutral-500">
|
||||||
|
{{ block.data.alt }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<FsLightbox class="" :toggler="toggler" :sources="[domainPath + '/storage/' + block.data.url]"/>
|
<FsLightbox class="" :toggler="toggler" :sources="[domainPath + '/storage/' + block.data.url]"/>
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<img @click="toggler = !toggler" loading="lazy" class="mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition" :src="'/storage/' + block.data.url" alt="">
|
<img @click="toggler = !toggler" loading="lazy" class="mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition" :src="'/storage/' + block.data.url" alt="">
|
||||||
|
<div v-if="block.data.alt" class="mt-3 text-sm text-center text-gray-500 dark:text-neutral-500">
|
||||||
|
{{ block.data.alt }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<FsLightbox class="" :toggler="toggler" :sources="[domainPath + '/storage/' + block.data.url]"/>
|
<FsLightbox class="" :toggler="toggler" :sources="[domainPath + '/storage/' + block.data.url]"/>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<PageSkeleton v-if="loading" />
|
<PageSkeleton v-if="loading" />
|
||||||
<div v-else>
|
<div class="space-y-6" v-else>
|
||||||
<component
|
<component
|
||||||
v-for="(block, index) in blocks"
|
v-for="(block, index) in blocks"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<div class="space-y-5 md:space-y-5">
|
<div class="space-y-5 md:space-y-5">
|
||||||
<PageBreadcrumbs :breadcrumbs="breadcrumbs" :page-title="page.data.title"/>
|
<PageBreadcrumbs :breadcrumbs="breadcrumbs" :page-title="page.data.title"/>
|
||||||
<PageTitle :header="page.data.title"/>
|
<PageTitle :header="page.data.title"/>
|
||||||
<div id="page-area" class="space-y-4">
|
<div id="page-area">
|
||||||
<PageBuilder :blocks="page.data.content"/>
|
<PageBuilder :blocks="page.data.content"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user