echorank / index.html
nock2's picture
Add 3 files
c705ac8 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EchoRank - Optimize Your Site for LLM Recommendations</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">
<style>
.gradient-bg {
background: linear-gradient(135deg, #6e8efb, #a777e3);
}
.score-ring {
stroke-dasharray: 314;
stroke-dashoffset: calc(314 - (314 * var(--score)) / 100);
transition: stroke-dashoffset 0.8s ease-in-out;
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.tab-active {
border-bottom: 3px solid #6e8efb;
color: #6e8efb;
font-weight: 600;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Header/Nav -->
<header class="bg-white shadow-sm">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="gradient-bg text-white p-2 rounded-lg">
<i class="fas fa-robot text-xl"></i>
</div>
<h1 class="text-xl font-bold text-gray-800">EchoRank</h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#" class="text-gray-600 hover:text-blue-600">Features</a>
<a href="#" class="text-gray-600 hover:text-blue-600">Pricing</a>
<a href="#" class="text-gray-600 hover:text-blue-600">Resources</a>
<a href="#" class="text-gray-600 hover:text-blue-600">Blog</a>
</nav>
<div class="flex items-center space-x-4">
<button class="px-4 py-2 text-gray-600 hover:text-blue-600">Log In</button>
<button class="gradient-bg text-white px-4 py-2 rounded-lg hover:opacity-90 transition">Sign Up Free</button>
</div>
<button class="md:hidden text-gray-600">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</header>
<!-- Hero Section -->
<section class="gradient-bg text-white py-16">
<div class="container mx-auto px-4 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Optimize Your Site for LLM Recommendations</h1>
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">Get your website or app recommended by ChatGPT and other large language models with our AI-powered analysis and optimization tools.</p>
<div class="max-w-2xl mx-auto bg-white rounded-lg shadow-xl p-1">
<div class="flex">
<input type="text" placeholder="Enter your website URL..." class="flex-grow px-4 py-3 rounded-l-lg focus:outline-none text-gray-800">
<button class="bg-blue-600 text-white px-6 py-3 rounded-r-lg hover:bg-blue-700 transition">Analyze</button>
</div>
</div>
<div class="mt-8 flex justify-center space-x-4">
<div class="flex items-center">
<i class="fas fa-check-circle mr-2"></i>
<span>LLM Indexability Score</span>
</div>
<div class="flex items-center">
<i class="fas fa-check-circle mr-2"></i>
<span>Prompt Recall Simulation</span>
</div>
<div class="flex items-center">
<i class="fas fa-check-circle mr-2"></i>
<span>Actionable Recommendations</span>
</div>
</div>
</div>
</section>
<!-- Main Dashboard -->
<main class="container mx-auto px-4 py-12">
<!-- URL Input and Score Card -->
<div class="bg-white rounded-xl shadow-lg p-6 mb-8 fade-in">
<div class="flex flex-col md:flex-row items-start md:items-center justify-between mb-6">
<div>
<h2 class="text-2xl font-bold text-gray-800">Analysis Dashboard</h2>
<p class="text-gray-600">Enter a URL to get started with your LLM optimization analysis</p>
</div>
<div class="mt-4 md:mt-0 w-full md:w-auto">
<div class="flex">
<input type="text" id="url-input" placeholder="https://yourwebsite.com" class="flex-grow px-4 py-2 border rounded-l-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
<button id="analyze-btn" class="bg-blue-600 text-white px-6 py-2 rounded-r-lg hover:bg-blue-700 transition">Analyze</button>
</div>
</div>
</div>
<!-- Score Card -->
<div id="score-card" class="hidden fade-in">
<div class="flex flex-col md:flex-row items-center justify-between bg-gray-50 rounded-lg p-6">
<div class="flex items-center mb-6 md:mb-0">
<div class="relative w-24 h-24 mr-6">
<svg class="w-full h-full" viewBox="0 0 100 100">
<circle cx="50" cy="50" r="45" fill="none" stroke="#e5e7eb" stroke-width="8"/>
<circle cx="50" cy="50" r="45" fill="none" stroke="#4f46e5" stroke-width="8" stroke-linecap="round" class="score-ring" style="--score: 72"/>
</svg>
<div class="absolute inset-0 flex items-center justify-center">
<span class="text-2xl font-bold">72</span>
</div>
</div>
<div>
<h3 class="text-xl font-bold text-gray-800">LLM Indexability Score</h3>
<p class="text-gray-600">Good, but could be improved</p>
</div>
</div>
<div class="grid grid-cols-2 md:grid-cols-5 gap-4 w-full md:w-auto">
<div class="text-center">
<div class="text-2xl font-bold text-blue-600">85</div>
<div class="text-sm text-gray-600">Content</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold text-purple-600">65</div>
<div class="text-sm text-gray-600">Schema</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold text-green-600">90</div>
<div class="text-sm text-gray-600">Performance</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold text-yellow-600">60</div>
<div class="text-sm text-gray-600">Prompt Fit</div>
</div>
<div class="text-center">
<div class="text-2xl font-bold text-red-600">55</div>
<div class="text-sm text-gray-600">Amplification</div>
</div>
</div>
</div>
</div>
</div>
<!-- Tabs -->
<div class="flex border-b mb-8">
<button id="recommendations-tab" class="px-4 py-2 mr-4 tab-active">Recommendations</button>
<button id="prompt-simulator-tab" class="px-4 py-2 mr-4 text-gray-600 hover:text-blue-600">Prompt Simulator</button>
<button id="schema-validator-tab" class="px-4 py-2 mr-4 text-gray-600 hover:text-blue-600">Schema Validator</button>
<button id="competitor-tab" class="px-4 py-2 text-gray-600 hover:text-blue-600">Competitor Benchmark</button>
</div>
<!-- Recommendations Content -->
<div id="recommendations-content" class="fade-in">
<div class="bg-white rounded-xl shadow-lg p-6 mb-8">
<h3 class="text-xl font-bold text-gray-800 mb-4">Top Priority Recommendations</h3>
<div class="space-y-4">
<div class="flex items-start p-4 border rounded-lg hover:bg-gray-50 transition">
<div class="bg-red-100 text-red-600 p-2 rounded-full mr-4">
<i class="fas fa-exclamation-circle"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Add Product Schema Markup</h4>
<p class="text-gray-600 mb-2">Your site is missing structured data that helps LLMs understand your product. Add JSON-LD markup for SoftwareApplication.</p>
<div class="flex space-x-2">
<span class="bg-gray-100 text-gray-800 px-2 py-1 rounded text-sm">High Impact</span>
<span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-sm">Schema</span>
</div>
</div>
<button class="ml-auto text-blue-600 hover:text-blue-800">
<i class="fas fa-chevron-right"></i>
</button>
</div>
<div class="flex items-start p-4 border rounded-lg hover:bg-gray-50 transition">
<div class="bg-yellow-100 text-yellow-600 p-2 rounded-full mr-4">
<i class="fas fa-lightbulb"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Optimize for Key LLM Prompts</h4>
<p class="text-gray-600 mb-2">Your content doesn't sufficiently address common prompts like "AI tools to rebuild websites". Add these phrases to your title and meta description.</p>
<div class="flex space-x-2">
<span class="bg-gray-100 text-gray-800 px-2 py-1 rounded text-sm">Medium Impact</span>
<span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-sm">Content</span>
</div>
</div>
<button class="ml-auto text-blue-600 hover:text-blue-800">
<i class="fas fa-chevron-right"></i>
</button>
</div>
<div class="flex items-start p-4 border rounded-lg hover:bg-gray-50 transition">
<div class="bg-blue-100 text-blue-600 p-2 rounded-full mr-4">
<i class="fas fa-share-alt"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Increase Source Amplification</h4>
<p class="text-gray-600 mb-2">Your product isn't listed on key platforms like ProductHunt and GitHub that LLMs frequently reference. Create listings on these platforms.</p>
<div class="flex space-x-2">
<span class="bg-gray-100 text-gray-800 px-2 py-1 rounded text-sm">High Impact</span>
<span class="bg-green-100 text-green-800 px-2 py-1 rounded text-sm">Amplification</span>
</div>
</div>
<button class="ml-auto text-blue-600 hover:text-blue-800">
<i class="fas fa-chevron-right"></i>
</button>
</div>
</div>
</div>
<div class="grid md:grid-cols-2 gap-8">
<div class="bg-white rounded-xl shadow-lg p-6">
<h3 class="text-xl font-bold text-gray-800 mb-4">Content Optimization</h3>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Your title tag clearly describes your product</span>
</li>
<li class="flex items-start">
<i class="fas fa-exclamation-circle text-yellow-500 mt-1 mr-2"></i>
<span>Add more semantic keywords like "AI-powered" and "GPT-optimized"</span>
</li>
<li class="flex items-start">
<i class="fas fa-exclamation-circle text-red-500 mt-1 mr-2"></i>
<span>Your meta description doesn't include key phrases LLMs look for</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Your content is well-structured with clear headings</span>
</li>
</ul>
</div>
<div class="bg-white rounded-xl shadow-lg p-6">
<h3 class="text-xl font-bold text-gray-800 mb-4">Technical Factors</h3>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Fast page load speed (1.2s)</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Mobile responsive design</span>
</li>
<li class="flex items-start">
<i class="fas fa-exclamation-circle text-red-500 mt-1 mr-2"></i>
<span>Missing JSON-LD structured data</span>
</li>
<li class="flex items-start">
<i class="fas fa-exclamation-circle text-yellow-500 mt-1 mr-2"></i>
<span>Could improve canonical URL implementation</span>
</li>
</ul>
</div>
</div>
</div>
<!-- Prompt Simulator Content (Hidden by default) -->
<div id="prompt-simulator-content" class="hidden fade-in">
<div class="bg-white rounded-xl shadow-lg p-6 mb-8">
<h3 class="text-xl font-bold text-gray-800 mb-4">Prompt Recall Simulator</h3>
<p class="text-gray-600 mb-6">Test how likely your site is to be recommended in response to specific LLM prompts</p>
<div class="mb-6">
<label class="block text-gray-700 mb-2">Select a common prompt or create your own:</label>
<div class="flex flex-wrap gap-2 mb-4">
<button class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-3 py-1 rounded-full text-sm transition prompt-preset">Best AI tools to rebuild websites from URL</button>
<button class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-3 py-1 rounded-full text-sm transition prompt-preset">What are top AI SEO tools in 2025?</button>
<button class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-3 py-1 rounded-full text-sm transition prompt-preset">AI-powered ProductHunt alternatives</button>
</div>
<div class="relative">
<textarea id="prompt-input" class="w-full px-4 py-3 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" rows="3" placeholder="Enter your custom prompt..."></textarea>
<button id="simulate-btn" class="absolute right-2 bottom-2 bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition">Simulate</button>
</div>
</div>
<div id="simulation-result" class="hidden bg-gray-50 rounded-lg p-6 border border-gray-200">
<div class="flex items-center mb-4">
<div class="bg-blue-100 text-blue-800 p-2 rounded-full mr-3">
<i class="fas fa-robot"></i>
</div>
<h4 class="font-bold text-gray-800">Simulation Result</h4>
</div>
<div class="bg-white rounded-lg p-4 mb-4 shadow-inner">
<p class="text-gray-800">When looking for AI tools to rebuild websites from a URL, some of the top options include:</p>
<ul class="list-disc pl-5 mt-2 space-y-1">
<li>Durable - AI website builder that can create a site in seconds</li>
<li>CodeWP - AI-powered WordPress code generator</li>
<li class="font-bold">YourSite (mentioned but not highlighted)</li>
<li>10Web - AI website builder with hosting</li>
</ul>
<p class="text-gray-800 mt-2">These tools use AI to analyze existing websites and generate new versions with similar structure and content.</p>
</div>
<div class="bg-yellow-50 border-l-4 border-yellow-400 p-4">
<div class="flex">
<div class="flex-shrink-0">
<i class="fas fa-lightbulb text-yellow-500 mt-1 mr-2"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Opportunities to Improve</h4>
<ul class="list-disc pl-5 mt-2 space-y-1 text-gray-700">
<li>Your site was mentioned but not in the top recommendations</li>
<li>Add more specific claims like "AI website rebuilder" in your title</li>
<li>Get featured on AI tool directories that LLMs reference</li>
<li>Include detailed comparison tables showing your advantages</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Schema Validator Content (Hidden by default) -->
<div id="schema-validator-content" class="hidden fade-in">
<div class="bg-white rounded-xl shadow-lg p-6">
<h3 class="text-xl font-bold text-gray-800 mb-4">Schema & Metadata Validation</h3>
<div class="grid md:grid-cols-2 gap-6 mb-6">
<div class="bg-gray-50 rounded-lg p-4">
<h4 class="font-bold text-gray-800 mb-3">Detected Schema Types</h4>
<div class="space-y-2">
<div class="flex items-center">
<i class="fas fa-times-circle text-red-500 mr-2"></i>
<span>SoftwareApplication (Missing)</span>
</div>
<div class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>Organization (Present)</span>
</div>
<div class="flex items-center">
<i class="fas fa-times-circle text-red-500 mr-2"></i>
<span>Product (Missing)</span>
</div>
<div class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>WebPage (Present)</span>
</div>
</div>
</div>
<div class="bg-gray-50 rounded-lg p-4">
<h4 class="font-bold text-gray-800 mb-3">Recommended Schema Properties</h4>
<div class="space-y-2">
<div class="flex items-center">
<i class="fas fa-exclamation-circle text-yellow-500 mr-2"></i>
<span>applicationCategory</span>
</div>
<div class="flex items-center">
<i class="fas fa-exclamation-circle text-yellow-500 mr-2"></i>
<span>operatingSystem</span>
</div>
<div class="flex items-center">
<i class="fas fa-exclamation-circle text-yellow-500 mr-2"></i>
<span>offers</span>
</div>
<div class="flex items-center">
<i class="fas fa-check-circle text-green-500 mr-2"></i>
<span>name</span>
</div>
</div>
</div>
</div>
<div class="mb-6">
<h4 class="font-bold text-gray-800 mb-2">Schema Implementation Guide</h4>
<div class="bg-gray-800 rounded-lg p-4 overflow-x-auto">
<pre class="text-green-400 text-sm"><code>&lt;script type="application/ld+json"&gt;
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Your Product Name",
"applicationCategory": "BusinessApplication",
"operatingSystem": "Web Browser",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
}
}
&lt;/script&gt;</code></pre>
</div>
</div>
<div class="bg-blue-50 border-l-4 border-blue-400 p-4">
<div class="flex">
<div class="flex-shrink-0">
<i class="fas fa-info-circle text-blue-500 mt-1 mr-2"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Why Schema Matters for LLMs</h4>
<p class="text-gray-700 mt-1">Large language models rely heavily on structured data to understand your product's purpose, features, and categorization. Proper schema markup can increase your visibility in LLM responses by up to 300%.</p>
</div>
</div>
</div>
</div>
</div>
<!-- Competitor Benchmark Content (Hidden by default) -->
<div id="competitor-content" class="hidden fade-in">
<div class="bg-white rounded-xl shadow-lg p-6">
<h3 class="text-xl font-bold text-gray-800 mb-4">Competitor Benchmarking</h3>
<div class="mb-6">
<label class="block text-gray-700 mb-2">Enter competitor URLs (up to 3):</label>
<div class="space-y-2 mb-3" id="competitor-inputs">
<div class="flex">
<input type="text" placeholder="https://competitor1.com" class="flex-grow px-4 py-2 border rounded-l-lg focus:outline-none">
<button class="bg-gray-200 text-gray-600 px-4 py-2 rounded-r-lg hover:bg-gray-300 transition">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<button id="add-competitor-btn" class="text-blue-600 hover:text-blue-800 flex items-center">
<i class="fas fa-plus-circle mr-1"></i> Add Competitor
</button>
</div>
<button id="run-benchmark-btn" class="bg-blue-600 text-white px-6 py-3 rounded-lg hover:bg-blue-700 transition mb-6">Run Benchmark Analysis</button>
<div id="benchmark-results" class="hidden">
<div class="overflow-x-auto">
<table class="min-w-full bg-white rounded-lg overflow-hidden">
<thead class="bg-gray-100">
<tr>
<th class="py-3 px-4 text-left text-gray-700">Metric</th>
<th class="py-3 px-4 text-left text-gray-700">Your Site</th>
<th class="py-3 px-4 text-left text-gray-700">Competitor A</th>
<th class="py-3 px-4 text-left text-gray-700">Competitor B</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-200">
<tr>
<td class="py-3 px-4 text-gray-700">LLM Indexability Score</td>
<td class="py-3 px-4 font-bold">72</td>
<td class="py-3 px-4">85</td>
<td class="py-3 px-4">78</td>
</tr>
<tr>
<td class="py-3 px-4 text-gray-700">Schema Completeness</td>
<td class="py-3 px-4 font-bold">65%</td>
<td class="py-3 px-4">95%</td>
<td class="py-3 px-4">80%</td>
</tr>
<tr>
<td class="py-3 px-4 text-gray-700">Prompt Recall Rate</td>
<td class="py-3 px-4 font-bold">42%</td>
<td class="py-3 px-4">68%</td>
<td class="py-3 px-4">55%</td>
</tr>
<tr>
<td class="py-3 px-4 text-gray-700">Source Amplification</td>
<td class="py-3 px-4 font-bold">3 platforms</td>
<td class="py-3 px-4">7 platforms</td>
<td class="py-3 px-4">5 platforms</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-6 bg-green-50 border-l-4 border-green-400 p-4">
<div class="flex">
<div class="flex-shrink-0">
<i class="fas fa-lightbulb text-green-500 mt-1 mr-2"></i>
</div>
<div>
<h4 class="font-bold text-gray-800">Competitor Insights</h4>
<ul class="list-disc pl-5 mt-2 space-y-1 text-gray-700">
<li>Competitor A has nearly complete schema markup (95%) which explains their higher recall rate</li>
<li>Both competitors are listed on more amplification platforms (ProductHunt, GitHub, etc.)</li>
<li>Your content quality is comparable, but lacks specific prompt targeting</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Features Section -->
<section class="bg-gray-50 py-16">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">How EchoRank Helps You Get Recommended</h2>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition">
<div class="gradient-bg text-white p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-search text-xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">LLM Indexability Analysis</h3>
<p class="text-gray-600">Get a comprehensive score evaluating how well your site is structured for discovery by large language models.</p>
</div>
<div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition">
<div class="gradient-bg text-white p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-comment-alt text-xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Prompt Recall Simulation</h3>
<p class="text-gray-600">Test how likely your product is to be recommended in response to real user prompts on ChatGPT and similar platforms.</p>
</div>
<div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition">
<div class="gradient-bg text-white p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-tasks text-xl"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Actionable Recommendations</h3>
<p class="text-gray-600">Get prioritized, step-by-step guidance to improve your visibility in LLM responses.</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="gradient-bg text-white py-16">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to Get Recommended by ChatGPT?</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto">Join hundreds of businesses optimizing their online presence for the age of AI assistants.</p>
<button class="bg-white text-blue-600 px-8 py-3 rounded-lg text-lg font-bold hover:bg-gray-100 transition">Start Your Free Analysis</button>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-gray-400 py-12">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<div class="gradient-bg text-white p-2 rounded-lg">
<i class="fas fa-robot text-xl"></i>
</div>
<h3 class="text-xl font-bold text-white">EchoRank</h3>
</div>
<p class="mb-4">Optimizing your digital presence for recommendation by large language models.</p>
<div class="flex space-x-4">
<a href="#" class="hover:text-white"><i class="fab fa-twitter"></i></a>
<a href="#" class="hover:text-white"><i class="fab fa-linkedin"></i></a>
<a href="#" class="hover:text-white"><i class="fab fa-github"></i></a>
</div>
</div>
<div>
<h4 class="text-lg font-bold text-white mb-4">Product</h4>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white">Features</a></li>
<li><a href="#" class="hover:text-white">Pricing</a></li>
<li><a href="#" class="hover:text-white">API</a></li>
<li><a href="#" class="hover:text-white">Integrations</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold text-white mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white">Documentation</a></li>
<li><a href="#" class="hover:text-white">Guides</a></li>
<li><a href="#" class="hover:text-white">Blog</a></li>
<li><a href="#" class="hover:text-white">Status</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold text-white mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white">About</a></li>
<li><a href="#" class="hover:text-white">Careers</a></li>
<li><a href="#" class="hover:text-white">Privacy</a></li>
<li><a href="#" class="hover:text-white">Terms</a></li>
</ul>
</div>
</div>
<div class="pt-8 border-t border-gray-800 text-sm text-center">
<p>© 2023 EchoRank. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Tab switching functionality
const tabs = {
recommendations: {
tab: document.getElementById('recommendations-tab'),
content: document.getElementById('recommendations-content')
},
promptSimulator: {
tab: document.getElementById('prompt-simulator-tab'),
content: document.getElementById('prompt-simulator-content')
},
schemaValidator: {
tab: document.getElementById('schema-validator-tab'),
content: document.getElementById('schema-validator-content')
},
competitor: {
tab: document.getElementById('competitor-tab'),
content: document.getElementById('competitor-content')
}
};
function activateTab(activeTab) {
// Reset all tabs
Object.values(tabs).forEach(tab => {
tab.tab.classList.remove('tab-active');
tab.tab.classList.add('text-gray-600');
tab.content.classList.add('hidden');
});
// Activate selected tab
activeTab.tab.classList.add('tab-active');
activeTab.tab.classList.remove('text-gray-600');
activeTab.content.classList.remove('hidden');
}
// Add event listeners to tabs
tabs.recommendations.tab.addEventListener('click', () => activateTab(tabs.recommendations));
tabs.promptSimulator.tab.addEventListener('click', () => activateTab(tabs.promptSimulator));
tabs.schemaValidator.tab.addEventListener('click', () => activateTab(tabs.schemaValidator));
tabs.competitor.tab.addEventListener('click', () => activateTab(tabs.competitor));
// Analyze button functionality
document.getElementById('analyze-btn').addEventListener('click', function() {
const urlInput = document.getElementById('url-input').value;
if (urlInput) {
document.getElementById('score-card').classList.remove('hidden');
// Animate score ring
const scoreRing = document.querySelector('.score-ring');
scoreRing.style.strokeDashoffset = 'calc(314 - (314 * 72) / 100)';
// Scroll to results
setTimeout(() => {
document.getElementById('score-card').scrollIntoView({ behavior: 'smooth' });
}, 100);
}
});
// Prompt simulator functionality
document.getElementById('simulate-btn').addEventListener('click', function() {
const promptInput = document.getElementById('prompt-input').value;
if (promptInput) {
document.getElementById('simulation-result').classList.remove('hidden');
}
});
// Preset prompt buttons
document.querySelectorAll('.prompt-preset').forEach(button => {
button.addEventListener('click', function() {
document.getElementById('prompt-input').value = this.textContent;
});
});
// Competitor benchmark functionality
document.getElementById('add-competitor-btn').addEventListener('click', function() {
const competitorInputs = document.getElementById('competitor-inputs');
if (competitorInputs.children.length < 3) {
const newInput = document.createElement('div');
newInput.className = 'flex';
newInput.innerHTML = `
<input type="text" placeholder="https://competitor${competitorInputs.children.length + 1}.com" class="flex-grow px-4 py-2 border rounded-l-lg focus:outline-none">
<button class="bg-gray-200 text-gray-600 px-4 py-2 rounded-r-lg hover:bg-gray-300 transition">
<i class="fas fa-times"></i>
</button>
`;
competitorInputs.appendChild(newInput);
// Add event listener to remove button
newInput.querySelector('button').addEventListener('click', function() {
competitorInputs.removeChild(newInput);
});
}
});
document.getElementById('run-benchmark-btn').addEventListener('click', function() {
document.getElementById('benchmark-results').classList.remove('hidden');
});
</script>
<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=nock2/echorank" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>