> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/betovildoza/tiendaetca/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to Tienda ETCA

> E-commerce platform for the Escuela de Tiro con Arco (Archery School)

<div className="relative w-full overflow-hidden bg-gradient-to-br from-[#2E7D32] via-[#388E3C] to-[#1B5E20] dark:from-[#1B5E20] dark:via-[#2E7D32] dark:to-[#1B5E20]">
  <div className="absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNMzYgMzBoLTEydi0xMmgxMnYxMnptMCAwIi8+PC9nPjwvZz48L3N2Zz4=')] opacity-20" />

  <div className="relative max-w-6xl mx-auto px-6 py-20 md:py-24">
    <div className="grid grid-cols-1 lg:grid-cols-12 gap-12 items-center">
      <div className="lg:col-span-7">
        <h1 className="text-4xl sm:text-5xl lg:text-6xl font-bold text-white mb-6">
          Welcome to Tienda ETCA Documentation
        </h1>

        <p className="text-lg sm:text-xl text-white/90 mb-8 max-w-2xl">
          Complete guide for using and developing the Escuela de Tiro con Arco e-commerce platform. Learn how to browse products, manage your cart, and administer the store.
        </p>

        <div className="flex flex-wrap gap-4">
          <a href="/quickstart" className="inline-flex items-center px-6 py-3 bg-white text-[#2E7D32] font-semibold rounded-lg hover:bg-gray-100 transition-colors">
            Get Started

            <svg className="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
              <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 7l5 5m0 0l-5 5m5-5H6" />
            </svg>
          </a>

          <a href="/user-guide/browsing-products" className="inline-flex items-center px-6 py-3 border-2 border-white/30 bg-white/10 text-white font-semibold rounded-lg hover:bg-white/20 transition-colors">
            User Guide
          </a>
        </div>
      </div>

      <div className="lg:col-span-5 flex justify-center">
        <div className="w-full max-w-md">
          <div className="relative">
            <div className="absolute inset-0 bg-gradient-to-r from-[#66BB6A] to-[#2E7D32] rounded-2xl blur-2xl opacity-50" />

            <div className="relative bg-white/10 backdrop-blur-sm border border-white/20 rounded-2xl p-8">
              <div className="text-center">
                <div className="inline-flex items-center justify-center w-20 h-20 bg-white/20 rounded-full mb-4">
                  <svg className="w-10 h-10 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z" />
                  </svg>
                </div>

                <h3 className="text-xl font-semibold text-white mb-2">Full-Featured Store</h3>
                <p className="text-white/80 text-sm">Shopping cart, authentication, admin panel, and more</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="text-center mb-12">
    <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Quick Start</h2>

    <p className="text-lg text-gray-600 dark:text-gray-400 max-w-2xl mx-auto">
      Get up and running with Tienda ETCA in minutes
    </p>
  </div>

  <Steps>
    <Step title="Clone and install dependencies">
      Clone the repository and install all required dependencies using npm.

      ```bash theme={null}
      git clone https://github.com/betovildoza/tiendaetca.git
      cd tiendaetca
      npm install
      ```
    </Step>

    <Step title="Start the development server">
      Launch the Vite development server to preview the application locally.

      ```bash theme={null}
      npm run dev
      ```

      The application will be available at `http://localhost:5173`
    </Step>

    <Step title="Browse the store">
      Navigate to the products page to see the product catalog. You can search, filter, and add items to your cart.

      <Info>Default login credentials can be found in `/public/data/users.json`</Info>
    </Step>

    <Step title="Access the admin panel">
      Log in with admin credentials to access the product management panel at `/admin`.

      ```json theme={null}
      {
        "email": "admin@example.com",
        "password": "admin123",
        "role": "admin"
      }
      ```
    </Step>
  </Steps>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="text-center mb-12">
    <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Explore by Topic</h2>

    <p className="text-lg text-gray-600 dark:text-gray-400">
      Find what you need in our comprehensive documentation
    </p>
  </div>

  <CardGroup cols={3}>
    <Card title="User Guide" icon="user" href="/user-guide/browsing-products">
      Learn how to browse products, manage your cart, and complete purchases
    </Card>

    <Card title="Features" icon="sparkles" href="/features/authentication">
      Explore authentication, notifications, search, and pagination features
    </Card>

    <Card title="Admin Panel" icon="shield" href="/admin/overview">
      Manage products, users, and access protected administrative features
    </Card>

    <Card title="Architecture" icon="sitemap" href="/development/architecture">
      Understand the project structure and architectural decisions
    </Card>

    <Card title="Context API" icon="layer-group" href="/development/context/cart-context">
      Learn about cart, authentication, and admin context providers
    </Card>

    <Card title="Deployment" icon="rocket" href="/development/deployment/setup">
      Deploy your Tienda ETCA instance to production
    </Card>
  </CardGroup>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="text-center mb-12">
    <h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">Key Features</h2>
  </div>

  <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
    <div className="p-6 bg-gray-50 dark:bg-[#1a1d27] border border-gray-200 dark:border-[#27272a] rounded-lg hover:border-[#2E7D32] dark:hover:border-[#2E7D32] transition-colors">
      <div className="flex items-start gap-4">
        <div className="flex-shrink-0 w-10 h-10 bg-[#2E7D32]/10 dark:bg-[#2E7D32]/20 rounded-lg flex items-center justify-center">
          <svg className="w-6 h-6 text-[#2E7D32]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z" />
          </svg>
        </div>

        <div>
          <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Shopping Cart</h3>
          <p className="text-gray-600 dark:text-gray-400">Full-featured cart with add, remove, and quantity updates</p>
        </div>
      </div>
    </div>

    <div className="p-6 bg-gray-50 dark:bg-[#1a1d27] border border-gray-200 dark:border-[#27272a] rounded-lg hover:border-[#2E7D32] dark:hover:border-[#2E7D32] transition-colors">
      <div className="flex items-start gap-4">
        <div className="flex-shrink-0 w-10 h-10 bg-[#2E7D32]/10 dark:bg-[#2E7D32]/20 rounded-lg flex items-center justify-center">
          <svg className="w-6 h-6 text-[#2E7D32]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
          </svg>
        </div>

        <div>
          <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Search & Filter</h3>
          <p className="text-gray-600 dark:text-gray-400">Real-time product search with pagination support</p>
        </div>
      </div>
    </div>

    <div className="p-6 bg-gray-50 dark:bg-[#1a1d27] border border-gray-200 dark:border-[#27272a] rounded-lg hover:border-[#2E7D32] dark:hover:border-[#2E7D32] transition-colors">
      <div className="flex items-start gap-4">
        <div className="flex-shrink-0 w-10 h-10 bg-[#2E7D32]/10 dark:bg-[#2E7D32]/20 rounded-lg flex items-center justify-center">
          <svg className="w-6 h-6 text-[#2E7D32]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" />
          </svg>
        </div>

        <div>
          <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Authentication</h3>
          <p className="text-gray-600 dark:text-gray-400">Role-based access control for admin and customer accounts</p>
        </div>
      </div>
    </div>

    <div className="p-6 bg-gray-50 dark:bg-[#1a1d27] border border-gray-200 dark:border-[#27272a] rounded-lg hover:border-[#2E7D32] dark:hover:border-[#2E7D32] transition-colors">
      <div className="flex items-start gap-4">
        <div className="flex-shrink-0 w-10 h-10 bg-[#2E7D32]/10 dark:bg-[#2E7D32]/20 rounded-lg flex items-center justify-center">
          <svg className="w-6 h-6 text-[#2E7D32]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />

            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
          </svg>
        </div>

        <div>
          <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Admin Panel</h3>
          <p className="text-gray-600 dark:text-gray-400">Complete CRUD operations for product management</p>
        </div>
      </div>
    </div>

    <div className="p-6 bg-gray-50 dark:bg-[#1a1d27] border border-gray-200 dark:border-[#27272a] rounded-lg hover:border-[#2E7D32] dark:hover:border-[#2E7D32] transition-colors">
      <div className="flex items-start gap-4">
        <div className="flex-shrink-0 w-10 h-10 bg-[#2E7D32]/10 dark:bg-[#2E7D32]/20 rounded-lg flex items-center justify-center">
          <svg className="w-6 h-6 text-[#2E7D32]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" />
          </svg>
        </div>

        <div>
          <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Notifications</h3>
          <p className="text-gray-600 dark:text-gray-400">Toast notifications and visual alerts with React Toastify and SweetAlert2</p>
        </div>
      </div>
    </div>

    <div className="p-6 bg-gray-50 dark:bg-[#1a1d27] border border-gray-200 dark:border-[#27272a] rounded-lg hover:border-[#2E7D32] dark:hover:border-[#2E7D32] transition-colors">
      <div className="flex items-start gap-4">
        <div className="flex-shrink-0 w-10 h-10 bg-[#2E7D32]/10 dark:bg-[#2E7D32]/20 rounded-lg flex items-center justify-center">
          <svg className="w-6 h-6 text-[#2E7D32]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z" />
          </svg>
        </div>

        <div>
          <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-2">Responsive Design</h3>
          <p className="text-gray-600 dark:text-gray-400">Mobile-first design with Bootstrap and custom CSS</p>
        </div>
      </div>
    </div>
  </div>
</div>

<div className="mt-16 mb-16 max-w-5xl mx-auto px-6">
  <div className="bg-gradient-to-br from-[#2E7D32] to-[#1B5E20] rounded-2xl p-8 md:p-12 text-center">
    <h2 className="text-3xl font-bold text-white mb-4">Ready to Get Started?</h2>

    <p className="text-xl text-white/90 mb-8 max-w-2xl mx-auto">
      Follow our quickstart guide to set up your Tienda ETCA instance in minutes
    </p>

    <a href="/quickstart" className="inline-flex items-center px-8 py-4 bg-white text-[#2E7D32] font-semibold rounded-lg hover:bg-gray-100 transition-colors">
      Get Started Now

      <svg className="ml-2 w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
        <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 7l5 5m0 0l-5 5m5-5H6" />
      </svg>
    </a>
  </div>
</div>
