CSP Compliance (complete): - Install Tailwind CSS v3 locally (24KB build) - Replace CDN with /css/tailwind.css in all HTML files - Extract all inline scripts to external JS files - Created 6 external JS files for demos & docs - All pages now comply with script-src 'self' Three Audience Paths (complete): - Created /researcher.html (academic/theoretical) - Created /implementer.html (practical integration) - Created /advocate.html (mission/values/community) - Updated homepage links to audience pages - Each path has dedicated nav, hero, resources, CTAs Files Modified (20): - 7 HTML files (CSP compliance) - 3 audience landing pages (new) - 6 external JS files (extracted) - package.json (Tailwind v3) - tailwind.config.js (new) - Built CSS (24KB minified) All resources CSP-compliant, all pages tested 200 OK 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
80 lines
3.3 KiB
HTML
80 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Framework Documentation | Tractatus AI Safety</title>
|
|
<link rel="stylesheet" href="/css/tailwind.css">
|
|
<style>
|
|
.prose { max-width: none; }
|
|
.prose h1 { @apply text-3xl font-bold text-gray-900 mb-4 mt-8; }
|
|
.prose h2 { @apply text-2xl font-semibold text-gray-900 mb-3 mt-6; }
|
|
.prose h3 { @apply text-xl font-semibold text-gray-900 mb-2 mt-4; }
|
|
.prose p { @apply text-gray-700 mb-4 leading-relaxed; }
|
|
.prose code { @apply bg-gray-100 px-2 py-1 rounded text-sm font-mono text-gray-800; }
|
|
.prose pre { @apply bg-gray-900 text-gray-100 p-4 rounded-lg mb-4 overflow-x-auto; }
|
|
.prose ul { @apply list-disc pl-6 mb-4 text-gray-700; }
|
|
.prose ol { @apply list-decimal pl-6 mb-4 text-gray-700; }
|
|
.prose table { @apply w-full border-collapse mb-4; }
|
|
.prose th { @apply bg-gray-100 border border-gray-300 px-4 py-2 text-left font-semibold; }
|
|
.prose td { @apply border border-gray-300 px-4 py-2; }
|
|
.doc-link:hover { @apply bg-blue-50; }
|
|
#toc a:hover { @apply text-blue-700 underline; }
|
|
</style>
|
|
</head>
|
|
<body class="bg-gray-50">
|
|
|
|
<!-- Header -->
|
|
<header class="bg-white border-b border-gray-200 sticky top-0 z-10">
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
|
|
<div class="flex items-center justify-between">
|
|
<div>
|
|
<h1 class="text-2xl font-bold text-gray-900">Framework Documentation</h1>
|
|
</div>
|
|
<a href="/" class="text-blue-600 hover:text-blue-700 font-medium">← Home</a>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Main Layout -->
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
|
<div class="grid grid-cols-1 lg:grid-cols-4 gap-8">
|
|
|
|
<!-- Sidebar -->
|
|
<aside class="lg:col-span-1">
|
|
<div class="bg-white rounded-lg shadow-sm border border-gray-200 p-4 sticky top-24">
|
|
<h3 class="font-semibold text-gray-900 mb-3">Documents</h3>
|
|
<div id="document-list" class="space-y-1">
|
|
<div class="text-sm text-gray-500">Loading...</div>
|
|
</div>
|
|
|
|
<div class="mt-6 pt-4 border-t border-gray-200">
|
|
<h4 class="font-semibold text-gray-900 mb-3 text-sm">Table of Contents</h4>
|
|
<div id="toc" class="text-sm space-y-1">
|
|
<div class="text-gray-500">Select a document</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- Main Content -->
|
|
<main class="lg:col-span-3">
|
|
<div id="document-content" class="bg-white rounded-lg shadow-sm border border-gray-200 p-8">
|
|
<div class="text-center py-12">
|
|
<svg class="mx-auto h-12 w-12 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"/>
|
|
</svg>
|
|
<h3 class="mt-2 text-lg font-medium text-gray-900">Select a Document</h3>
|
|
<p class="mt-1 text-sm text-gray-500">Choose a document from the sidebar to begin reading</p>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script src="/js/docs-app.js"></script>
|
|
|
|
</body>
|
|
</html>
|