Skip to content

Commit 791d5b6

Browse files
committed
fix: wip
1 parent 7a21893 commit 791d5b6

File tree

3 files changed

+22
-24
lines changed

3 files changed

+22
-24
lines changed

docs-v3/components/website/WebsiteNavbar.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,39 +30,39 @@
3030
<div class="hidden lg:flex lg:items-center lg:space-x-8">
3131
<NuxtLink
3232
to="/docs"
33-
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors"
33+
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors cursor-pointer"
3434
:class="{ 'text-red-600 dark:text-red-400': $route.path.startsWith('/docs') }"
3535
>
3636
Documentation
3737
</NuxtLink>
3838

3939
<NuxtLink
4040
to="/templates"
41-
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors"
41+
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors cursor-pointer"
4242
:class="{ 'text-red-600 dark:text-red-400': $route.path.startsWith('/templates') }"
4343
>
4444
Templates
4545
</NuxtLink>
4646

4747
<NuxtLink
4848
to="/case-studies"
49-
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors"
49+
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors cursor-pointer"
5050
:class="{ 'text-red-600 dark:text-red-400': $route.path.startsWith('/case-studies') }"
5151
>
5252
Case Studies
5353
</NuxtLink>
5454

5555
<NuxtLink
5656
to="/community"
57-
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors"
57+
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors cursor-pointer"
5858
:class="{ 'text-red-600 dark:text-red-400': $route.path.startsWith('/community') }"
5959
>
6060
Community
6161
</NuxtLink>
6262

6363
<NuxtLink
6464
to="/playground"
65-
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors"
65+
class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors cursor-pointer"
6666
:class="{ 'text-red-600 dark:text-red-400': $route.path.startsWith('/playground') }"
6767
>
6868
Playground
@@ -104,7 +104,7 @@
104104
<NuxtLink
105105
to="/docs"
106106
@click="toggleMobileMenu"
107-
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors"
107+
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors cursor-pointer"
108108
:class="{ 'text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20': $route.path.startsWith('/docs') }"
109109
>
110110
Documentation
@@ -113,7 +113,7 @@
113113
<NuxtLink
114114
to="/templates"
115115
@click="toggleMobileMenu"
116-
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors"
116+
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors cursor-pointer"
117117
:class="{ 'text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20': $route.path.startsWith('/templates') }"
118118
>
119119
Templates
@@ -122,7 +122,7 @@
122122
<NuxtLink
123123
to="/case-studies"
124124
@click="toggleMobileMenu"
125-
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors"
125+
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors cursor-pointer"
126126
:class="{ 'text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20': $route.path.startsWith('/case-studies') }"
127127
>
128128
Case Studies
@@ -131,7 +131,7 @@
131131
<NuxtLink
132132
to="/community"
133133
@click="toggleMobileMenu"
134-
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors"
134+
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors cursor-pointer"
135135
:class="{ 'text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20': $route.path.startsWith('/community') }"
136136
>
137137
Community
@@ -140,7 +140,7 @@
140140
<NuxtLink
141141
to="/playground"
142142
@click="toggleMobileMenu"
143-
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors"
143+
class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors cursor-pointer"
144144
:class="{ 'text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20': $route.path.startsWith('/playground') }"
145145
>
146146
Playground

docs-v3/nuxt.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ export default defineNuxtConfig({
4747
{
4848
src: '//code.tidio.co/pgx3d8jlrufene0cnyv274lgege4u5c1.js',
4949
async: true
50+
},
51+
{
52+
src: 'https://www.googletagmanager.com/gtag/js?id=G-R8WWHZK13N',
53+
async: true
54+
},
55+
{
56+
innerHTML: `
57+
window.dataLayer = window.dataLayer || [];
58+
function gtag(){dataLayer.push(arguments);}
59+
gtag('js', new Date());
60+
gtag('config', 'G-R8WWHZK13N');
61+
`
5062
}
5163
]
5264
}

docs-v3/pages/templates/index.vue

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -505,20 +505,6 @@ useHead({
505505
name: 'description',
506506
content: 'Jump-start your API development with ready-to-use Laravel Restify templates. CRUD, authentication, MCP integration, and more.'
507507
}
508-
],
509-
script: [
510-
{
511-
async: true,
512-
src: 'https://www.googletagmanager.com/gtag/js?id=G-R8WWHZK13N'
513-
},
514-
{
515-
innerHTML: `
516-
window.dataLayer = window.dataLayer || [];
517-
function gtag(){dataLayer.push(arguments);}
518-
gtag('js', new Date());
519-
gtag('config', 'G-R8WWHZK13N');
520-
`
521-
}
522508
]
523509
})
524510
</script>

0 commit comments

Comments
 (0)