|
- <section class="hero">
- <div class="hero-copy">
- <span class="eyebrow"><?= e($model->eyebrow) ?></span>
- <h1><?= e($model->title) ?></h1>
- <p class="hero-text"><?= e($model->message) ?></p>
-
- <div class="hero-actions">
- <a class="button button-primary" href="<?= e($model->routeExample) ?>">Open Employee Form</a>
- <a class="button button-secondary" href="#framework-highlights">See Highlights</a>
- </div>
- </div>
-
- <aside class="hero-panel" aria-label="Framework route example">
- <p class="panel-label">Request Flow</p>
- <code>Browser -> public/index.php -> Dispatcher -> Router -> Controller -> View</code>
-
- <div class="route-callout">
- <span>Employee entry page</span>
- <a href="<?= e($model->routeExample) ?>"><?= e($model->routeExample) ?></a>
- </div>
- </aside>
- </section>
-
- <section class="feature-grid" id="framework-highlights">
- <article class="feature-card">
- <h2>Readable by design</h2>
- <p>Small files, explicit routing, and plain PHP views keep the framework approachable for day-to-day work.</p>
- </article>
-
- <article class="feature-card">
- <h2>Classic MVC feel</h2>
- <p>Controllers, repositories, and view models stay separate so request handling remains predictable and easy to follow.</p>
- </article>
-
- <article class="feature-card">
- <h2>SQLite ready</h2>
- <p>Typed PHP 8.2 code, Composer autoloading, PDO access, and auto-run migrations make the project feel current without becoming heavyweight.</p>
- </article>
- </section>
|