Convert remaining 23 HTML files to professional theme
- Convert 10 ROA files from new-style.css to professional-theme.css - Convert 6 ROA files from legacy style.css to professional theme - Convert 3 menu files from legacy style.css to professional theme - Convert 3 chatbot files while preserving functionality - Convert demo.html to professional theme - Apply Tailwind CSS + Flowbite + Lucide Icons throughout - Modernize navigation and footer consistency - Maintain all original content and functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,20 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="ro">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>RomFast - Contact</title>
|
||||
<title>Maria ChatBot - Romfast Suport</title>
|
||||
<meta name="description" content="Maria ChatBot - Specialist suport tehnic Romfast pentru ROA. Răspunsuri expert la întrebări despre sistem și link-uri partajabile.">
|
||||
|
||||
<!-- Tailwind CSS -->
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<!-- Flowbite -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/flowbite@2.0.0/dist/flowbite.min.js"></script>
|
||||
<!-- Lucide Icons -->
|
||||
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
|
||||
<!-- Google Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||||
<!-- Professional Theme CSS -->
|
||||
<link href="professional-theme.css" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
/* Enhanced professional styling for Maria's advanced features */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #333;
|
||||
background: #444;
|
||||
font-family: var(--font-sans) !important;
|
||||
background: var(--background) !important;
|
||||
color: var(--foreground) !important;
|
||||
letter-spacing: var(--tracking-normal) !important;
|
||||
line-height: 1.6 !important;
|
||||
}
|
||||
|
||||
/* Stiluri pentru butonul mic de generare link */
|
||||
/* Professional styling for link generation button */
|
||||
.link-button-small {
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
@@ -27,17 +40,18 @@
|
||||
justify-content: center !important;
|
||||
cursor: pointer !important;
|
||||
transition: all 0.2s ease !important;
|
||||
border-radius: 6px !important;
|
||||
border-radius: var(--radius) !important;
|
||||
font-size: 18px !important;
|
||||
color: #3B81F6 !important;
|
||||
color: var(--primary) !important;
|
||||
opacity: 0.8 !important;
|
||||
flex-shrink: 0 !important;
|
||||
}
|
||||
|
||||
.link-button-small:hover {
|
||||
background-color: rgba(59, 129, 246, 0.1) !important;
|
||||
background-color: var(--card-hover) !important;
|
||||
opacity: 1 !important;
|
||||
transform: scale(1.05) !important;
|
||||
color: var(--secondary) !important;
|
||||
}
|
||||
|
||||
.link-button-small:active {
|
||||
@@ -45,24 +59,26 @@
|
||||
}
|
||||
|
||||
.link-button-small.success {
|
||||
color: #10B981 !important;
|
||||
background-color: rgba(16, 185, 129, 0.1) !important;
|
||||
color: var(--accent) !important;
|
||||
background-color: rgba(184, 85, 85, 0.1) !important;
|
||||
}
|
||||
|
||||
/* Professional toast notifications */
|
||||
.toast {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
background-color: #10B981;
|
||||
color: white;
|
||||
background: var(--primary) !important;
|
||||
color: var(--primary-foreground) !important;
|
||||
padding: 12px 20px;
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
z-index: 10000;
|
||||
opacity: 0;
|
||||
transform: translateX(100%);
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: var(--shadow-lg) !important;
|
||||
font-size: 14px;
|
||||
font-family: var(--font-sans) !important;
|
||||
}
|
||||
|
||||
.toast.show {
|
||||
@@ -71,17 +87,19 @@
|
||||
}
|
||||
|
||||
.toast.error {
|
||||
background-color: #EF4444;
|
||||
background: var(--accent) !important;
|
||||
color: var(--accent-foreground) !important;
|
||||
}
|
||||
|
||||
/* Stiluri pentru mesajele API */
|
||||
/* Professional API message container */
|
||||
.api-message-container {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(255, 255, 255, 0.95);
|
||||
background-color: rgba(250, 251, 252, 0.95);
|
||||
backdrop-filter: blur(8px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@@ -92,9 +110,10 @@
|
||||
}
|
||||
|
||||
.api-message-box {
|
||||
background-color: #fff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
background: var(--card) !important;
|
||||
border-radius: var(--radius-xl) !important;
|
||||
box-shadow: var(--shadow-2xl) !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
max-width: 600px;
|
||||
width: 90%;
|
||||
max-height: 90vh;
|
||||
@@ -107,7 +126,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 20px 20px 10px 20px;
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -116,11 +135,11 @@
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
margin-right: 15px;
|
||||
background-color: #1B5B76;
|
||||
background: var(--primary) !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
color: var(--primary-foreground) !important;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
}
|
||||
@@ -128,7 +147,8 @@
|
||||
.api-message-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
color: var(--foreground) !important;
|
||||
font-family: var(--font-sans) !important;
|
||||
}
|
||||
|
||||
.api-message-scrollable {
|
||||
@@ -140,44 +160,49 @@
|
||||
.api-message-content {
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
color: var(--foreground) !important;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
padding: 15px 0;
|
||||
font-family: var(--font-sans) !important;
|
||||
}
|
||||
|
||||
.api-message-footer {
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid var(--border) !important;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.api-message-button {
|
||||
background-color: #3B81F6;
|
||||
color: white;
|
||||
background: var(--button-gradient) !important;
|
||||
color: var(--primary-foreground) !important;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
padding: 8px 15px;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
padding: 12px 24px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
transition: opacity 0.2s;
|
||||
font-family: var(--font-sans) !important;
|
||||
}
|
||||
|
||||
.api-message-button:hover {
|
||||
background-color: #2d6acd;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.user-query {
|
||||
background-color: #f0f0f0;
|
||||
background: var(--muted) !important;
|
||||
color: var(--muted-foreground) !important;
|
||||
padding: 10px 15px;
|
||||
border-radius: 18px;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
margin-bottom: 15px;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
font-size: 15px;
|
||||
word-wrap: break-word;
|
||||
font-family: var(--font-sans) !important;
|
||||
}
|
||||
|
||||
.api-message-scrollable::-webkit-scrollbar {
|
||||
@@ -198,9 +223,124 @@
|
||||
background: #a8a8a8;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<flowise-fullchatbot></flowise-fullchatbot>
|
||||
<body class="min-h-screen">
|
||||
<!-- Soft Professional Blue Header -->
|
||||
<header class="professional-navbar sticky top-0 z-50">
|
||||
<nav class="container mx-auto px-4 py-4">
|
||||
<div class="flex items-center justify-between">
|
||||
<!-- Logo Section -->
|
||||
<div class="flex items-center space-x-3">
|
||||
<img src="images/romfast_logo.png" alt="Romfast Logo" class="romfast-logo">
|
||||
<div class="hidden md:block">
|
||||
<p class="text-white text-sm italic font-light">Aduce informația în mâinile tale</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Centered Navigation -->
|
||||
<div class="hidden lg:flex items-center space-x-8">
|
||||
<a href="index.html" class="text-white hover:text-blue-200 transition-colors font-medium nav-link">Prima pagina</a>
|
||||
<a href="menu/desprenoi.html" class="text-white hover:text-blue-200 transition-colors nav-link">Despre noi</a>
|
||||
<a href="roa/aplicatii-erp.html" class="text-white hover:text-blue-200 transition-colors nav-link">ROA</a>
|
||||
<div class="relative group">
|
||||
<button class="text-white hover:text-blue-200 transition-colors flex items-center space-x-1 nav-link">
|
||||
<span>Servicii</span>
|
||||
<i data-lucide="chevron-down" class="w-4 h-4"></i>
|
||||
</button>
|
||||
<div class="absolute top-full left-0 mt-2 w-48 bg-white rounded-lg shadow-lg border border-gray-200 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300">
|
||||
<a href="menu/analiza.html" class="block px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 rounded-t-lg">Analiza</a>
|
||||
<a href="menu/implementare.html" class="block px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800">Implementare</a>
|
||||
<a href="menu/roa-suport-tehnic.html" class="block px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800">Suport tehnic ROA</a>
|
||||
<a href="menu/alteservicii.html" class="block px-4 py-3 text-gray-700 hover:bg-blue-50 hover:text-blue-800 rounded-b-lg">Alte servicii</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="menu/referinte.html" class="text-white hover:text-blue-200 transition-colors nav-link">Referinte</a>
|
||||
<a href="menu/angajari.html" class="text-white hover:text-blue-200 transition-colors nav-link">Angajari</a>
|
||||
<a href="menu/contact.html" class="text-white hover:text-blue-200 transition-colors nav-link">Contact</a>
|
||||
</div>
|
||||
|
||||
<!-- Theme Toggle & Mobile Menu -->
|
||||
<div class="flex items-center space-x-4">
|
||||
<button id="theme-toggle" class="text-white p-2 rounded-lg hover:bg-white hover:bg-opacity-20 transition-all duration-300">
|
||||
<i data-lucide="sun" class="w-5 h-5"></i>
|
||||
</button>
|
||||
<button id="mobile-menu-toggle" class="lg:hidden text-white p-2 rounded-lg hover:bg-white hover:bg-opacity-20 transition-all duration-300">
|
||||
<i data-lucide="menu" class="w-6 h-6" id="menu-icon"></i>
|
||||
<i data-lucide="x" class="w-6 h-6 hidden" id="close-icon"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Mobile Menu -->
|
||||
<div id="mobile-menu" class="lg:hidden hidden bg-white border-t border-gray-200 shadow-lg">
|
||||
<div class="px-4 py-4 space-y-3">
|
||||
<a href="index.html" class="block text-gray-700 hover:text-blue-600 transition-colors font-medium py-2">Prima pagina</a>
|
||||
<a href="menu/desprenoi.html" class="block text-gray-700 hover:text-blue-600 transition-colors py-2">Despre noi</a>
|
||||
<a href="roa/aplicatii-erp.html" class="block text-gray-700 hover:text-blue-600 transition-colors py-2">ROA</a>
|
||||
<div class="border-l-2 border-gray-300 pl-4 space-y-2">
|
||||
<p class="text-gray-600 font-medium text-sm">Servicii</p>
|
||||
<a href="menu/analiza.html" class="block text-gray-600 hover:text-blue-600 transition-colors py-1 text-sm">Analiza</a>
|
||||
<a href="menu/implementare.html" class="block text-gray-600 hover:text-blue-600 transition-colors py-1 text-sm">Implementare</a>
|
||||
<a href="menu/roa-suport-tehnic.html" class="block text-gray-600 hover:text-blue-600 transition-colors py-1 text-sm">Suport tehnic ROA</a>
|
||||
<a href="menu/alteservicii.html" class="block text-gray-600 hover:text-blue-600 transition-colors py-1 text-sm">Alte servicii</a>
|
||||
</div>
|
||||
<a href="menu/referinte.html" class="block text-gray-700 hover:text-blue-600 transition-colors py-2">Referinte</a>
|
||||
<a href="menu/angajari.html" class="block text-gray-700 hover:text-blue-600 transition-colors py-2">Angajari</a>
|
||||
<a href="menu/contact.html" class="block text-gray-700 hover:text-blue-600 transition-colors py-2">Contact</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<!-- Main Content Container -->
|
||||
<main class="container mx-auto px-4 py-8 max-w-7xl">
|
||||
|
||||
<!-- Maria Chatbot Section with Professional Styling -->
|
||||
<section class="professional-hero text-center mb-8">
|
||||
<div class="max-w-4xl mx-auto relative z-10">
|
||||
<h1 class="text-4xl md:text-5xl font-bold mb-6 professional-text-primary">
|
||||
Maria ChatBot
|
||||
</h1>
|
||||
<p class="text-xl professional-text-secondary mb-8 leading-relaxed">
|
||||
Specialistul dvs. de suport tehnic Romfast. Oferă răspunsuri expert despre utilizarea sistemului ROA cu posibilitatea de partajare prin link-uri.
|
||||
</p>
|
||||
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
||||
<div class="professional-btn-secondary inline-flex items-center space-x-2">
|
||||
<i data-lucide="link" class="w-4 h-4"></i>
|
||||
<span>Generare link-uri partajabile</span>
|
||||
</div>
|
||||
<div class="professional-btn-secondary inline-flex items-center space-x-2">
|
||||
<i data-lucide="message-circle" class="w-4 h-4"></i>
|
||||
<span>Răspunsuri din URL</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Chatbot Container -->
|
||||
<div class="professional-card p-8 max-w-4xl mx-auto">
|
||||
<div class="text-center mb-6">
|
||||
<h2 class="text-2xl font-semibold professional-text-primary mb-4">Suport Tehnic Expert ROA</h2>
|
||||
<p class="professional-text-secondary">Puneți întrebări avansate despre configurarea și utilizarea sistemului ROA. Maria poate genera link-uri partajabile pentru răspunsuri și poate procesa întrebări din URL-uri.</p>
|
||||
</div>
|
||||
|
||||
<!-- Flowise Chatbot -->
|
||||
<div class="flex justify-center">
|
||||
<flowise-fullchatbot></flowise-fullchatbot>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Professional Footer -->
|
||||
<footer class="professional-navbar mt-16">
|
||||
<div class="container mx-auto px-4 py-8 text-center">
|
||||
<div class="text-white">
|
||||
<p class="mb-2">© 2025 Romfast. Toate drepturile rezervate.</p>
|
||||
<p class="text-sm opacity-80">ROA - Romfast Applications - Sisteme informatice pentru managementul afacerii</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script type="module">
|
||||
import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
|
||||
@@ -838,5 +978,57 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Professional Theme JavaScript -->
|
||||
<script>
|
||||
// Theme toggle functionality
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Initialize Lucide icons
|
||||
lucide.createIcons();
|
||||
|
||||
// Theme toggle
|
||||
const themeToggle = document.getElementById('theme-toggle');
|
||||
const body = document.body;
|
||||
const html = document.documentElement;
|
||||
|
||||
// Check for saved theme preference or default to 'light'
|
||||
const currentTheme = localStorage.getItem('theme') || 'light';
|
||||
|
||||
if (currentTheme === 'dark') {
|
||||
body.classList.add('dark-mode');
|
||||
html.classList.add('dark-mode');
|
||||
themeToggle.innerHTML = '<i data-lucide="moon" class="w-5 h-5"></i>';
|
||||
}
|
||||
|
||||
themeToggle.addEventListener('click', function() {
|
||||
body.classList.toggle('dark-mode');
|
||||
html.classList.toggle('dark-mode');
|
||||
|
||||
// Update icon
|
||||
if (body.classList.contains('dark-mode')) {
|
||||
themeToggle.innerHTML = '<i data-lucide="moon" class="w-5 h-5"></i>';
|
||||
localStorage.setItem('theme', 'dark');
|
||||
} else {
|
||||
themeToggle.innerHTML = '<i data-lucide="sun" class="w-5 h-5"></i>';
|
||||
localStorage.setItem('theme', 'light');
|
||||
}
|
||||
|
||||
// Reinitialize icons
|
||||
lucide.createIcons();
|
||||
});
|
||||
|
||||
// Mobile menu toggle
|
||||
const mobileMenuToggle = document.getElementById('mobile-menu-toggle');
|
||||
const mobileMenu = document.getElementById('mobile-menu');
|
||||
const menuIcon = document.getElementById('menu-icon');
|
||||
const closeIcon = document.getElementById('close-icon');
|
||||
|
||||
mobileMenuToggle.addEventListener('click', function() {
|
||||
mobileMenu.classList.toggle('hidden');
|
||||
menuIcon.classList.toggle('hidden');
|
||||
closeIcon.classList.toggle('hidden');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user