File size: 6,062 Bytes
3c90fc7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MicroChip Data Explorer</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="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
<custom-navbar></custom-navbar>
<main class="flex-grow container mx-auto px-4 py-8">
<section class="text-center mb-12">
<h1 class="text-4xl font-bold text-gray-800 mb-4">MicroChip Product Explorer</h1>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">Access detailed datasheets for Microchip's semiconductor products with our comprehensive search system</p>
</section>
<div class="bg-white rounded-xl shadow-lg p-6 max-w-4xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
<div>
<label for="family" class="block text-sm font-medium text-gray-700 mb-2">Product Family</label>
<select id="family" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<option value="">Select Family</option>
<option value="mcu">Microcontrollers (MCU)</option>
<option value="mpu">Microprocessors (MPU)</option>
<option value="analog">Analog</option>
<option value="memory">Memory</option>
<option value="wireless">Wireless</option>
</select>
</div>
<div>
<label for="type" class="block text-sm font-medium text-gray-700 mb-2">Product Type</label>
<select id="type" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500" disabled>
<option value="">Select Type</option>
</select>
</div>
</div>
<div class="mb-8">
<label for="search" class="block text-sm font-medium text-gray-700 mb-2">Search by Part Number</label>
<div class="relative">
<input type="text" id="search" placeholder="Enter part number (e.g. ATmega328P)" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 pr-10">
<i data-feather="search" class="absolute right-3 top-2.5 text-gray-400"></i>
</div>
</div>
<button id="search-btn" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-medium py-2.5 px-4 rounded-lg transition duration-200 flex items-center justify-center">
<i data-feather="search" class="mr-2"></i> Search Datasheets
</button>
</div>
<section class="mt-16 max-w-4xl mx-auto">
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Popular Products</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition duration-200">
<div class="p-5">
<div class="flex items-center mb-3">
<div class="bg-blue-100 p-2 rounded-full">
<i data-feather="cpu" class="text-blue-600"></i>
</div>
<h3 class="ml-3 font-semibold text-gray-800">ATmega328P</h3>
</div>
<p class="text-gray-600 text-sm">8-bit AVR Microcontroller</p>
<a href="#" class="mt-4 inline-block text-blue-600 text-sm font-medium hover:underline">View Datasheet β</a>
</div>
</div>
<div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition duration-200">
<div class="p-5">
<div class="flex items-center mb-3">
<div class="bg-blue-100 p-2 rounded-full">
<i data-feather="cpu" class="text-blue-600"></i>
</div>
<h3 class="ml-3 font-semibold text-gray-800">PIC16F877A</h3>
</div>
<p class="text-gray-600 text-sm">8-bit PIC Microcontroller</p>
<a href="#" class="mt-4 inline-block text-blue-600 text-sm font-medium hover:underline">View Datasheet β</a>
</div>
</div>
<div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition duration-200">
<div class="p-5">
<div class="flex items-center mb-3">
<div class="bg-blue-100 p-2 rounded-full">
<i data-feather="cpu" class="text-blue-600"></i>
</div>
<h3 class="ml-3 font-semibold text-gray-800">SAM D21</h3>
</div>
<p class="text-gray-600 text-sm">32-bit ARM Cortex-M0+ MCU</p>
<a href="#" class="mt-4 inline-block text-blue-600 text-sm font-medium hover:underline">View Datasheet β</a>
</div>
</div>
</div>
</section>
</main>
<custom-footer></custom-footer>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html> |