xpert / index.html
Gracedamien's picture
undefined - Initial Deployment
5eb2533 verified
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SteelPro - Ironworker's Toolkit</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
steel: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',
800: '#1e293b',
900: '#0f172a',
},
primary: {
500: '#3b82f6', // blue-500
600: '#2563eb', // blue-600
},
danger: {
500: '#ef4444', // red-500
600: '#dc2626', // red-600
}
}
}
}
}
</script>
<style>
.tool-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}
.tab-active {
border-bottom: 3px solid #3b82f6;
color: #3b82f6;
font-weight: 600;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
</style>
</head>
<body class="bg-gray-100 min-h-screen font-sans">
<div class="flex flex-col min-h-screen">
<!-- Header -->
<header class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-4">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-hard-hat text-2xl"></i>
<h1 class="text-2xl font-bold">SteelPro</h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#tools" class="hover:text-blue-200 transition">Tools</a>
<a href="#calculators" class="hover:text-blue-200 transition">Calculators</a>
<a href="#resources" class="hover:text-blue-200 transition">Resources</a>
<a href="#profile" class="hover:text-blue-200 transition">Profile</a>
</nav>
<button class="md:hidden text-xl" id="menu-toggle">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</header>
<!-- Mobile Menu -->
<div id="mobile-menu" class="hidden bg-gray-800 text-white md:hidden">
<div class="container mx-auto px-4 py-2 flex flex-col space-y-3">
<a href="#tools" class="py-2 border-b border-gray-700 hover:text-blue-200 transition">Tools</a>
<a href="#calculators" class="py-2 border-b border-gray-700 hover:text-blue-200 transition">Calculators</a>
<a href="#resources" class="py-2 border-b border-gray-700 hover:text-blue-200 transition">Resources</a>
<a href="#profile" class="py-2 hover:text-blue-200 transition">Profile</a>
</div>
</div>
<!-- Main Content -->
<main class="flex-grow container mx-auto px-4 py-6">
<!-- Welcome Banner -->
<section class="bg-white rounded-xl shadow-md p-6 mb-8 gradient-bg text-white">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-2/3 mb-6 md:mb-0">
<h2 class="text-3xl font-bold mb-2">Ironworker's Companion</h2>
<p class="mb-4">Everything you need for structural steel fabrication and erection in one place.</p>
<div class="flex space-x-3">
<button class="bg-white text-primary-600 px-4 py-2 rounded-lg font-medium hover:bg-blue-50 transition">
Quick Measure
</button>
<button class="bg-primary-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-primary-700 transition">
Bolt Calculator
</button>
</div>
</div>
<div class="md:w-1/3 flex justify-center">
<img src="https://cdn-icons-png.flaticon.com/512/2933/2933245.png" alt="Steel Worker" class="h-40">
</div>
</div>
</section>
<!-- Tools Section -->
<section id="tools" class="mb-12">
<h2 class="text-2xl font-bold mb-6 text-gray-800 border-b pb-2">Essential Tools</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Tool Card 1 -->
<div class="tool-card bg-white rounded-xl shadow-md p-6 transition duration-300 cursor-pointer hover:bg-blue-50">
<div class="flex items-center mb-4">
<div class="bg-blue-100 p-3 rounded-lg mr-4">
<i class="fas fa-ruler-combined text-blue-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">Beam Calculator</h3>
</div>
<p class="text-gray-600 mb-4">Calculate beam deflection, load capacity, and section properties.</p>
<button class="text-primary-600 font-medium flex items-center">
Open Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<!-- Tool Card 2 -->
<div class="tool-card bg-white rounded-xl shadow-md p-6 transition duration-300 cursor-pointer hover:bg-blue-50">
<div class="flex items-center mb-4">
<div class="bg-red-100 p-3 rounded-lg mr-4">
<i class="fas fa-bolt text-red-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">Bolt Specs</h3>
</div>
<p class="text-gray-600 mb-4">Look up bolt specifications, torque values, and installation guidelines.</p>
<button class="text-primary-600 font-medium flex items-center">
Open Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<!-- Tool Card 3 -->
<div class="tool-card bg-white rounded-xl shadow-md p-6 transition duration-300 cursor-pointer hover:bg-blue-50">
<div class="flex items-center mb-4">
<div class="bg-green-100 p-3 rounded-lg mr-4">
<i class="fas fa-weight-hanging text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">Weight Calculator</h3>
</div>
<p class="text-gray-600 mb-4">Calculate steel weight by shape and dimensions quickly.</p>
<button class="text-primary-600 font-medium flex items-center">
Open Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<!-- Tool Card 4 -->
<div class="tool-card bg-white rounded-xl shadow-md p-6 transition duration-300 cursor-pointer hover:bg-blue-50">
<div class="flex items-center mb-4">
<div class="bg-yellow-100 p-3 rounded-lg mr-4">
<i class="fas fa-calculator text-yellow-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">Welding Calculator</h3>
</div>
<p class="text-gray-600 mb-4">Determine weld size, length, and heat input requirements.</p>
<button class="text-primary-600 font-medium flex items-center">
Open Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</section>
<!-- Calculator Section -->
<section id="calculators" class="mb-12">
<h2 class="text-2xl font-bold mb-6 text-gray-800 border-b pb-2">Quick Calculators</h2>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="flex border-b">
<button class="tab-button px-6 py-3 font-medium text-gray-600 hover:text-primary-600 transition tab-active" data-tab="weight-calc">Weight Calculator</button>
<button class="tab-button px-6 py-3 font-medium text-gray-600 hover:text-primary-600 transition" data-tab="bolt-calc">Bolt Calculator</button>
<button class="tab-button px-6 py-3 font-medium text-gray-600 hover:text-primary-600 transition" data-tab="crane-calc">Crane Calculator</button>
</div>
<!-- Weight Calculator -->
<div id="weight-calc" class="tab-content p-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h3 class="font-bold text-lg mb-4">Calculate Steel Weight</h3>
<div class="space-y-4">
<div>
<label class="block text-gray-700 mb-2">Material Type</label>
<select class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500">
<option>Mild Steel</option>
<option>Stainless Steel</option>
<option>Aluminum</option>
<option>Brass</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">Shape</label>
<select class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500">
<option>I-Beam</option>
<option>Channel</option>
<option>Angle</option>
<option>Plate</option>
<option>Pipe</option>
<option>Square Tube</option>
<option>Round Bar</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">Dimensions (mm)</label>
<div class="grid grid-cols-3 gap-2">
<input type="number" placeholder="Width" class="px-4 py-2 border rounded-lg">
<input type="number" placeholder="Height" class="px-4 py-2 border rounded-lg">
<input type="number" placeholder="Thickness" class="px-4 py-2 border rounded-lg">
</div>
</div>
<div>
<label class="block text-gray-700 mb-2">Length (meters)</label>
<input type="number" class="w-full px-4 py-2 border rounded-lg" value="1">
</div>
</div>
</div>
<div class="flex flex-col justify-between">
<div>
<h3 class="font-bold text-lg mb-4">Result</h3>
<div class="bg-gray-50 p-4 rounded-lg">
<div class="flex justify-between py-2 border-b">
<span>Weight per meter:</span>
<span class="font-bold">24.5 kg/m</span>
</div>
<div class="flex justify-between py-2 border-b">
<span>Total Weight:</span>
<span class="font-bold">24.5 kg</span>
</div>
<div class="flex justify-between py-2">
<span>Volume:</span>
<span class="font-bold">0.0031 m³</span>
</div>
</div>
</div>
<div class="mt-8">
<button class="w-full bg-primary-600 text-white py-3 rounded-lg font-bold hover:bg-primary-700 transition">
Calculate Weight
</button>
</div>
</div>
</div>
</div>
<!-- Bolt Calculator -->
<div id="bolt-calc" class="tab-content p-6 hidden">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h3 class="font-bold text-lg mb-4">Bolt Specifications</h3>
<div class="space-y-4">
<div>
<label class="block text-gray-700 mb-2">Bolt Type</label>
<select class="w-full px-4 py-2 border rounded-lg">
<option>ASTM A325</option>
<option>ASTM A490</option>
<option>ISO 898-1</option>
<option>SAE J429</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">Diameter</label>
<select class="w-full px-4 py-2 border rounded-lg">
<option>1/2"</option>
<option>5/8"</option>
<option>3/4"</option>
<option>7/8"</option>
<option>1"</option>
</select>
</div>
<div>
<label class="block text-gray-700 mb-2">Threads per inch</label>
<input type="number" class="w-full px-4 py-2 border rounded-lg" value="13">
</div>
<div>
<label class="block text-gray-700 mb-2">Surface Condition</label>
<select class="w-full px-4 py-2 border rounded-lg">
<option>Plain</option>
<option>Galvanized</option>
<option>Hot-Dip Galvanized</option>
</select>
</div>
</div>
</div>
<div>
<h3 class="font-bold text-lg mb-4">Torque Specifications</h3>
<div class="bg-gray-50 p-4 rounded-lg">
<div class="flex justify-between py-2 border-b">
<span>Proof Load:</span>
<span class="font-bold">85,000 psi</span>
</div>
<div class="flex justify-between py-2 border-b">
<span>Minimum Torque:</span>
<span class="font-bold">310 ft-lbs</span>
</div>
<div class="flex justify-between py-2 border-b">
<span>Recommended Torque:</span>
<span class="font-bold">340 ft-lbs</span>
</div>
<div class="flex justify-between py-2">
<span>Maximum Torque:</span>
<span class="font-bold">370 ft-lbs</span>
</div>
</div>
<button class="w-full mt-6 bg-primary-600 text-white py-3 rounded-lg font-bold hover:bg-primary-700 transition">
Get Bolt Specs
</button>
</div>
</div>
</div>
<!-- Crane Calculator -->
<div id="crane-calc" class="tab-content p-6 hidden">
<h3 class="font-bold text-lg mb-4">Crane Capacity Calculator</h3>
<div class="space-y-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="block text-gray-700 mb-2">Boom Length (ft)</label>
<input type="number" class="w-full px-4 py-2 border rounded-lg" value="120">
</div>
<div>
<label class="block text-gray-700 mb-2">Boom Angle (degrees)</label>
<input type="number" class="w-full px-4 py-2 border rounded-lg" value="65">
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="block text-gray-700 mb-2">Radius (ft)</label>
<input type="number" class="w-full px-4 py-2 border rounded-lg" value="40">
</div>
<div>
<label class="block text-gray-700 mb-2">Load Weight (lbs)</label>
<input type="number" class="w-full px-4 py
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Gracedamien/xpert" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>