<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class AuthController extends Controller
{
    /**
     * Show login form
     */
    public function showLogin()
    {
        return view('auth.login');
    }

    /**
     * Handle login request
     */
    public function login(Request $request)
    {
        // For now, just redirect to dashboard
        return redirect()->route('dashboard');
    }

    /**
     * Show registration form
     */
    public function showRegister()
    {
        return view('auth.register');
    }

    /**
     * Handle registration request
     */
    public function register(Request $request)
    {
        // For now, just redirect to dashboard
        return redirect()->route('dashboard');
    }

    /**
     * Handle logout
     */
    public function logout()
    {
        return redirect()->route('landing');
    }
}