Added new projects page
This commit is contained in:
+5
-4
@@ -9,10 +9,11 @@ function _nav_active(string $href): bool {
|
||||
}
|
||||
|
||||
$_nav_pages = [
|
||||
'/about/' => 'About',
|
||||
'/log/' => 'Log',
|
||||
'/links/' => 'Links',
|
||||
'/contact/' => 'Contact',
|
||||
'/about/' => 'About',
|
||||
'/log/' => 'Log',
|
||||
'/links/' => 'Links',
|
||||
'/projects/' => 'Projects',
|
||||
'/contact/' => 'Contact',
|
||||
];
|
||||
?>
|
||||
<nav class="fixed top-0 left-0 right-0 z-50 bg-[#0a0a0a] border-b border-[#1c1c1c]">
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
$title = 'Projects';
|
||||
include $_SERVER['DOCUMENT_ROOT'] . '/includes/head.php';
|
||||
?>
|
||||
<body class="bg-[#0a0a0a] text-white min-h-screen">
|
||||
<?php include $_SERVER['DOCUMENT_ROOT'] . '/includes/nav.php'; ?>
|
||||
|
||||
<main class="pt-16">
|
||||
<div class="max-w-3xl mx-auto px-4 sm:px-6 py-12">
|
||||
<h1 class="text-2xl font-semibold mb-12">Projects</h1>
|
||||
|
||||
<div class="space-y-6">
|
||||
<a href="https://monkeys.sistav.com" target="_blank" rel="noopener noreferrer" class="group block border border-[#1c1c1c] hover:border-[#333] bg-[#0f0f0f] hover:bg-[#111] transition-colors p-6">
|
||||
<div class="flex items-start justify-between gap-4">
|
||||
<div>
|
||||
<h2 class="text-base font-semibold mb-1 group-hover:text-[#e6dfd8] transition-colors">MonKEYS</h2>
|
||||
<p class="text-neutral-400 text-sm leading-relaxed">Finally, a use for monkey labour.</p>
|
||||
</div>
|
||||
<span class="text-neutral-600 text-xs shrink-0 mt-1">monkeys.sistav.com ↗</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user