Files
romfast-website/CLAUDE.md
2026-04-28 21:38:11 +00:00

2.9 KiB

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Romfast company website (2025 version) for a Romanian ERP software company. Promotes ROA (Romfast Applications) — an ERP system covering accounting, inventory, HR, automotive service, and HORECA industries.

Deploy

rsync -avz --exclude='.git' --exclude='.superdesign' --exclude='.claude' --exclude='verify-cleanup.sh' \
  -e "ssh -p 7822" \
  /home/moltbot/workspace/romfast-website/ \
  romfastr@nl1-ss18.a2hosting.com:~/public_html/
  • Host: nl1-ss18.a2hosting.com | Port: 7822 | User: romfastr
  • Document root: ~/public_html/ — SSH key auth (no password)

Development

No build process. Serve locally with:

python3 -m http.server 8000
# Access at http://localhost:8000

The efactura-generator/ sub-app has its own Node.js server:

cd efactura-generator && node js/server.js
# Access at http://localhost:3000

Architecture

Static Website

  • Tailwind CSS (CDN): <script src="https://cdn.tailwindcss.com"></script>
  • Flowbite (CDN): component library on top of Tailwind
  • Lucide Icons (CDN): icon set
  • Google Fonts: Inter (primary), Merriweather (serif), JetBrains Mono
  • professional-theme.css: main custom stylesheet — CSS custom properties, soft professional blue palette, dark mode variables
  • professional-theme.js: handles dark mode toggle, mobile menu, Lucide icon init, scroll/card animations

CSS Custom Properties (professional-theme.css)

:root {
    --soft-professional-blue: #5288c4;   /* primary */
    --gentle-trust-blue: #4a7ba7;        /* secondary */
    --muted-accent-red: #b85555;         /* accent */
    --executive-navy: #2c3e50;           /* text */
    --navbar-bg: linear-gradient(135deg, #2c3e50, #4a7ba7);
}

Dark mode activated via body.dark-mode class — toggled by professional-theme.js.

Navigation Pattern

The navbar HTML is manually duplicated across every page (no templating). When updating nav links, update all files. Path to CSS/JS assets is relative — top-level pages use professional-theme.css, subdirectory pages use ../professional-theme.css.

Content Structure

  • / — homepage (index.html)
  • /menu/ — company pages (about, contact, support, services, jobs, references)
  • /roa/ — ROA ERP product pages (one per module)
  • /efactura-generator/ — standalone Romanian e-invoice editor (loads XML, edits, prints, exports XML)

efactura-generator

Separate single-page app at efactura-generator/index.html. Has its own CSS (styles/main.css), JS (js/script.js, js/formatter.js, js/print.js), print templates (templates/print.html, templates/print-compact.html), and optional Node.js dev server (js/server.js). Also deployed as GitHub Pages at romfast.github.io/efactura-generator/.