|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>PDF Pizzazz Palooza</title> |
|
|
<link rel="icon" type="image/x-icon" href="/static/favicon.ico"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
<script src="https://unpkg.com/feather-icons"></script> |
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.12.313/pdf.min.js"></script> |
|
|
<script> |
|
|
tailwind.config = { |
|
|
theme: { |
|
|
extend: { |
|
|
colors: { |
|
|
primary: { |
|
|
100: '#f0f9ff', |
|
|
200: '#e0f2fe', |
|
|
300: '#bae6fd', |
|
|
400: '#7dd3fc', |
|
|
500: '#38bdf8', |
|
|
600: '#0284c7', |
|
|
700: '#0369a1', |
|
|
800: '#075985', |
|
|
900: '#0c4a6e', |
|
|
}, |
|
|
secondary: { |
|
|
100: '#f5f3ff', |
|
|
200: '#ede9fe', |
|
|
300: '#ddd6fe', |
|
|
400: '#c4b5fd', |
|
|
500: '#a78bfa', |
|
|
600: '#7c3aed', |
|
|
700: '#6d28d9', |
|
|
800: '#5b21b6', |
|
|
900: '#4c1d95', |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
<style> |
|
|
#pdf-container { |
|
|
height: 70vh; |
|
|
overflow-y: auto; |
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); |
|
|
} |
|
|
.pdf-page { |
|
|
margin-bottom: 20px; |
|
|
background: white; |
|
|
} |
|
|
.loading { |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
height: 100%; |
|
|
} |
|
|
</style> |
|
|
</head> |
|
|
<body class="bg-gray-50 min-h-screen"> |
|
|
<header class="bg-white shadow-sm"> |
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6"> |
|
|
<div class="flex justify-between items-center"> |
|
|
<div class="flex items-center space-x-2"> |
|
|
<i data-feather="file-text" class="text-primary-600"></i> |
|
|
<h1 class="text-2xl font-bold text-gray-900">PDF Pizzazz Palooza</h1> |
|
|
</div> |
|
|
<nav class="hidden md:flex space-x-8"> |
|
|
<a href="index.html" class="text-primary-600 font-medium">Home</a> |
|
|
<a href="businessquiz.html" class="text-gray-500 hover:text-primary-600">Business Quiz</a> |
|
|
<a href="#" class="text-gray-500 hover:text-primary-600">About</a> |
|
|
<a href="#" class="text-gray-500 hover:text-primary-600">Contact</a> |
|
|
</nav> |
|
|
<button class="md:hidden text-gray-500"> |
|
|
<i data-feather="menu"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</header> |
|
|
|
|
|
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> |
|
|
<div class="bg-white rounded-lg shadow-md p-6 mb-8"> |
|
|
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6"> |
|
|
<div> |
|
|
<h2 class="text-xl font-semibold text-gray-800">Your PDF Document</h2> |
|
|
<p class="text-gray-500">Upload or select a PDF to view its contents</p> |
|
|
</div> |
|
|
<div class="mt-4 md:mt-0 flex space-x-3"> |
|
|
<button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-md flex items-center"> |
|
|
<i data-feather="upload" class="mr-2 |
|
|
</body> |
|
|
</html> |