From 6c8938801f22d70cd6a91b2165b7362a2057340b Mon Sep 17 00:00:00 2001 From: Casey Hill Date: Tue, 26 Jul 2022 17:17:24 -0500 Subject: [PATCH] updating for baseUrl --- index.html | 1 - src/_partials/BaseHeader.vue | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index aeb5674..c9f5047 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,6 @@ -
diff --git a/src/_partials/BaseHeader.vue b/src/_partials/BaseHeader.vue index afdd213..514c505 100644 --- a/src/_partials/BaseHeader.vue +++ b/src/_partials/BaseHeader.vue @@ -4,7 +4,7 @@ AG_ABBR="USDA" AG_FULL="United States Department of Agriculture" AG_URL="//www.usda.gov" - AG_LOGO="/img/usda-logo--white.svg" + :AG_LOGO="baseUrl + 'img/usda-logo--white.svg'" SUB_AG_ABBR="FPAC" SUB_AG_FULL="Farm Production and Conservation" SUB_AG_URL="//fsa.usda.gov" @@ -52,6 +52,8 @@ export default { const navigationData = computed(() => store.getters["navigation/getNavigation"]); + const baseUrl = ref(import.meta.env.BASE_URL); + const submitSearch = ( obj ) => { emit('emitSearch',obj) console.log('NAV SEARCH BASEHEADER', obj) @@ -62,6 +64,7 @@ export default { }); return { + baseUrl, navigationData, submitSearch }