diff --git a/resources/js/app.js b/resources/js/app.js index 9a47b12..6abcfb4 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -15,6 +15,7 @@ import MobileFilterDialog from './components/search/MobileFilterDialog.vue'; import SearchMap from './components/search/Map.vue'; import ArtworkCarousel from './components/ArtworkCarousel.vue'; import FilterSearch from './components/search/FilterSearch.vue'; +import BackButton from './components/BackButton.vue'; const app = createApp({}); app.component('headless.popover-group', PopoverGroup); @@ -31,5 +32,6 @@ app.component('search.disclosure-filter', DisclosureFilter); app.component('search.filter-search', FilterSearch); app.component('search.artworks-query-observer', ArtworksQueryObserver); app.component('artwork-carousel', ArtworkCarousel); +app.component('back-button', BackButton); app.mount('#app'); diff --git a/resources/js/components/BackButton.vue b/resources/js/components/BackButton.vue new file mode 100644 index 0000000..adcf791 --- /dev/null +++ b/resources/js/components/BackButton.vue @@ -0,0 +1,19 @@ + + + diff --git a/resources/views/artworks/show.blade.php b/resources/views/artworks/show.blade.php index cf0a789..2ade644 100644 --- a/resources/views/artworks/show.blade.php +++ b/resources/views/artworks/show.blade.php @@ -10,13 +10,13 @@ @section('content')
- - +