Refactor: Extract CSS and JavaScript into external files for reusability
- Create professional-theme.css with complete soft professional blue theme - Soft professional color palette with reduced saturation - Professional card styling with hover effects - Button styles (primary, secondary, urgent) with animations - Navbar, hero section, and support section styles - Dark mode support and mobile responsiveness - Create professional-theme.js with comprehensive functionality - Theme toggle with localStorage persistence - Card hover animations with 3D effects - Scroll animations using Intersection Observer - Button ripple effects and smooth scrolling - WebP detection and utility functions - Additional features: loading states, toast notifications, scroll-to-top - Update index.html to use external files instead of inline styles/scripts - Replace Bootstrap with Tailwind CSS and Flowbite - Implement professional hero section with call-to-action buttons - Create featured ROA AUTO card spanning 2 columns with problems list and image - Add ROA PROIECTE DEVIZE LUCRĂRI card for construction cost estimation - Professional support tools section with enhanced styling - Add CLAUDE.md with project documentation and development guidelines - Architecture overview and development commands - CSS architecture with custom properties system - Frontend design workflow and styling guidelines 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
329
index.html
329
index.html
@@ -6,202 +6,199 @@
|
||||
<title>Romfast - Program de Contabilitate, Gestiune, Resurse Umane, Imobilizari, Salarizare. Sisteme Informatice pentru Contabilitate.</title>
|
||||
<meta name="description" content="Romfast produce si implementeaza ROA - Romfast Applications, un sistem informatic ERP pentru managementul afacerii: contabilitate, gestiune, salarizare, service auto, HORECA.">
|
||||
<meta name="keywords" content="program service auto, program contabilitate, gestiune, salarii, facturare, mijloace fixe, productie, roa, romfast, soft contabilitate, sistem informatic erp, program restaurant, program hotel, suport tehnic, implementare erp">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!-- 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=Open+Sans:wght@400;700&display=swap" rel="stylesheet">
|
||||
<!-- Custom CSS -->
|
||||
<link href="new-style.css" rel="stylesheet">
|
||||
<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">
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-wrapper">
|
||||
|
||||
<!-- Navigation & Branding Header -->
|
||||
<header class="shadow-sm">
|
||||
<nav class="navbar navbar-expand-lg navbar-dark py-3">
|
||||
<div class="container">
|
||||
<!-- Branding Section -->
|
||||
<a class="navbar-brand d-flex flex-column align-items-start" href="index.html">
|
||||
<img src="images/romfast_logo.png" alt="Romfast Logo" style="height: 70px; margin-bottom: 5px;">
|
||||
<div>
|
||||
<div class="slogan fs-6 text-white" style="font-family: 'Open Sans', sans-serif; font-style: italic;">Aduce informația în mâinile tale</div>
|
||||
<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>
|
||||
</a>
|
||||
|
||||
<!-- Toggler -->
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mainNav" aria-controls="mainNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<!-- Links -->
|
||||
<div class="collapse navbar-collapse" id="mainNav">
|
||||
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
|
||||
<li class="nav-item"><a class="nav-link active" href="index.html">Prima pagina</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="menu/desprenoi.html">Despre noi</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="roa/aplicatii-erp.html">ROA</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="serviciiDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
Servicii
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="serviciiDropdown">
|
||||
<li><a class="dropdown-item" href="menu/analiza.html">Analiza</a></li>
|
||||
<li><a class="dropdown-item" href="menu/implementare.html">Implementare</a></li>
|
||||
<li><a class="dropdown-item" href="menu/roa-suport-tehnic.html">Suport tehnic ROA</a></li>
|
||||
<li><a class="dropdown-item" href="menu/alteservicii.html">Alte servicii</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item"><a class="nav-link" href="menu/referinte.html">Referinte</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="menu/angajari.html">Angajari</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="menu/contact.html">Contact</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<button class="btn btn-outline-light dropdown-toggle ms-2" type="button" id="themeDropdown" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
Theme
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="themeDropdown">
|
||||
<li><a class="dropdown-item" href="#" data-theme="light">Light Mode</a></li>
|
||||
<li><a class="dropdown-item" href="#" data-theme="dark">Dark Mode</a></li>
|
||||
<li><a class="dropdown-item" href="#" data-theme="system">System Mode</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</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 class="lg:hidden text-white p-2">
|
||||
<i data-lucide="menu" class="w-6 h-6"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<!-- Main Content -->
|
||||
<main class="container my-5">
|
||||
<!-- Main Content Container -->
|
||||
<main class="container mx-auto px-4 py-8 max-w-7xl">
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section class="mb-5">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-8">
|
||||
<h2>ROA AUTO</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li><p>🔧 Factura, bonul fiscal si inregistrarea in contabilitate dureaza mai mult de 1 minut?</p></li>
|
||||
<li><p>🔧 Clientii asteapta prea mult la receptie pentru un deviz estimativ?</p></li>
|
||||
<li><p>🔧 Seful de service pregateste manual rapoartele de manopera pentru calculul salariilor?</p></li>
|
||||
<li><p>🔧 Contabilul are dureri de cap in fiecare luna din cauza productiei neterminate?</p></li>
|
||||
</ul>
|
||||
<a href="roa/roa-service-auto.html" class="btn btn-primary">Eficientizeaza activitatea service-ului!</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<img src="roa/images/roaauto3.jpg" class="img-fluid rounded shadow" alt="ROA Auto">
|
||||
<!-- Soft Professional Blue Hero Section -->
|
||||
<section class="professional-hero text-center">
|
||||
<div class="max-w-4xl mx-auto relative z-10">
|
||||
<h1 class="text-4xl md:text-5xl font-bold mb-6 professional-text-primary">
|
||||
ROA - Romfast Applications
|
||||
</h1>
|
||||
<p class="text-xl professional-text-secondary mb-8 leading-relaxed">
|
||||
Un sistem informatic complex de tip ERP destinat companiilor medii si mari,
|
||||
flexibil si capabil sa raspunda necesitatilor de dezvoltare.
|
||||
</p>
|
||||
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
||||
<a href="roa/aplicatii-erp.html" class="professional-btn-primary px-8 py-4 text-lg">
|
||||
<span>Descopera ROA</span>
|
||||
</a>
|
||||
<button class="professional-btn-secondary px-8 py-4 text-lg">
|
||||
<span>Vezi Demo</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Grid Layout & Cards -->
|
||||
<section class="mb-5">
|
||||
<div class="row text-center justify-content-center">
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card theme-card h-100">
|
||||
<div class="card-body">
|
||||
<img src="images/roa.gif" alt="ROA" class="img-fluid mb-3" style="max-height: 80px;">
|
||||
<h5 class="card-title">ROA - Romfast Applications</h5>
|
||||
<p class="card-text">Un sistem informatic complex de tip ERP destinat companiilor medii si mari, flexibil si capabil sa raspunda necesitatilor de dezvoltare.</p>
|
||||
<a href="roa/aplicatii-erp.html" class="btn btn-outline-primary">Mai multe</a>
|
||||
<!-- Soft Professional Blue Card Grid Layout -->
|
||||
<section class="mb-16">
|
||||
<h2 class="text-3xl font-bold text-center mb-12 professional-text-primary">Solutii Complete pentru Afacerea Ta</h2>
|
||||
|
||||
<!-- Services Grid - ROA AUTO (2 columns) + ROA PROIECTE (1 column) -->
|
||||
<div class="grid md:grid-cols-3 gap-8">
|
||||
<!-- ROA AUTO Card - Featured with muted red accents for urgent problems - Spans 2 columns -->
|
||||
<div class="professional-card professional-card-featured p-8 md:col-span-2">
|
||||
<div class="flex items-center justify-center mb-6">
|
||||
<div class="professional-icon-wrapper">
|
||||
<i data-lucide="wrench" class="w-10 h-10 text-white"></i>
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="text-2xl font-semibold mb-6 professional-text-primary text-center">ROA AUTO</h3>
|
||||
<div class="grid md:grid-cols-2 gap-8 items-center mb-8">
|
||||
<div>
|
||||
<ul class="text-left professional-text-secondary space-y-3">
|
||||
<li class="flex items-start space-x-3">
|
||||
<span class="red-bullet text-lg">🔧</span>
|
||||
<span>Factura, bonul fiscal si inregistrarea in contabilitate dureaza mai mult de 1 minut?</span>
|
||||
</li>
|
||||
<li class="flex items-start space-x-3">
|
||||
<span class="red-bullet text-lg">🔧</span>
|
||||
<span>Clientii asteapta prea mult la receptie pentru un deviz estimativ?</span>
|
||||
</li>
|
||||
<li class="flex items-start space-x-3">
|
||||
<span class="red-bullet text-lg">🔧</span>
|
||||
<span>Seful de service pregateste manual rapoartele de manopera pentru calculul salariilor?</span>
|
||||
</li>
|
||||
<li class="flex items-start space-x-3">
|
||||
<span class="red-bullet text-lg">🔧</span>
|
||||
<span>Contabilul are dureri de cap in fiecare luna din cauza productiei neterminate?</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<img src="roa/images/roaauto3.jpg" alt="ROA Auto" class="rounded-lg shadow-lg max-w-full h-auto">
|
||||
</div>
|
||||
</div>
|
||||
<a href="roa/roa-service-auto.html" class="professional-btn-urgent px-8 py-4 text-lg w-full inline-block text-center">
|
||||
<span>Eficientizeaza activitatea service-ului!</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card theme-card h-100">
|
||||
<div class="card-body">
|
||||
<img src="images/serviciisisuport.png" alt="Servicii si Suport" class="img-fluid mb-3" style="max-height: 80px;">
|
||||
<h5 class="card-title">Servicii si Suport</h5>
|
||||
<p class="card-text">Oferim suport tehnic si o serie de servicii pentru a asigura o implementare si utilizare cat mai eficienta a sistemelor noastre.</p>
|
||||
<a href="menu/roa-suport-tehnic.html" class="btn btn-outline-primary">Suport Tehnic</a>
|
||||
</div>
|
||||
|
||||
<!-- ROA PROIECTE DEVIZE LUCRĂRI Card -->
|
||||
<div class="professional-card service-technology p-8 text-center">
|
||||
<div class="professional-icon-wrapper">
|
||||
<i data-lucide="calculator" class="w-10 h-10 text-white"></i>
|
||||
</div>
|
||||
<h3 class="text-xl font-semibold mb-4 professional-text-primary">ROA PROIECTE<br>DEVIZE LUCRĂRI</h3>
|
||||
<p class="professional-text-secondary mb-6 leading-relaxed">
|
||||
Sistem specializat pentru calculul devizelor de lucrări, managementul proiectelor și estimarea costurilor de construcții.
|
||||
</p>
|
||||
<a href="roa/roa-proiecte-devize.html" class="professional-btn-secondary px-6 py-3 w-full inline-block">
|
||||
<span>Afla mai mult</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Suport Tehnic Section -->
|
||||
<section class="mb-5 p-4 theme-bg-section rounded">
|
||||
<h2 class="text-center mb-4">Suport Tehnic</h2>
|
||||
<div class="row text-center">
|
||||
<div class="col-md-4">
|
||||
<a href="romfastsuport/files/romfast_suport.exe" class="btn btn-secondary mb-2">Descarca Romfast Suport</a>
|
||||
|
||||
<!-- Professional Support Tools Section -->
|
||||
<section class="professional-support text-center mb-16">
|
||||
<h2 class="text-2xl font-bold mb-8 professional-text-primary">Suport Tehnic</h2>
|
||||
<div class="grid sm:grid-cols-3 gap-6">
|
||||
<div class="professional-support-card">
|
||||
<i data-lucide="download" class="w-8 h-8 mx-auto mb-4" style="color: #5288c4;"></i>
|
||||
<h3 class="font-semibold mb-3 professional-text-primary">Descarca Romfast Suport</h3>
|
||||
<a href="romfastsuport/files/romfast_suport.exe" class="professional-btn-secondary px-6 py-2 w-full inline-block">
|
||||
<span>Descarca</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="http://www.ammyy.com/en/" target="_blank" class="btn btn-secondary mb-2">Ammyy Admin</a>
|
||||
<div class="professional-support-card">
|
||||
<i data-lucide="monitor" class="w-8 h-8 mx-auto mb-4" style="color: #4a7ba7;"></i>
|
||||
<h3 class="font-semibold mb-3 professional-text-primary">Ammyy Admin</h3>
|
||||
<a href="http://www.ammyy.com/en/" target="_blank" class="professional-btn-secondary px-6 py-2 w-full inline-block">
|
||||
<span>Acceseaza</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="https://www.teamviewer.com/en/" target="_blank" class="btn btn-secondary mb-2">TeamViewer</a>
|
||||
<div class="professional-support-card">
|
||||
<i data-lucide="video" class="w-8 h-8 mx-auto mb-4" style="color: #5288c4;"></i>
|
||||
<h3 class="font-semibold mb-3 professional-text-primary">TeamViewer</h3>
|
||||
<a href="https://www.teamviewer.com/en/" target="_blank" class="professional-btn-secondary px-6 py-2 w-full inline-block">
|
||||
<span>Acceseaza</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="bg-dark text-white text-center py-4 mt-5">
|
||||
<div class="container">
|
||||
<p>Copyright © 2025 Romfast SRL. Toate drepturile rezervate.</p>
|
||||
<p><a href="politica-confidentialitate.html" class="text-white">Politica de confidentialitate</a></p>
|
||||
<!-- Professional Footer -->
|
||||
<footer class="bg-gradient-to-r from-slate-900 via-gray-800 to-slate-900 text-white py-12" style="border-radius: 1rem 1rem 0 0;">
|
||||
<div class="container mx-auto px-4 text-center">
|
||||
<div class="mb-6">
|
||||
<img src="images/romfast_logo.png" alt="Romfast Logo" class="h-12 mx-auto mb-4">
|
||||
<p class="text-gray-400 italic">Aduce informația în mâinile tale</p>
|
||||
</div>
|
||||
<div class="border-t border-gray-700 pt-6" style="border-radius: 0.5rem;">
|
||||
<p class="text-sm text-gray-400 mb-2">
|
||||
Copyright © 2025 Romfast SRL. Toate drepturile rezervate.
|
||||
</p>
|
||||
<a href="politica-confidentialitate.html" class="text-blue-400 hover:text-blue-300 transition-colors text-sm">
|
||||
Politica de confidentialitate
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script>
|
||||
// WebP support detection - adds 'webp' class to documentElement if supported
|
||||
function checkWebPSupport() {
|
||||
const webP = new Image();
|
||||
webP.onload = webP.onerror = function () {
|
||||
if (webP.height === 2) {
|
||||
document.documentElement.classList.add('webp');
|
||||
}
|
||||
};
|
||||
webP.src = 'data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA';
|
||||
}
|
||||
|
||||
// Run WebP detection immediately
|
||||
checkWebPSupport();
|
||||
</script>
|
||||
<script>
|
||||
function applyTheme(theme) {
|
||||
const body = document.body;
|
||||
const themeDropdownButton = document.getElementById('themeDropdown');
|
||||
|
||||
body.classList.remove('dark-mode'); // Always remove first
|
||||
|
||||
if (theme === 'dark') {
|
||||
body.classList.add('dark-mode');
|
||||
} else if (theme === 'system') {
|
||||
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||||
body.classList.add('dark-mode');
|
||||
}
|
||||
}
|
||||
themeDropdownButton.textContent = theme.charAt(0).toUpperCase() + theme.slice(1) + ' Mode';
|
||||
localStorage.setItem('themePreference', theme);
|
||||
}
|
||||
|
||||
document.querySelectorAll('.dropdown-item[data-theme]').forEach(item => {
|
||||
item.addEventListener('click', function(event) {
|
||||
event.preventDefault();
|
||||
const theme = this.getAttribute('data-theme');
|
||||
applyTheme(theme);
|
||||
});
|
||||
});
|
||||
|
||||
// Initial theme application based on saved preference or system preference
|
||||
const savedTheme = localStorage.getItem('themePreference');
|
||||
if (savedTheme) {
|
||||
applyTheme(savedTheme);
|
||||
} else {
|
||||
// Default to system mode if no preference is saved
|
||||
applyTheme('system');
|
||||
}
|
||||
|
||||
// Listen for system theme changes if currently in system mode
|
||||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
|
||||
if (localStorage.getItem('themePreference') === 'system') {
|
||||
applyTheme('system');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<!-- Professional Theme JavaScript -->
|
||||
<script src="professional-theme.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user