Initial commit of the complete City10 virtual city simulation platform. Backend (Laravel 13): - REST API with Sanctum tokens and session-based web authentication - Role-based access control (admin/user) with middleware protection - AI agent CRUD with OpenRouter.ai integration restricted to free models - Store management with 3D coordinates and AI shopkeeper assignment - Versioned legal documents (Terms, Privacy, Cookies) with LGPD audit trail - Math CAPTCHA on public forms and multi-language support (pt_BR, en, es) Frontend: - Responsive Blade templates with Tailwind CSS v4 - Three.js 3D city viewer with SSE chat streaming to AI agents - Admin panel for store and user administration Infrastructure: - MariaDB/MySQL database with comprehensive migrations - Database seeders for demo content and test accounts - PHPUnit test suite and Laravel Pint code styling - Vite build configuration with hot reload
17 lines
679 B
PHP
17 lines
679 B
PHP
@extends('layouts.app')
|
|
|
|
@section('title', $title)
|
|
|
|
@section('content')
|
|
<article class="card" style="max-width: 820px; margin: 0 auto;">
|
|
<header style="margin-bottom: 1rem;">
|
|
<h1 style="margin:0 0 .35rem; color:#fff;">{{ $title }}</h1>
|
|
<p style="margin:0; color:var(--muted); font-size:.85rem;">Versão {{ $document->version }} — Vigente desde {{ $document->published_at?->format('d/m/Y H:i') }}</p>
|
|
</header>
|
|
|
|
<div class="legal-body" style="color:var(--text); line-height:1.65; font-size:.98rem;">
|
|
{!! \Illuminate\Support\Str::markdown($body, ['html_input' => 'escape', 'allow_unsafe_links' => false]) !!}
|
|
</div>
|
|
</article>
|
|
@endsection
|