diff --git a/src/components/Layout/LayoutFooter.vue b/src/components/Layout/LayoutFooter.vue index 16e5b8b..3fd1ce3 100644 --- a/src/components/Layout/LayoutFooter.vue +++ b/src/components/Layout/LayoutFooter.vue @@ -5,6 +5,7 @@
{{ project_authors }} + {{ project_citation }}. Retrieved on {{ currentDate }} @@ -37,7 +38,9 @@
- diff --git a/src/store/index.js b/src/store/index.js new file mode 100644 index 0000000..bc1ae98 --- /dev/null +++ b/src/store/index.js @@ -0,0 +1 @@ +export * from './useFooterStore' diff --git a/src/store/useFooterStore.js b/src/store/useFooterStore.js new file mode 100644 index 0000000..32beee3 --- /dev/null +++ b/src/store/useFooterStore.js @@ -0,0 +1,14 @@ +import { defineStore } from 'pinia' + +export const useFooterStore = defineStore('footerStore', { + state: () => { + return { + nextAuthor: '' + } + }, + actions: { + setNextAuthorText(value) { + this.nextAuthor = value + } + } +})