From 2ce691d1669b3de837b997f359a4689ca6798479 Mon Sep 17 00:00:00 2001 From: Marius Mutu Date: Fri, 15 Aug 2025 22:30:36 +0300 Subject: [PATCH] Add Serena project configuration and update website files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Configure Serena AI coding assistant with TypeScript language support - Update gitignore patterns and website content - Enhance professional theme JavaScript functionality - Update multiple pages across menu and ROA sections 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .gitignore | 3 +- .serena/project.yml | 68 +++++++++++++++++++++++++++ index.html | 24 +++++++++- menu/alteservicii.html | 23 +++++++++- menu/analiza.html | 23 +++++++++- menu/angajari.html | 23 +++++++++- menu/contact.html | 23 +++++++++- menu/desprenoi.html | 23 +++++++++- menu/implementare.html | 23 +++++++++- menu/referinte.html | 23 +++++++++- menu/roa-suport-tehnic.html | 23 +++++++++- menu/suport.html | 23 +++++++++- professional-theme.js | 34 ++++++++++++-- roa/aplicatii-erp.html | 24 +++++++++- roa/roa-analiza.html | 24 +++++++++- roa/roa-aplicatii-specifice.html | 24 +++++++++- roa/roa-clienti.html | 24 +++++++++- roa/roa-contracte-furnizori.html | 24 +++++++++- roa/roa-financiar-contabilitate.html | 65 ++++++++++---------------- roa/roa-gestiune.html | 24 +++++++++- roa/roa-horeca.html | 24 +++++++++- roa/roa-imobilizari.html | 69 +++++++++++----------------- roa/roa-proiecte-devize.html | 24 +++++++++- roa/roa-resurse-umane.html | 24 +++++++++- roa/roa-service-auto.html | 24 +++++++++- 25 files changed, 582 insertions(+), 128 deletions(-) create mode 100644 .serena/project.yml diff --git a/.gitignore b/.gitignore index 3fee8d9..9e68144 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ efactura-generator/config.json efactura-generator/php.ini Thumbs.db *.zip -.svn \ No newline at end of file +.svn +.serena/cache/ diff --git a/.serena/project.yml b/.serena/project.yml new file mode 100644 index 0000000..cfca46f --- /dev/null +++ b/.serena/project.yml @@ -0,0 +1,68 @@ +# language of the project (csharp, python, rust, java, typescript, go, cpp, or ruby) +# * For C, use cpp +# * For JavaScript, use typescript +# Special requirements: +# * csharp: Requires the presence of a .sln file in the project folder. +language: typescript + +# whether to use the project's gitignore file to ignore files +# Added on 2025-04-07 +ignore_all_files_in_gitignore: true +# list of additional paths to ignore +# same syntax as gitignore, so you can use * and ** +# Was previously called `ignored_dirs`, please update your config if you are using that. +# Added (renamed) on 2025-04-07 +ignored_paths: [] + +# whether the project is in read-only mode +# If set to true, all editing tools will be disabled and attempts to use them will result in an error +# Added on 2025-04-18 +read_only: false + + +# list of tool names to exclude. We recommend not excluding any tools, see the readme for more details. +# Below is the complete list of tools for convenience. +# To make sure you have the latest list of tools, and to view their descriptions, +# execute `uv run scripts/print_tool_overview.py`. +# +# * `activate_project`: Activates a project by name. +# * `check_onboarding_performed`: Checks whether project onboarding was already performed. +# * `create_text_file`: Creates/overwrites a file in the project directory. +# * `delete_lines`: Deletes a range of lines within a file. +# * `delete_memory`: Deletes a memory from Serena's project-specific memory store. +# * `execute_shell_command`: Executes a shell command. +# * `find_referencing_code_snippets`: Finds code snippets in which the symbol at the given location is referenced. +# * `find_referencing_symbols`: Finds symbols that reference the symbol at the given location (optionally filtered by type). +# * `find_symbol`: Performs a global (or local) search for symbols with/containing a given name/substring (optionally filtered by type). +# * `get_current_config`: Prints the current configuration of the agent, including the active and available projects, tools, contexts, and modes. +# * `get_symbols_overview`: Gets an overview of the top-level symbols defined in a given file. +# * `initial_instructions`: Gets the initial instructions for the current project. +# Should only be used in settings where the system prompt cannot be set, +# e.g. in clients you have no control over, like Claude Desktop. +# * `insert_after_symbol`: Inserts content after the end of the definition of a given symbol. +# * `insert_at_line`: Inserts content at a given line in a file. +# * `insert_before_symbol`: Inserts content before the beginning of the definition of a given symbol. +# * `list_dir`: Lists files and directories in the given directory (optionally with recursion). +# * `list_memories`: Lists memories in Serena's project-specific memory store. +# * `onboarding`: Performs onboarding (identifying the project structure and essential tasks, e.g. for testing or building). +# * `prepare_for_new_conversation`: Provides instructions for preparing for a new conversation (in order to continue with the necessary context). +# * `read_file`: Reads a file within the project directory. +# * `read_memory`: Reads the memory with the given name from Serena's project-specific memory store. +# * `remove_project`: Removes a project from the Serena configuration. +# * `replace_lines`: Replaces a range of lines within a file with new content. +# * `replace_symbol_body`: Replaces the full definition of a symbol. +# * `restart_language_server`: Restarts the language server, may be necessary when edits not through Serena happen. +# * `search_for_pattern`: Performs a search for a pattern in the project. +# * `summarize_changes`: Provides instructions for summarizing the changes made to the codebase. +# * `switch_modes`: Activates modes by providing a list of their names +# * `think_about_collected_information`: Thinking tool for pondering the completeness of collected information. +# * `think_about_task_adherence`: Thinking tool for determining whether the agent is still on track with the current task. +# * `think_about_whether_you_are_done`: Thinking tool for determining whether the task is truly completed. +# * `write_memory`: Writes a named memory (for future reference) to Serena's project-specific memory store. +excluded_tools: [] + +# initial prompt for the project. It will always be given to the LLM upon activating the project +# (contrary to the memories, which are loaded on demand). +initial_prompt: "" + +project_name: "SITE_ROMFAST_2025" diff --git a/index.html b/index.html index 28e4dee..02e1dcb 100644 --- a/index.html +++ b/index.html @@ -58,11 +58,31 @@ - + + + diff --git a/menu/alteservicii.html b/menu/alteservicii.html index b5b724e..01c3631 100644 --- a/menu/alteservicii.html +++ b/menu/alteservicii.html @@ -58,12 +58,31 @@ - + + diff --git a/menu/analiza.html b/menu/analiza.html index ed8fe8d..b358663 100644 --- a/menu/analiza.html +++ b/menu/analiza.html @@ -58,12 +58,31 @@ - + + diff --git a/menu/angajari.html b/menu/angajari.html index 34787c9..49160ba 100644 --- a/menu/angajari.html +++ b/menu/angajari.html @@ -59,12 +59,31 @@ - + + diff --git a/menu/contact.html b/menu/contact.html index c40b2dc..86f359a 100644 --- a/menu/contact.html +++ b/menu/contact.html @@ -59,12 +59,31 @@ - + + diff --git a/menu/desprenoi.html b/menu/desprenoi.html index e5ab655..cc913a9 100644 --- a/menu/desprenoi.html +++ b/menu/desprenoi.html @@ -58,12 +58,31 @@ - + + diff --git a/menu/implementare.html b/menu/implementare.html index 5c194d5..d86b00b 100644 --- a/menu/implementare.html +++ b/menu/implementare.html @@ -58,12 +58,31 @@ - + + diff --git a/menu/referinte.html b/menu/referinte.html index 067369c..18c6408 100644 --- a/menu/referinte.html +++ b/menu/referinte.html @@ -59,12 +59,31 @@ - + + diff --git a/menu/roa-suport-tehnic.html b/menu/roa-suport-tehnic.html index c9d0684..7d29719 100644 --- a/menu/roa-suport-tehnic.html +++ b/menu/roa-suport-tehnic.html @@ -58,12 +58,31 @@ - + + diff --git a/menu/suport.html b/menu/suport.html index 4f94ee5..53410bd 100644 --- a/menu/suport.html +++ b/menu/suport.html @@ -58,12 +58,31 @@ - + + diff --git a/professional-theme.js b/professional-theme.js index f5732c7..f51a98d 100644 --- a/professional-theme.js +++ b/professional-theme.js @@ -10,6 +10,7 @@ function initializeProfessionalTheme() { // Initialize all components initializeLucideIcons(); initializeThemeToggle(); + initializeMobileMenu(); initializeCardAnimations(); initializeScrollAnimations(); initializeButtonEffects(); @@ -248,16 +249,41 @@ function initializeNavigation() { // Mobile menu functionality function initializeMobileMenu() { - const mobileMenuButton = document.querySelector('[data-mobile-menu-toggle]'); - const mobileMenu = document.querySelector('[data-mobile-menu]'); + const mobileMenuButton = document.getElementById('mobile-menu-toggle'); + const mobileMenu = document.getElementById('mobile-menu'); + const menuIcon = document.getElementById('menu-icon'); + const closeIcon = document.getElementById('close-icon'); if (mobileMenuButton && mobileMenu) { mobileMenuButton.addEventListener('click', () => { - mobileMenu.classList.toggle('show'); + mobileMenu.classList.toggle('hidden'); + menuIcon.classList.toggle('hidden'); + closeIcon.classList.toggle('hidden'); + mobileMenuButton.setAttribute('aria-expanded', - mobileMenu.classList.contains('show') ? 'true' : 'false' + !mobileMenu.classList.contains('hidden') ? 'true' : 'false' ); }); + + // Close mobile menu when clicking on a link + mobileMenu.querySelectorAll('a').forEach(link => { + link.addEventListener('click', () => { + mobileMenu.classList.add('hidden'); + menuIcon.classList.remove('hidden'); + closeIcon.classList.add('hidden'); + mobileMenuButton.setAttribute('aria-expanded', 'false'); + }); + }); + + // Close mobile menu when clicking outside + document.addEventListener('click', (e) => { + if (!mobileMenuButton.contains(e.target) && !mobileMenu.contains(e.target)) { + mobileMenu.classList.add('hidden'); + menuIcon.classList.remove('hidden'); + closeIcon.classList.add('hidden'); + mobileMenuButton.setAttribute('aria-expanded', 'false'); + } + }); } } diff --git a/roa/aplicatii-erp.html b/roa/aplicatii-erp.html index 5b620bb..71cae08 100644 --- a/roa/aplicatii-erp.html +++ b/roa/aplicatii-erp.html @@ -58,11 +58,31 @@ - + + + diff --git a/roa/roa-analiza.html b/roa/roa-analiza.html index 98c6b49..8ead6f4 100644 --- a/roa/roa-analiza.html +++ b/roa/roa-analiza.html @@ -58,12 +58,32 @@ - + + + diff --git a/roa/roa-aplicatii-specifice.html b/roa/roa-aplicatii-specifice.html index 69e97d4..132398c 100644 --- a/roa/roa-aplicatii-specifice.html +++ b/roa/roa-aplicatii-specifice.html @@ -58,12 +58,32 @@ - + + + diff --git a/roa/roa-clienti.html b/roa/roa-clienti.html index 8d99f7a..9a44321 100644 --- a/roa/roa-clienti.html +++ b/roa/roa-clienti.html @@ -58,12 +58,32 @@ - + + + diff --git a/roa/roa-contracte-furnizori.html b/roa/roa-contracte-furnizori.html index 617cefe..cd6f323 100644 --- a/roa/roa-contracte-furnizori.html +++ b/roa/roa-contracte-furnizori.html @@ -59,12 +59,32 @@ - + + + diff --git a/roa/roa-financiar-contabilitate.html b/roa/roa-financiar-contabilitate.html index fbd4de1..2ed2b5f 100644 --- a/roa/roa-financiar-contabilitate.html +++ b/roa/roa-financiar-contabilitate.html @@ -58,12 +58,32 @@ - + + +
@@ -403,45 +423,6 @@ - + \ No newline at end of file diff --git a/roa/roa-gestiune.html b/roa/roa-gestiune.html index cbe4542..f778f55 100644 --- a/roa/roa-gestiune.html +++ b/roa/roa-gestiune.html @@ -59,12 +59,32 @@ - + + + diff --git a/roa/roa-horeca.html b/roa/roa-horeca.html index d2bbe62..d9256ea 100644 --- a/roa/roa-horeca.html +++ b/roa/roa-horeca.html @@ -58,12 +58,32 @@ - + + + diff --git a/roa/roa-imobilizari.html b/roa/roa-imobilizari.html index 6c76013..8a54501 100644 --- a/roa/roa-imobilizari.html +++ b/roa/roa-imobilizari.html @@ -59,12 +59,32 @@ - + + + @@ -409,46 +429,13 @@ + + diff --git a/roa/roa-proiecte-devize.html b/roa/roa-proiecte-devize.html index ae56214..9586528 100644 --- a/roa/roa-proiecte-devize.html +++ b/roa/roa-proiecte-devize.html @@ -58,12 +58,32 @@ - + + + diff --git a/roa/roa-resurse-umane.html b/roa/roa-resurse-umane.html index 7599977..ea6dfb8 100644 --- a/roa/roa-resurse-umane.html +++ b/roa/roa-resurse-umane.html @@ -58,12 +58,32 @@ - + + + diff --git a/roa/roa-service-auto.html b/roa/roa-service-auto.html index c3d7c39..9b1c5e9 100644 --- a/roa/roa-service-auto.html +++ b/roa/roa-service-auto.html @@ -59,12 +59,32 @@ - + + +