Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

fix: resolve home header imports through shared gallery layer

HoshinoSuzumiBotcd3759f5ac91
diff --git a/packages/gallery/app/components/masonry/Root.vue b/packages/gallery/app/components/masonry/Root.vue
index b86a6c27..66cc2418 100644
--- a/packages/gallery/app/components/masonry/Root.vue
+++ b/packages/gallery/app/components/masonry/Root.vue
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { motion } from 'motion-v'
-import { FIXED_HEADER_HEIGHT_PX } from '~/utils'
+import { FIXED_HEADER_HEIGHT_PX } from '#gallery/utils'
interface Props {
photos: Photo[]
columns?: number | 'auto'
diff --git a/packages/gallery/app/components/masonry/item/HeaderFixed.vue b/packages/gallery/app/components/masonry/item/HeaderFixed.vue
index 8ae5feef..46c113a1 100644
--- a/packages/gallery/app/components/masonry/item/HeaderFixed.vue
+++ b/packages/gallery/app/components/masonry/item/HeaderFixed.vue
@@ -1,5 +1,5 @@
<script lang="ts" setup>
-import { FIXED_HEADER_HEIGHT_PX } from '~/utils'
+import { FIXED_HEADER_HEIGHT_PX } from '#gallery/utils'
defineProps<{
stats?: {