From f6da6705db9b1938cedcb6cf821a6a33673dedbe Mon Sep 17 00:00:00 2001 From: Adrian Mejias Date: Sun, 1 Mar 2026 17:47:48 -0600 Subject: [PATCH] Refactor documentation layout and styling - Removed the old layout file `layout.blade.php` and created a new layout structure in `layouts/app.blade.php`. - Introduced partial views for navigation and footer in `layouts/partials/navigation.blade.php` and `layouts/partials/footer.blade.php`. - Updated the `quickstart.blade.php` to extend the new layout and utilize the new partials. - Enhanced the styling with dark mode support and improved color themes in `vite.config.js`. --- resources/css/app.css | 67 +- resources/js/app.js | 49 +- resources/views/docs/documentation.blade.php | 442 ++++++----- resources/views/docs/index.blade.php | 410 +++++----- resources/views/docs/layout.blade.php | 50 -- resources/views/docs/quickstart.blade.php | 736 +++++++++--------- resources/views/layouts/app.blade.php | 26 + .../views/layouts/partials/footer.blade.php | 12 + .../layouts/partials/navigation.blade.php | 25 + vite.config.js | 17 +- 10 files changed, 947 insertions(+), 887 deletions(-) delete mode 100644 resources/views/docs/layout.blade.php create mode 100644 resources/views/layouts/app.blade.php create mode 100644 resources/views/layouts/partials/footer.blade.php create mode 100644 resources/views/layouts/partials/navigation.blade.php diff --git a/resources/css/app.css b/resources/css/app.css index 1fe3aea..3375c14 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -8,64 +8,17 @@ @theme { --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; -} -.tab-button { - transition: all 0.2s ease-in-out; -} + --animate-fade-in: fade-in 0.3s ease-in-out; -.tab-content { - animation: fadeIn 0.3s ease-in-out; -} - -@keyframes fadeIn { - from { - opacity: 0; - transform: translateY(10px); - } - to { - opacity: 1; - transform: translateY(0); + @keyframes fade-in { + from { + opacity: 0; + transform: translateY(10px); + } + to { + opacity: 1; + transform: translateY(0); + } } } - -.code-block-wrapper { - position: relative; -} - -.copy-button { - position: absolute; - top: 0.5rem; - right: 0.5rem; - padding: 0.375rem 0.75rem; - background-color: rgba(55, 65, 81, 0.8); - color: white; - border: 1px solid rgba(255, 255, 255, 0.2); - border-radius: 0.375rem; - font-size: 0.75rem; - font-weight: 500; - cursor: pointer; - opacity: 0; - transition: all 0.2s ease-in-out; - display: flex; - align-items: center; - gap: 0.25rem; -} - -.code-block-wrapper:hover .copy-button { - opacity: 1; -} - -.copy-button:hover { - background-color: rgba(55, 65, 81, 1); -} - -.copy-button.copied { - background-color: rgba(16, 185, 129, 0.9); - border-color: rgba(16, 185, 129, 1); -} - -.copy-button svg { - width: 1rem; - height: 1rem; -} diff --git a/resources/js/app.js b/resources/js/app.js index 1c58a0c..0f55b1d 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -4,16 +4,16 @@ document.addEventListener('DOMContentLoaded', () => { const codeBlocks = document.querySelectorAll('pre'); codeBlocks.forEach((pre) => { - if (!pre.parentElement.classList.contains('code-block-wrapper')) { + if (!pre.parentElement.classList.contains('relative')) { const wrapper = document.createElement('div'); - wrapper.className = 'code-block-wrapper'; + wrapper.className = 'relative group'; pre.parentNode.insertBefore(wrapper, pre); wrapper.appendChild(pre); } const wrapper = pre.parentElement; const copyButton = document.createElement('button'); - copyButton.className = 'copy-button'; + copyButton.className = 'absolute top-2 right-2 px-3 py-1.5 bg-gray-700/80 text-white border border-white/20 rounded-md text-xs font-medium cursor-pointer opacity-0 group-hover:opacity-100 transition-all duration-200 ease-in-out flex items-center gap-1 hover:bg-gray-700'; copyButton.innerHTML = ` Copy`; copyButton.addEventListener('click', () => { @@ -21,12 +21,14 @@ document.addEventListener('DOMContentLoaded', () => { const text = code ? code.textContent : pre.textContent; navigator.clipboard.writeText(text).then(() => { - copyButton.classList.add('copied'); - copyButton.innerHTML = ` Copied!`; + copyButton.classList.remove('bg-gray-700/80', 'border-white/20', 'hover:bg-gray-700'); + copyButton.classList.add('!bg-emerald-500/90', 'border-emerald-500'); + copyButton.innerHTML = ` Copied!`; setTimeout(() => { - copyButton.classList.remove('copied'); - copyButton.innerHTML = `Copy`; + copyButton.classList.add('bg-gray-700/80', 'border-white/20', 'hover:bg-gray-700'); + copyButton.classList.remove('!bg-emerald-500/90', 'border-emerald-500'); + copyButton.innerHTML = `Copy`; }, 2000); }).catch((err) => { console.error('Failed to copy:', err); @@ -35,4 +37,37 @@ document.addEventListener('DOMContentLoaded', () => { wrapper.appendChild(copyButton); }); + + // Tab switching functionality + const tabButtons = document.querySelectorAll('[data-tab]'); + const tabContents = document.querySelectorAll('[data-tab-content]'); + + tabButtons.forEach(button => { + button.addEventListener('click', function () { + const targetTab = this.dataset.tab; + + // Remove active class from all buttons + tabButtons.forEach(btn => { + btn.classList.remove('active', 'border-indigo-500', 'text-indigo-600', 'dark:text-indigo-400'); + btn.classList.add('border-transparent', 'text-gray-500', 'dark:text-gray-400'); + }); + + // Add active class to clicked button + this.classList.remove('border-transparent', 'text-gray-500', 'dark:text-gray-400'); + this.classList.add('active', 'border-indigo-500', 'text-indigo-600', 'dark:text-indigo-400'); + + // Hide all tab contents + tabContents.forEach(content => { + content.classList.add('hidden'); + content.classList.remove('active'); + }); + + // Show target tab content + const targetContent = document.querySelector(`[data-tab-content="${targetTab}"]`); + if (targetContent) { + targetContent.classList.remove('hidden'); + targetContent.classList.add('active'); + } + }); + }); }); diff --git a/resources/views/docs/documentation.blade.php b/resources/views/docs/documentation.blade.php index 1fd954f..95ff321 100644 --- a/resources/views/docs/documentation.blade.php +++ b/resources/views/docs/documentation.blade.php @@ -1,41 +1,38 @@ -@extends('docs.layout') +@extends('layouts.app') @section('title', 'Full Documentation - FiveM MCP Server') @section('content')
-
-

FiveM Development MCP Server

+
+

FiveM Development MCP Server

-

+

A comprehensive Model Context Protocol (MCP) server for FiveM (GTA5) development, built with Laravel MCP. This server provides AI assistants with powerful tools to help you develop FiveM resources more efficiently.

-

Installation & Connection

-

Choose how you want to connect to the FiveM MCP server:

+

Installation & Connection

+

Choose how you want to connect to the FiveM MCP server:

-
+
-

Available Tools

-

+

Available Tools

+

The FiveM MCP Server provides {{ count($tools) }} tools organized by category. These tools allow AI assistants to search documentation, generate code, and lookup framework functions.

@@ -166,146 +187,174 @@ @foreach ($groupedTools as $category => $categoryTools)
-

+

{{ $category }} Tools - ({{ count($categoryTools) }}) + ({{ count($categoryTools) }})

@foreach ($categoryTools as $index => $tool)
-

{{ $tool['name'] }}

-

{{ $tool['description'] }}

+

{{ $tool['name'] }}

+

{{ $tool['description'] }}

@endforeach
@endforeach -
+ - -
-

Available Resources

-

- MCP Resources provide read-only reference documentation that AI assistants can access. - Currently available: {{ count($resources) }} resources. -

+ +
+

Available Resources

+

+ MCP Resources provide read-only reference documentation that AI assistants can access. + Currently available: {{ count($resources) }} resources. +

- @forelse ($resources as $index => $resource) -
-

{{ $index + 1 }}. {{ $resource['name'] }}

-

{{ $resource['description'] }}

-
- @empty -

No resources configured.

- @endforelse -
+ @forelse ($resources as $index => $resource) +
+

{{ $index + 1 }}. + {{ $resource['name'] }} +

+

{{ $resource['description'] }}

+
+ @empty +

No resources configured.

+ @endforelse +
- -
-

Available Prompts

-

- MCP Prompts are pre-built prompt templates for common tasks. - Currently available: {{ count($prompts) }} prompts. -

+ +
+

Available Prompts

+

+ MCP Prompts are pre-built prompt templates for common tasks. + Currently available: {{ count($prompts) }} prompts. +

- @forelse ($prompts as $index => $prompt) -
-

{{ $index + 1 }}. {{ $prompt['name'] }}

-

{{ $prompt['description'] }}

-
- @empty -

No prompts configured.

- @endforelse + @forelse ($prompts as $index => $prompt) +
+

{{ $index + 1 }}. + {{ $prompt['name'] }} +

+

{{ $prompt['description'] }}

+
+ @empty +

No prompts configured.

+ @endforelse
-

Testing the Server

-

You can test the MCP server locally using the inspector:

-
php artisan mcp:inspector fivem
-

This will open the MCP Inspector in your browser where you can test all the tools interactively.

+

Testing the Server

+

You can test the MCP server locally using the inspector: +

+
php artisan mcp:inspector fivem
+

This will open the MCP Inspector in your browser + where + you + can test all the tools interactively.

-

Development

+

Development

-

Adding New Tools

-

1. Create a new tool class in app/Mcp/Tools/:

+

Adding New Tools

+

1. Create a new tool class in app/Mcp/Tools/: +

<?php
 
-    namespace App\Mcp\Tools;
+                                            namespace App\Mcp\Tools;
 
-    use Illuminate\Contracts\JsonSchema\JsonSchema;
-    use Laravel\Mcp\Request;
-    use Laravel\Mcp\Response;
-    use Laravel\Mcp\Server\Attributes\Description;
-    use Laravel\Mcp\Server\Tool;
+                                            use Illuminate\Contracts\JsonSchema\JsonSchema;
+                                            use Laravel\Mcp\Request;
+                                            use Laravel\Mcp\Response;
+                                            use Laravel\Mcp\Server\Attributes\Description;
+                                            use Laravel\Mcp\Server\Tool;
 
-    #[Description('Your tool description')]
-    class YourTool extends Tool
-    {
-        public function handle(Request $request): Response
-        {
-            // Tool logic here
-            return Response::text('Result');
-        }
+                                            #[Description('Your tool description')]
+                                            class YourTool extends Tool
+                                            {
+                                                public function handle(Request $request): Response
+                                                {
+                                                    // Tool logic here
+                                                    return Response::text('Result');
+                                                }
 
-        public function schema(JsonSchema $schema): array
-        {
-            return [
-                'param' => $schema->string()->required(),
-            ];
-        }
-    }
+ public function schema(JsonSchema $schema): array + { + return [ + 'param' => $schema->string()->required(), + ]; + } + } -

2. Register the tool in app/Mcp/Servers/FiveMServer.php:

+

2. Register the tool in app/Mcp/Servers/FiveMServer.php: +

protected array $tools = [
-        // ... existing tools
-        \App\Mcp\Tools\YourTool::class,
-    ];
+ // ... existing tools + \App\Mcp\Tools\YourTool::class, + ]; -

Code Formatting

-

Format code with Laravel Pint:

+

Code Formatting

+

Format code with Laravel Pint:

vendor/bin/pint
-

Supported Frameworks

-
    +

    Supported Frameworks

    +
    • Standalone: Basic FiveM resources without framework dependencies
    • ESX: ESX Framework (es_extended)
    • QBCore: QBCore Framework (qb-core)
    -

    Scripting Languages

    -

    Both Lua and JavaScript are fully supported across all tools and generators.

    +

    Scripting Languages

    +

    Both Lua and JavaScript are fully supported across all tools and + generators.

-

Resources

-
-

Contributing

-

Contributions are welcome! Areas for expansion:

-
    +

    Contributing

    +

    Contributions are welcome! Areas for expansion:

    +
    • More native functions in the database
    • Additional framework support (vRP, etc.)
    • More event types
    • @@ -316,46 +365,9 @@
      -

      License

      -

      MIT License

      +

      License

      +

      MIT License

- - - @endsection diff --git a/resources/views/docs/index.blade.php b/resources/views/docs/index.blade.php index 21e9ffc..60fbcff 100644 --- a/resources/views/docs/index.blade.php +++ b/resources/views/docs/index.blade.php @@ -1,213 +1,237 @@ -@extends('docs.layout') +@extends('layouts.app') @section('title', 'FiveM MCP Server') @section('content') -
- -
-

- FiveM Development MCP Server -

-

- A comprehensive Model Context Protocol server for FiveM development with 5 tools, 3 resources, and 5 prompts. -

-
+
+ +
+

+ FiveM Development MCP Server +

+

+ A comprehensive Model Context Protocol server for FiveM development with 5 tools, 3 resources, and 5 prompts. +

+
- -
-

Features

-
- -
-
-
-
- - - -
-
-

Documentation Search

+ +
+

Features

+
+ +
+
+
+
+ + + +
+
+

Documentation Search

+
+
+
+

+ Search FiveM documentation by topic and category. Get direct links to relevant documentation. +

+
-
-

- Search FiveM documentation by topic and category. Get direct links to relevant documentation. + + +

+
+
+
+ + + +
+
+

Native Functions

+
+
+
+

+ Look up GTA5/FiveM native functions with signatures, parameters, and code examples. +

+
+
+
+ + +
+
+
+
+ + + + +
+
+

Manifest Generator

+
+
+
+

+ Generate fxmanifest.lua files automatically for any framework and scripting language. +

+
+
+
+ + +
+
+
+
+ + + +
+
+

Event Reference

+
+
+
+

+ Complete database of FiveM events including core, ESX, and QBCore events with examples. +

+
+
+
+ + +
+
+
+
+ + + + +
+
+

Boilerplate Generator

+
+
+
+

+ Generate complete resource structures with client, server, config, and optional NUI files. +

+
+
+
+ + +
+
+
+
+ + + + +
+
+

Framework Support

+
+
+
+

+ Full support for Standalone, ESX, and QBCore frameworks in both Lua and JavaScript. +

+
+
+
+
+
+ + +
+
+
+

Ready to get started?

+

+ Set up the MCP server in just 5 minutes with our quick start guide.

+
- -
-
-
-
- - - -
-
-

Native Functions

-
-
-
-

- Look up GTA5/FiveM native functions with signatures, parameters, and code examples. + +

+

Resources

+
+
+

MCP Server Configuration

+

+ To connect to the FiveM MCP server, use the following configuration in your MCP client:

-
-
-
- - -
-
-
-
- - - -
-
-

Manifest Generator

-
-
-
-

- Generate fxmanifest.lua files automatically for any framework and scripting language. -

-
-
-
- - -
-
-
-
- - - -
-
-

Event Reference

-
-
-
-

- Complete database of FiveM events including core, ESX, and QBCore events with examples. -

-
-
-
- - -
-
-
-
- - - -
-
-

Boilerplate Generator

-
-
-
-

- Generate complete resource structures with client, server, config, and optional NUI files. -

-
-
-
- - -
-
-
-
- - - -
-
-

Framework Support

-
-
-
-

- Full support for Standalone, ESX, and QBCore frameworks in both Lua and JavaScript. -

-
-
-
-
-
- - -
-
-
-

Ready to get started?

-

- Set up the MCP server in just 5 minutes with our quick start guide. -

- -
-
-
- - -
-

Resources

-
-
-

MCP Server Configuration

-

- To connect to the FiveM MCP server, use the following configuration in your MCP client: -

-
{
-  "servers": {
+                        
{
+    "servers": {
     "fivem": {
-      "url": "{{ route('fivem') }}",
-      "type": "http"
+        "url": "{{ route('fivem') }}",
+        "type": "http"
+    }
     }
-  }
 }
-
- +
-
@endsection diff --git a/resources/views/docs/layout.blade.php b/resources/views/docs/layout.blade.php deleted file mode 100644 index cb868fb..0000000 --- a/resources/views/docs/layout.blade.php +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - @yield('title', 'FiveM MCP Server Documentation') - @vite(['resources/css/app.css', 'resources/js/app.js']) - - -
- - - - -
- @yield('content') -
- - - -
- - diff --git a/resources/views/docs/quickstart.blade.php b/resources/views/docs/quickstart.blade.php index 39ca8e7..c264844 100644 --- a/resources/views/docs/quickstart.blade.php +++ b/resources/views/docs/quickstart.blade.php @@ -1,380 +1,388 @@ -@extends('docs.layout') +@extends('layouts.app') @section('title', 'Quick Start Guide - FiveM MCP Server') @section('content') -
-
-

FiveM MCP Quick Start Guide

+
+
+

FiveM MCP Quick Start Guide

- -
-

What is this?

-

- This MCP server gives AI assistants (like Claude) access to FiveM development tools including: -

-
    -
  • Documentation search
  • -
  • Native function lookups
  • -
  • Manifest generation
  • -
  • Event references
  • -
  • Resource boilerplate generation
  • -
-
- - -
-

Choose Your Setup

- - -
- -
- - -
- -
-
-

- Easy setup! Connect to a hosted MCP server. Works from anywhere without any local installation. -

-
- -

- If someone is hosting the FiveM MCP server for you, follow these steps to connect: -

- - -
-

1. Get the Server URL

-

- Ask your server administrator for the MCP server URL. It will look like: -

-
https://your-domain.com/fivem
-

- If you're using the official hosted server, use this URL: -

-
{{ route('fivem') }}
-
- - -
-

2. Configure Claude Desktop

-

Edit your Claude Desktop configuration file:

-
    -
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • -
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • -
- -

Add this configuration (replace the URL with your actual server URL):

-
{
-  "mcpServers": {
-    "fivem": {
-      "url": "https://your-domain.com/fivem"
-    }
-  }
-}
- -

For VSCode (Cline Extension):

-

Edit your VSCode settings.json:

-
{
-  "mcp": {
-    "servers": {
-      "fivem": {
-        "url": "https://your-domain.com/fivem"
-      }
-    }
-  }
-}
-
- - -
-

3. Restart Claude Desktop

-

- Completely quit and restart Claude Desktop for changes to take effect. -

-
- - -
-

4. Verify Connection

-

- In Claude Desktop, you should see a small 🔌 icon or indication that the FiveM MCP server is connected. -

-
- -
-

- That's it! You're now connected to the remote MCP server and can start using FiveM development tools with Claude. -

-
-
- - - -
-
- - -
-

Quick Examples

-

Once connected, try these prompts in Claude:

- -
-
-

Example 1: Search Documentation

-
Search FiveM docs for "state bags"
-
- -
-

Example 2: Look Up a Native

-
What does the GetPlayerPed native function do? Show me an example.
-
- -
-

Example 3: Generate a Manifest

-
Generate a fxmanifest.lua for my resource called "vehicle-shop" using ESX framework
-
- -
-

Example 4: List Events

-
Show me all FiveM core server events
-
- -
-

Example 5: Create Boilerplate

-
Create a complete resource structure for a QBCore script called "bank-heist" with NUI
-
-
-
- - -
-

Troubleshooting

- -
-

Server Not Connecting

-
    -
  1. - Check PHP Path: Make sure the PHP path in your config is correct -
    which php
    -# or for Herd:
    -ls -la "~/Library/Application Support/Herd/bin/"
    -
  2. -
  3. - Test Manually: Run the server command directly -
    cd /path/to/fivem-mcp
    -php artisan mcp:start fivem
    -
  4. -
  5. - Check Logs: Look at Claude Desktop logs -
      -
    • macOS: ~/Library/Logs/Claude/
    • -
    • Windows: Check Event Viewer or app logs
    • -
    -
  6. -
-
- -
-

Permission Issues

-

If you get permission errors:

-
cd /path/to/fivem-mcp
-chmod +x artisan
-
- -
-

Path Issues

-

- Make sure to use absolute paths in your config, not relative paths. + +

+

What is this?

+

+ This MCP server gives AI assistants (like Claude) access to FiveM development tools including:

-
-
+
    +
  • Documentation search
  • +
  • Native function lookups
  • +
  • Manifest generation
  • +
  • Event references
  • +
  • Resource boilerplate generation
  • +
+ - -
-

Next Steps

-
    -
  • Read the full documentation
  • -
  • Explore all 5 tools in the MCP Inspector
  • -
  • Try creating a complete FiveM resource with AI assistance
  • -
  • Contribute new tools or improve existing ones
  • -
-
+ +
+

Choose Your Setup

- -
-

Support

-

For issues:

-
    -
  1. Check Laravel MCP Documentation
  2. -
  3. Check FiveM Documentation
  4. -
  5. Review server logs
  6. -
  7. Open a GitHub issue
  8. -
-

Happy coding! 🎮

-
-
-
+ +
+ +
- + }
+

For VSCode (Cline Extension):

+

Edit your VSCode settings.json: +

+
{
+                "mcp": {
+                "servers": {
+                    "fivem": {
+                        "url": "https://your-domain.com/fivem"
+                    }
+                }
+            }
+        }
+
+ + +
+

3. Restart Claude Desktop

+

+ Completely quit and restart Claude Desktop for changes to take effect. +

+
+ + +
+

4. Verify Connection

+

+ In Claude Desktop, you should see a small 🔌 icon or indication that the FiveM MCP server is + connected. +

+
+ +
+

+ That's it! You're now connected to the remote MCP server and can start + using FiveM development + tools with Claude. +

+
+
+ + + +
+ + + +
+

Quick Examples

+

Once connected, try these prompts in Claude:

+ +
+
+

Example 1: Search Documentation

+
Search FiveM docs for "state bags"
+
+ +
+

Example 2: Look Up a Native

+
What does the GetPlayerPed native function do? Show me an example.
+
+ +
+

Example 3: Generate a Manifest

+
Generate a fxmanifest.lua for my resource called "vehicle-shop" using ESX framework
+
+ +
+

Example 4: List Events

+
Show me all FiveM core server events
+
+ +
+

Example 5: Create Boilerplate

+
Create a complete resource structure for a QBCore script called "bank-heist" with NUI
+
+
+
+ + +
+

Troubleshooting

+ +
+

Server Not Connecting

+
    +
  1. + Check PHP Path: Make sure the PHP path in your config is correct +
    which php
    +                                    # or for Herd:
    +                                    ls -la "~/Library/Application Support/Herd/bin/"
    +
  2. +
  3. + Test Manually: Run the server command directly +
    cd /path/to/fivem-mcp
    +                                    php artisan mcp:start fivem
    +
  4. +
  5. + Check Logs: Look at Claude Desktop logs +
      +
    • macOS: ~/Library/Logs/Claude/ +
    • +
    • Windows: Check Event Viewer or app logs
    • +
    +
  6. +
+
+ +
+

Permission Issues

+

If you get permission errors:

+
cd /path/to/fivem-mcp
+                                    chmod +x artisan
+
+ +
+

Path Issues

+

+ Make sure to use absolute paths in your config, not relative paths. +

+
+
+ + +
+

Next Steps

+
    +
  • Read + the full + documentation
  • +
  • Explore all 5 tools in the MCP Inspector
  • +
  • Try creating a complete FiveM resource with AI assistance
  • +
  • Contribute new tools or improve existing ones
  • +
+
+ + +
+

Support

+

For issues:

+
    +
  1. Check Laravel + MCP + Documentation
  2. +
  3. Check FiveM + Documentation
  4. +
  5. Review server logs
  6. +
  7. Open a GitHub issue
  8. +
+

Happy coding! 🎮

+
+
+
@endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..b0b49b5 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,26 @@ + + + + + + + @yield('title', 'FiveM MCP Server Documentation') + @vite(['resources/css/app.css', 'resources/js/app.js']) + + + +
+ + @include('layouts.partials.navigation') + + +
+ @yield('content') +
+ + + @include('layouts.partials.footer') +
+ + + diff --git a/resources/views/layouts/partials/footer.blade.php b/resources/views/layouts/partials/footer.blade.php new file mode 100644 index 0000000..e84695a --- /dev/null +++ b/resources/views/layouts/partials/footer.blade.php @@ -0,0 +1,12 @@ + diff --git a/resources/views/layouts/partials/navigation.blade.php b/resources/views/layouts/partials/navigation.blade.php new file mode 100644 index 0000000..6661669 --- /dev/null +++ b/resources/views/layouts/partials/navigation.blade.php @@ -0,0 +1,25 @@ + diff --git a/vite.config.js b/vite.config.js index f35b4e7..cc57101 100644 --- a/vite.config.js +++ b/vite.config.js @@ -8,7 +8,22 @@ export default defineConfig({ input: ['resources/css/app.css', 'resources/js/app.js'], refresh: true, }), - tailwindcss(), + tailwindcss({ + theme: { + extend: { + colors: { + gta: { + dark: '#1a1a1a', + light: '#f8fafc', + orange: '#F57C00', + cyan: '#1de9b6', + gray: '#334155', + indigo: '#3b82f6', + }, + }, + }, + }, + }), ], server: { watch: {