Skip to content

Commit

Permalink
removed hard coded top bar for version
Browse files Browse the repository at this point in the history
  • Loading branch information
zoey-kaiser committed Feb 13, 2024
1 parent 28e15aa commit 5f486bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions components/docs/ModulesBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,5 @@ const selectedVersionName = props.currentPageId.split(":")[2]
<div v-if="currentPageId.includes(':v')" class="flex justify-center bg-orange-200 dark:bg-orange-700 py-2 text-xs font-bold">
You are viewing the docs for {{ selectedVersionName }}. This is not the latest version.
</div>
<div v-else class="flex justify-center bg-700-200 dark:bg-green-700 py-2 text-xs font-bold">
<p>
You are viewing the docs for the newest version. You can view the docs for 0.5
<NuxtLink to="/nuxt-auth/v0.5/getting-started" class="underline">
here
</NuxtLink>
</p>
</div>
</div>
</template>
6 changes: 0 additions & 6 deletions layouts/module.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
import { ref } from 'vue'
import ModulesBar from "~/components/docs/ModulesBar.vue";
const { page } = useContent()
const versionDropdown = ref<boolean>(false)
const toggleVersionDropdown = () => {
console.log(!versionDropdown.value)
versionDropdown.value === true
}
</script>

<template>
Expand Down

0 comments on commit 5f486bf

Please sign in to comment.