legal-advice / index.html
rosamedgroup's picture
- Initial Deployment
50aa421 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Avocat Final - Hugging Face Space</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, #f3f4f6 0%, #e5e7eb 100%);
}
.card-hover:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.transition-all {
transition: all 0.3s ease;
}
</style>
</head>
<body class="gradient-bg min-h-screen">
<div class="container mx-auto px-4 py-8">
<!-- Header Section -->
<header class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
<div class="flex items-center space-x-4 mb-4 md:mb-0">
<a href="https://huggingface.co/" class="transition-all hover:opacity-80">
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="Hugging Face Logo" class="h-8">
</a>
<span class="text-gray-500">/</span>
<a href="https://huggingface.co/spaces" class="text-blue-600 hover:underline">Spaces</a>
</div>
<div class="flex items-center space-x-4">
<button class="flex items-center space-x-2 bg-white px-4 py-2 rounded-lg shadow-sm hover:shadow-md transition-all">
<i class="fas fa-heart text-gray-400"></i>
<span class="text-gray-700">Like</span>
<span class="bg-gray-100 text-gray-600 px-2 py-1 rounded-full text-xs">0</span>
</button>
<div class="relative group">
<button class="flex items-center space-x-2 bg-white px-4 py-2 rounded-lg shadow-sm hover:shadow-md transition-all">
<i class="fas fa-share-nodes text-gray-400"></i>
<span class="text-gray-700">Share</span>
</button>
<div class="absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-10 hidden group-hover:block">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Copy link</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Twitter</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">LinkedIn</a>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="bg-white rounded-xl shadow-md overflow-hidden transition-all card-hover">
<!-- Space Info Section -->
<div class="p-6 border-b border-gray-200">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center">
<div>
<h1 class="text-2xl font-bold text-gray-800 mb-1">ai-avocat-final</h1>
<p class="text-gray-600 mb-4">A Hugging Face Space by rosamedgroup</p>
<div class="flex items-center space-x-2 mb-4">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
<svg class="-ml-0.5 mr-1.5 h-2 w-2 text-green-400" fill="currentColor" viewBox="0 0 8 8">
<circle cx="4" cy="4" r="3" />
</svg>
Running
</span>
<span class="text-sm text-gray-500">Duplicated from <a href="https://huggingface.co/spaces/kasimon/ai-avocat-final" class="text-blue-600 hover:underline">kasimon/ai-avocat-final</a></span>
</div>
</div>
<div class="flex items-center space-x-2">
<img src="https://huggingface.co/avatars/1eedb962f63002267af0a457a91d987c.svg" alt="Avatar" class="h-10 w-10 rounded-full">
<img src="https://huggingface.co/avatars/887afc57f98d6a25824c3dc4aeb8ad7f.svg" alt="Avatar" class="h-10 w-10 rounded-full">
<div>
<p class="text-sm font-medium text-gray-900"><a href="https://huggingface.co/rosamedgroup" class="hover:underline">rosamedgroup</a></p>
<p class="text-xs text-gray-500">Owner</p>
</div>
</div>
</div>
</div>
<!-- Navigation Tabs -->
<div class="border-b border-gray-200">
<nav class="flex -mb-px">
<a href="#" class="whitespace-nowrap py-4 px-6 border-b-2 border-blue-500 font-medium text-sm text-blue-600">
<i class="fas fa-rocket mr-2"></i>App
</a>
<a href="https://huggingface.co/spaces/rosamedgroup/ai-avocat-final/tree/main" class="whitespace-nowrap py-4 px-6 border-b-2 border-transparent font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">
<i class="fas fa-folder mr-2"></i>Files
</a>
<a href="https://huggingface.co/spaces/rosamedgroup/ai-avocat-final/discussions" class="whitespace-nowrap py-4 px-6 border-b-2 border-transparent font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">
<i class="fas fa-comments mr-2"></i>Community
</a>
</nav>
</div>
<!-- App Content Section -->
<div class="p-6">
<div class="flex flex-col items-center justify-center py-12">
<div class="animate-pulse flex space-x-4 mb-4">
<div class="rounded-full bg-blue-100 h-8 w-8"></div>
<div class="rounded-full bg-blue-100 h-8 w-8"></div>
<div class="rounded-full bg-blue-100 h-8 w-8"></div>
</div>
<p class="text-gray-600">Loading the AI Avocat application...</p>
<button class="mt-4 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i class="fas fa-sync-alt mr-2"></i> Refresh
</button>
</div>
</div>
</main>
<!-- Footer Section -->
<footer class="mt-8 text-center text-gray-500 text-sm">
<p>Powered by <a href="https://huggingface.co/" class="text-blue-600 hover:underline">Hugging Face</a></p>
<p class="mt-1">© 2023 rosamedgroup. All rights reserved.</p>
</footer>
</div>
<script>
// Simple animation for the loading dots
const dots = document.querySelectorAll('.animate-pulse > div');
let currentDot = 0;
setInterval(() => {
dots.forEach(dot => dot.classList.remove('bg-blue-400'));
dots[currentDot].classList.add('bg-blue-400');
currentDot = (currentDot + 1) % dots.length;
}, 500);
// Refresh button functionality
document.querySelector('button').addEventListener('click', () => {
const loadingText = document.querySelector('.text-gray-600');
loadingText.textContent = 'Refreshing the application...';
setTimeout(() => {
loadingText.textContent = 'Loading the AI Avocat application...';
}, 1500);
});
</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=rosamedgroup/legal-advice" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>