aceade / cdz-vue-site

A practice project to teach myself Vue, based on a scifi series I'm working on
MIT License
0 stars 0 forks source link

Refactor slideshows into component #28

Closed aceade closed 2 years ago

aceade commented 2 years ago

I seem to have a lot of duplicated code/layouts for the slideshows. I really should refactor these into a new component.

aceade commented 2 years ago

So, it appears that I need to export the required parameters (options, slides, etc) from the component that calls it (e.g. Artwork.vue or Evictor.vue).

aceade commented 2 years ago

Image slideshows have been refactored successfully. However, the PDF slideshows don't use images. I'll add a new component for that.

aceade commented 2 years ago

Seems to work on Firefox, Vivaldi and Samsung browser, so this can be closed and merged.