blob: d464a07c66afc99c9868665e141efacb1abf5c43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<template>
<div>
<strong>Directory: {{directory.path}}</strong>
<div class="flex">
<div v-for="(item) in directory.properties.items" :key="item.path">
<router-link :to="item.path">
<gallery-thumbnail :item="item" />
</router-link>
</div>
</div>
</div>
</template>
<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";
import GalleryThumbnail from "./GalleryThumbnail.vue";
@Component({
components: { GalleryThumbnail },
})
export default class GalleryDirectory extends Vue {
@Prop({ required: true }) readonly directory!: Gallery.Directory;
}
</script>
<style lang="scss">
</style>
|