+
+
+
+
+
+
-
-
-
-
-
-
-
-
- Documentation
-
-
-
{{ doc.title }}
-
-
-
- {{ doc.title }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Previous
-
{{ surround[0].title }}
-
-
-
-
-
-
-
-
Next
-
{{ surround[1].title }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ Page Not Found
+
+
+ The page you're looking for doesn't exist.
+
+
+ Go back home
+
+
@@ -89,21 +39,23 @@
\ No newline at end of file
+
+// Set page meta for SEO
+if (post.value) {
+ useHead({
+ title: post.value.title || 'Laravel Restify',
+ meta: [
+ { name: 'description', content: post.value.description || 'Laravel Restify' }
+ ]
+ })
+}
+
+
diff --git a/docs-v3/pages/docs/[...slug].vue b/docs-v3/pages/docs/[...slug].vue
index b58a3c14d..5ebdc475e 100644
--- a/docs-v3/pages/docs/[...slug].vue
+++ b/docs-v3/pages/docs/[...slug].vue
@@ -1,10 +1,60 @@
-
+
+
+
+
+
+ Documentation Page Not Found
+
+
+ The documentation page you're looking for doesn't exist.
+
+
+ Back to Documentation
+
+
+
\ No newline at end of file
diff --git a/docs-v3/tailwind.config.js b/docs-v3/tailwind.config.js
index 43a8174f3..1fb4740ed 100644
--- a/docs-v3/tailwind.config.js
+++ b/docs-v3/tailwind.config.js
@@ -1,6 +1,5 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
- darkMode: 'class',
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
@@ -25,101 +24,12 @@ module.exports = {
800: '#1e40af',
900: '#1e3a8a',
950: '#172554'
- },
- gray: {
- 50: '#f9fafb',
- 100: '#f3f4f6',
- 200: '#e5e7eb',
- 300: '#d1d5db',
- 400: '#9ca3af',
- 500: '#6b7280',
- 600: '#4b5563',
- 700: '#374151',
- 800: '#1f2937',
- 900: '#111827',
- 950: '#0f0f23'
}
},
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
mono: ['JetBrains Mono', 'Monaco', 'Consolas', 'monospace']
- },
- typography: (theme) => ({
- DEFAULT: {
- css: {
- maxWidth: 'none',
- color: theme('colors.gray.700'),
- a: {
- color: theme('colors.primary.500'),
- textDecoration: 'none',
- fontWeight: '500',
- '&:hover': {
- color: theme('colors.primary.600'),
- textDecoration: 'underline'
- }
- },
- 'h1, h2, h3, h4': {
- color: theme('colors.gray.900'),
- fontWeight: '600'
- },
- code: {
- color: theme('colors.blue.900'),
- backgroundColor: theme('colors.blue.200'),
- padding: '0.375rem 0.5rem',
- borderRadius: '0.375rem',
- fontSize: '0.875em',
- fontWeight: '500'
- },
- 'code::before': {
- content: '""'
- },
- 'code::after': {
- content: '""'
- },
- pre: {
- backgroundColor: theme('colors.gray.900'),
- color: theme('colors.gray.100')
- },
- 'pre code': {
- backgroundColor: 'transparent',
- color: 'inherit',
- padding: '0',
- borderRadius: '0'
- }
- }
- },
- dark: {
- css: {
- color: theme('colors.gray.300'),
- a: {
- color: theme('colors.primary.400'),
- '&:hover': {
- color: theme('colors.primary.300')
- }
- },
- 'h1, h2, h3, h4': {
- color: theme('colors.gray.100')
- },
- code: {
- color: theme('colors.blue.300'),
- backgroundColor: theme('colors.gray.700')
- },
- pre: {
- backgroundColor: theme('colors.gray.800')
- },
- blockquote: {
- borderLeftColor: theme('colors.gray.600'),
- color: theme('colors.gray.300')
- },
- hr: {
- borderColor: theme('colors.gray.700')
- },
- strong: {
- color: theme('colors.gray.200')
- }
- }
- }
- })
+ }
}
},
plugins: [