Skip to content

Commit

Permalink
fix router on sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
1cadumagalhaes committed Sep 6, 2023
1 parent 69e0037 commit 93c366c
Show file tree
Hide file tree
Showing 26 changed files with 56 additions and 56 deletions.
6 changes: 3 additions & 3 deletions components/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
class="p-2.5 mt-3 flex items-center rounded-md px-4 duration-300 cursor-pointer hover:bg-blue-600 text-white"
v-for="item in menu_items"
>
<a :href="item.path">
<Icon :name="item.icon" />
<router-link :to="item.path"
><Icon :name="item.icon" />
<span class="text-[15px] ml-4 text-gray-200 font-bold">
{{ item.title }}
</span>
</a>
</router-link>
</div>
</div>
<!--bottom-->
Expand Down
8 changes: 4 additions & 4 deletions docs/200.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<style>.icon[data-v-9c34c54e]{display:inline-block;vertical-align:middle}</style>
<style>table a{color:#3182ce;text-decoration:underline}</style>
<link rel="stylesheet" href="/ga4_explorer/_nuxt/entry.451e310c.css">
<link rel="modulepreload" as="script" crossorigin href="/ga4_explorer/_nuxt/entry.3bd48f92.js">
<link rel="prefetch" as="script" crossorigin href="/ga4_explorer/_nuxt/error-404.b396a4ba.js">
<link rel="prefetch" as="script" crossorigin href="/ga4_explorer/_nuxt/error-500.61e49dad.js">
<script type="module" src="/ga4_explorer/_nuxt/entry.3bd48f92.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
<link rel="modulepreload" as="script" crossorigin href="/ga4_explorer/_nuxt/entry.87ff458d.js">
<link rel="prefetch" as="script" crossorigin href="/ga4_explorer/_nuxt/error-404.e13a015f.js">
<link rel="prefetch" as="script" crossorigin href="/ga4_explorer/_nuxt/error-500.fdf3c260.js">
<script type="module" src="/ga4_explorer/_nuxt/entry.87ff458d.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
</script></head>
<body ><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script>
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/ga4_explorer/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
Expand Down
8 changes: 4 additions & 4 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<style>.icon[data-v-9c34c54e]{display:inline-block;vertical-align:middle}</style>
<style>table a{color:#3182ce;text-decoration:underline}</style>
<link rel="stylesheet" href="/ga4_explorer/_nuxt/entry.451e310c.css">
<link rel="modulepreload" as="script" crossorigin href="/ga4_explorer/_nuxt/entry.3bd48f92.js">
<link rel="prefetch" as="script" crossorigin href="/ga4_explorer/_nuxt/error-404.b396a4ba.js">
<link rel="prefetch" as="script" crossorigin href="/ga4_explorer/_nuxt/error-500.61e49dad.js">
<script type="module" src="/ga4_explorer/_nuxt/entry.3bd48f92.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
<link rel="modulepreload" as="script" crossorigin href="/ga4_explorer/_nuxt/entry.87ff458d.js">
<link rel="prefetch" as="script" crossorigin href="/ga4_explorer/_nuxt/error-404.e13a015f.js">
<link rel="prefetch" as="script" crossorigin href="/ga4_explorer/_nuxt/error-500.fdf3c260.js">
<script type="module" src="/ga4_explorer/_nuxt/entry.87ff458d.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,m=["dark","light"],c=window.localStorage.getItem("nuxt-color-mode")||"system";let n=c==="system"?f():c;const l=e.getAttribute("data-color-mode-forced");l&&(n=l),i(n),a["__NUXT_COLOR_MODE__"]={preference:c,value:n,getColorScheme:f,addColorScheme:i,removeColorScheme:d};function i(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function d(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function r(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&r("").media!=="not all"){for(const o of m)if(r(":"+o).matches)return o}return"light"}})();
</script></head>
<body ><div id="__nuxt"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4},{},false,{},{}]</script>
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/ga4_explorer/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 93c366c

Please sign in to comment.