Deploy: Complete TekDek documentation website with all content pages, CSS, and infrastructure
This commit is contained in:
18
publish/web1/public/pages/home.php
Normal file
18
publish/web1/public/pages/home.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php if (!defined('TEKDEK')) die('Direct access not permitted.'); ?>
|
||||
|
||||
<section class="hero">
|
||||
<h1>Welcome to TekDek</h1>
|
||||
<p class="lead">Documentation & Strategy Hub — where our vision, projects, and tools come together.</p>
|
||||
</section>
|
||||
|
||||
<section class="grid cards">
|
||||
<?php foreach ($MENU as $slug => $item): ?>
|
||||
<?php if ($slug !== 'home' && $item['nav']): ?>
|
||||
<?php $url = ($slug === 'team') ? SITE_BASE_URL . 'team.html' : page_url($slug); ?>
|
||||
<a href="<?= e($url) ?>" class="card">
|
||||
<span class="card-icon"><?= $item['icon'] ?></span>
|
||||
<h3><?= e($item['title']) ?></h3>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</section>
|
||||
Reference in New Issue
Block a user