PrOvERBs_Law / LIVE_PREVIEW.html
Solomon7890's picture
Add Live Preview Page
c782f59 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ProVerBs Ultimate Legal AI Brain - Live Preview</title>
<meta name="description" content="ProVerBs Ultimate Legal AI Brain - Advanced legal assistant with 100+ reasoning protocols">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
flex-direction: column;
}
.header {
background: rgba(255, 255, 255, 0.95);
padding: 20px;
text-align: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header h1 {
color: #667eea;
font-size: 2.5rem;
margin-bottom: 10px;
}
.header p {
color: #666;
font-size: 1.1rem;
}
.badges {
margin: 15px 0;
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
}
.badge {
background: #667eea;
color: white;
padding: 8px 16px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
}
.preview-container {
flex: 1;
display: flex;
flex-direction: column;
padding: 20px;
max-width: 1400px;
margin: 0 auto;
width: 100%;
}
.status-bar {
background: rgba(255, 255, 255, 0.95);
padding: 15px 20px;
border-radius: 10px;
margin-bottom: 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.status-item {
display: flex;
align-items: center;
gap: 10px;
}
.status-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: #10b981;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.iframe-container {
flex: 1;
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
iframe {
width: 100%;
height: 100%;
border: none;
}
.loading {
display: flex;
justify-content: center;
align-items: center;
height: 400px;
font-size: 1.2rem;
color: white;
}
.spinner {
border: 4px solid rgba(255, 255, 255, 0.3);
border-top: 4px solid white;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin-right: 15px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.quick-links {
background: rgba(255, 255, 255, 0.95);
padding: 15px;
border-radius: 10px;
margin-top: 20px;
text-align: center;
}
.quick-links a {
display: inline-block;
background: #667eea;
color: white;
padding: 10px 20px;
border-radius: 8px;
text-decoration: none;
margin: 5px;
font-weight: 600;
transition: all 0.3s;
}
.quick-links a:hover {
background: #764ba2;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
@media (max-width: 768px) {
.header h1 {
font-size: 1.8rem;
}
.status-bar {
flex-direction: column;
gap: 10px;
}
}
</style>
</head>
<body>
<div class="header">
<h1>βš–οΈ ProVerBs Ultimate Legal AI Brain</h1>
<p>Live Preview - Version 3.0</p>
<div class="badges">
<span class="badge">🧠 100+ Reasoning Protocols</span>
<span class="badge">πŸ€– 6 AI Models</span>
<span class="badge">βš–οΈ 7 Legal Modes</span>
<span class="badge">🎡 Audio Processing</span>
</div>
</div>
<div class="preview-container">
<div class="status-bar">
<div class="status-item">
<div class="status-dot"></div>
<span><strong>Status:</strong> Live & Running</span>
</div>
<div class="status-item">
<span><strong>Space:</strong> Solomon7890/ProVerbS_LaW_mAiN_PAgE</span>
</div>
<div class="status-item">
<span><strong>Version:</strong> 3.0 Ultimate Brain</span>
</div>
</div>
<div class="iframe-container" id="iframeContainer">
<div class="loading">
<div class="spinner"></div>
<span>Loading ProVerBs Ultimate Brain...</span>
</div>
</div>
<div class="quick-links">
<a href="https://huggingface.co/spaces/Solomon7890/ProVerbS_LaW_mAiN_PAgE" target="_blank">
πŸš€ Open Full Space
</a>
<a href="https://huggingface.co/spaces/Solomon7890/ProVerbS_LaW_mAiN_PAgE/settings" target="_blank">
βš™οΈ Settings
</a>
<a href="#" onclick="reloadIframe(); return false;">
πŸ”„ Reload Preview
</a>
</div>
</div>
<script>
// Load iframe after page load
window.addEventListener('load', function() {
setTimeout(function() {
const container = document.getElementById('iframeContainer');
const iframe = document.createElement('iframe');
iframe.src = 'https://solomon7890-proverbslawmainpage.hf.space';
iframe.allow = 'microphone; camera';
container.innerHTML = '';
container.appendChild(iframe);
}, 1000);
});
function reloadIframe() {
const container = document.getElementById('iframeContainer');
const iframe = container.querySelector('iframe');
if (iframe) {
iframe.src = iframe.src;
}
}
// Auto-refresh status every 30 seconds
setInterval(function() {
console.log('ProVerBs Ultimate Brain - Status Check');
}, 30000);
</script>
</body>
</html>