@explorer-1/vue 0.2.66 → 0.2.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "0.2.66",
3
+ "version": "0.2.67",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -36,7 +36,7 @@
36
36
  <div class="ml-2 pl-3 xl:ml-3 xl:pl-5 border-l border-white border-opacity-30 z-20">
37
37
  <BaseLink
38
38
  class="text-white font-bold text-2xl xl:text-3xl"
39
- to="/edu/"
39
+ to="/edubeta/"
40
40
  link-class="py-2"
41
41
  variant="none"
42
42
  >
@@ -33,7 +33,7 @@ const image = computed(() => {
33
33
  })
34
34
 
35
35
  const submitSearch = () => {
36
- router.push({ path: '/edu/resources/', query: { query: searchQuery.value } })
36
+ router.push({ path: '/edubeta/resources/', query: { query: searchQuery.value } })
37
37
  }
38
38
  </script>
39
39
  <template>
@@ -101,7 +101,7 @@ const submitSearch = () => {
101
101
  >
102
102
  <BaseLink
103
103
  variant="none"
104
- :to="`/edu/resources?query=${topic.page?.title}`"
104
+ :to="`/edubeta/resources?query=${topic.page?.title}`"
105
105
  link-class="text-gray-dark whitespace-nowrap text-sm bg-[#99D1DF] font-extrabold rounded-full inline-block px-3 py-1 text-contrast-none hover:bg-action hover:text-white"
106
106
  >
107
107
  {{ topic.page?.title }}
@@ -157,9 +157,9 @@ export const mixinIsActivePath = (itemPath: string): Boolean => {
157
157
  if (currentPath && path && ancestorPath) {
158
158
  if (currentPath === path) {
159
159
  return true
160
- } else if (currentPath.startsWith('/edu/events')) {
160
+ } else if (currentPath.startsWith('/edubeta/events')) {
161
161
  // special treatment since EDU combines News & Events in the main nav
162
- return path.startsWith('/edu/news')
162
+ return path.startsWith('/edubeta/news')
163
163
  } else {
164
164
  return currentPath.startsWith(ancestorPath)
165
165
  }