TheYokedOne's picture
Build a complete web application using the following specifications. Your role is to translate these requirements into functional app architecture, interfaces, workflows, and backend logic.
9b92573 verified
Raw History Blame Contribute Delete
2.93 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Analysis Dashboard - PreachPal</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="components/navbar.js"></script>
<script src="components/analysis-dashboard.js"></script>
<script src="components/outline-editor.js"></script>
</head>
<body class="bg-gray-50 min-h-screen">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2">
<h1 class="text-3xl font-bold text-indigo-800 mb-6">Sermon Analysis</h1>
<analysis-dashboard></analysis-dashboard>
</div>
<div class="lg:col-span-1">
<div class="bg-white rounded-xl shadow-md p-6 sticky top-6">
<div class="mb-4">
<h2 class="text-xl font-semibold text-indigo-700 mb-2">Sermon Details</h2>
<ul class="space-y-1 text-gray-600">
<li><strong>Title:</strong> The Prodigal Son</li>
<li><strong>Date:</strong> November 15, 2023</li>
<li><strong>Speaker:</strong> Pastor John Smith</li>
<li><strong>Scripture:</strong> Luke 15:11-32</li>
<li><strong>Word Count:</strong> 2,450 words</li>
<li><strong>Processing Time:</strong> 1.2 minutes</li>
</ul>
</div>
<div class="border-t border-gray-200 pt-4">
<h2 class="text-xl font-semibold text-indigo-700 mb-2">Actions</h2>
<div class="space-y-2">
<button class="w-full bg-indigo-600 text-white py-2 px-4 rounded-lg hover:bg-indigo-700 transition">
Save to Library
</button>
<button class="w-full bg-white border border-indigo-600 text-indigo-600 py-2 px-4 rounded-lg hover:bg-indigo-50 transition">
Export Markdown
</button>
<button class="w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 rounded-lg hover:bg-gray-50 transition">
Request Revision
</button>
</div>
</div>
</div>
</div>
</div>
</main>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>