Commit Graph

199 Commits

Author SHA1 Message Date
Ümit Tunç 89eb9f5c4e Refactor Featured Products Section in Menu Item Component: Updated the layout and styling of the featured products section in the menu-item Blade component for improved visual appeal and user experience. Enhanced the structure for better responsiveness and consistency in design. 2026-01-01 20:00:34 +03:00
Ümit Tunç 0ca75829bb frontend style fix 2026-01-01 16:25:27 +03:00
Ümit Tunç e8cdba4fd3 Refactor Product and Category Tables for Enhanced Localization: Updated the ProductCategoriesTable and ProductsTable to utilize the getStateUsing method for retrieving translated titles, improving localization support. Enhanced the search functionality to filter by translations, ensuring consistent display of titles across different languages. Additionally, modified the menu-item Blade component to include featured products, improving the layout and user experience. 2026-01-01 11:13:45 +03:00
Ümit Tunç 12441517f6 Add Custom Header and Footer Blade Selection: Implemented options for selecting custom Blade files for header and footer templates in the Page settings. Enhanced the PageController to render these templates dynamically, improving modularity and user experience. Updated relevant views to support this new functionality, ensuring better localization and flexibility in template management. 2026-01-01 10:54:38 +03:00
Ümit Tunç 10f2e9c9bb Refactor Product Form Localization: Updated the category options in the ProductForm to utilize the translation function for titles, enhancing localization support and ensuring consistent display of category names across different languages. 2026-01-01 09:58:31 +03:00
Ümit Tunç 5aa2a3d6e5 Enhance Settings and PageController Logic: Updated the SettingForm to include dynamic selection for header and footer templates based on active settings, improving modularity and user experience. Refactored PageController to retrieve active settings for rendering templates, ensuring fallback logic is streamlined and enhancing overall functionality. Updated navbar component to dynamically display social media links from settings, contributing to better localization and user engagement. 2026-01-01 09:55:16 +03:00
Ümit Tunç 3e4fc26e4b Remove Unused What We Do Section from Home Template: Commented out the inclusion of the 'what-we-do' component in the home template, streamlining the layout and improving overall organization. This change contributes to a cleaner design and better modularity. 2026-01-01 00:30:14 +03:00
Ümit Tunç 68b7907981 Refactor Header and Why Choose Us Templates: Updated the header template to dynamically retrieve social media links from settings, enhancing functionality and localization support. Modified button styles in the Why Choose Us section for a more consistent rounded appearance, improving overall design coherence. 2026-01-01 00:22:50 +03:00
Ümit Tunç d75434674f Add Dynamic Menu Item Component: Introduced a new Blade component for front-end menu items, enhancing the navigation structure with support for mega menus and nested children. Updated the header template to utilize this component, improving modularity and localization for menu titles. 2026-01-01 00:12:46 +03:00
Ümit Tunç cb0bbf87c7 Update Header and Home Templates: Modified the header template to dynamically retrieve contact information and social media links from settings, enhancing functionality and localization support. Updated the hero section background image for improved visual appeal. Simplified the services cards layout by removing unnecessary padding, contributing to a cleaner design. 2026-01-01 00:04:00 +03:00
Ümit Tunç 77a2713aec Implement Home Page Structure: Refactored the home template to include multiple new components for improved modularity and organization. Added sections for hero, services, solutions, testimonials, and contact information, enhancing the overall layout and user experience. Ensured all new components utilize localization for text content, maintaining consistency across languages. 2025-12-31 23:47:02 +03:00
Ümit Tunç 1fa194260e Refactor Localization in Templates: Updated various templates to utilize the translation function for titles and content, enhancing localization support. Commented out unused fallback logic in the PageController for header templates, streamlining the rendering process. Added new header and navbar components while removing the deprecated navbar file, improving the overall structure and maintainability of the layout. 2025-12-31 23:35:42 +03:00
Ümit Tunç 009d1cbb76 Update Footer Template: Refactored social media links to dynamically retrieve URLs from settings, enhancing the footer's functionality. Improved localization support by ensuring all links are properly formatted and accessible, contributing to a better user experience. 2025-12-31 22:27:10 +03:00
Ümit Tunç 2a1cdafbea Enhance EditSetting Page: Added a method to mutate form data before filling, allowing dynamic retrieval of virtual field values based on the selected type. Updated footer template to utilize localization for contact information and section titles, improving multilingual support and user experience. 2025-12-31 22:16:42 +03:00
Ümit Tunç b345c6f71c Refactor Footer Template Logic: Commented out the fallback logic for footer templates in the PageController to streamline rendering. Updated the site layout to check for non-empty rendered footer content, enhancing the footer display logic. Cleaned up the home template by removing unnecessary characters and ensuring proper formatting. 2025-12-31 22:08:10 +03:00
Ümit Tunç a2827c5d7a a 2025-12-31 22:00:45 +03:00
Ümit Tunç 194beaee1c iniit 2025-12-31 21:37:21 +03:00
Ümit Tunç cf855fdd70 Update Home Template: Translated key sections to Turkish, enhancing localization support. Added new content blocks for services offered, including Web Design and Mobile Design, with corresponding descriptions and links. Improved layout structure for better responsiveness and user experience. 2025-12-31 01:21:30 +03:00
Ümit Tunç 6b561896c6 Enhance SiteTranslationImporter: Added 'Key' label to the import column and simplified validation rules. Improved record resolution logic to handle empty keys and ensured translations are updated correctly during import. Updated CSS paths for assets in the home template for better resource management. 2025-12-31 01:01:41 +03:00
Ümit Tunç 922add1b6f Add Import and Export Functionality for Site Translations: Implemented SiteTranslationImporter and SiteTranslationExporter classes to facilitate the import and export of site translations. Enhanced the SiteTranslationsTable with import and export actions, allowing for efficient management of translation data. Updated the migration files to create necessary tables for handling imports and exports, improving the overall localization workflow in the admin panel. 2025-12-31 00:23:16 +03:00
Ümit Tunç 2c9dcac76c Refactor SettingForm Schema: Removed the image validation from the file input field in the SettingForm schema, ensuring that only specified file types are accepted for upload. This change enhances the flexibility of file handling in the settings management. 2025-12-31 00:01:39 +03:00
Ümit Tunç 064ec327ba Add Site Translation Management: Created SiteTranslation resource with pages for listing, creating, and editing translations. Implemented localization support for translation keys and values, enhancing the admin panel's usability for managing site translations. Introduced a new migration for the site_translations table and updated helper functions for translation retrieval. 2025-12-30 23:41:32 +03:00
Ümit Tunç f381caaa39 Implement Localization for Product and ProductCategory Resources: Refactored resource classes and forms to utilize Laravel's localization features, enhancing user experience by providing translated labels and sections. Added English and Turkish language support for product and category management, ensuring consistency across the admin panel. 2025-12-30 22:49:55 +03:00
Ümit Tunç 54944317b3 Add Language Support to Admin Panel: Implemented dynamic language menu items in the admin panel by retrieving active languages from the database. Enhanced user experience by allowing language selection directly from the user menu, improving localization capabilities. 2025-12-30 22:28:20 +03:00
Ümit Tunç f4cf16f93f Refactor Product Category Form and Product Form: Updated the options method to use \Illuminate\Support\Arr::first for retrieving category titles, ensuring better handling of localization. Added a fallback for category titles to display a default message when no title is available, improving user experience in form submissions. 2025-12-30 22:16:51 +03:00
Ümit Tunç a85e6eebe0 Implement Product and ProductCategory Resources: Created new Filament resources for managing products and product categories, including pages for listing, creating, and editing. Added schemas for forms and tables, integrated translation support, and established relationships between products and categories. Enhanced the navigation structure to include product and service links in the frontend menu, improving overall site organization and user experience. 2025-12-30 22:16:45 +03:00
Ümit Tunç a5a3248c69 Add Frontend Theme Implementation Rules: Introduced a new markdown file outlining the rules for converting static HTML templates in the public/html directory to Laravel Blade structure. This includes guidelines on source and target structure, component organization, code conversion rules, CMS integration, and automatic menu configuration, enhancing the development process for frontend themes. 2025-12-30 21:18:02 +03:00
Ümit Tunç 21ebbfc749 Update Dependencies and Add BlogCategoryPolicy: Upgraded the version of the 'anourvalar/eloquent-serialize' package to 1.3.5 and added a new BlogCategoryPolicy class to manage authorization for blog category actions. This enhances the application's security and maintainability by implementing specific access controls. 2025-12-30 20:53:31 +03:00
Ümit Tunç 691a551e85 Add Console Commands Section to README: Documented special application console commands including HTML theme import, super admin creation, and Filament resource management commands. This update enhances the README by providing clear usage instructions for developers. 2025-12-30 20:39:21 +03:00
Ümit Tunç b2e06ff101 Enhance Address Tag Processing in HTML Template Import: Updated the ImportHtmlTemplates command to replace address tags with a placeholder for contact address. This change improves the template processing by ensuring that address content is cleared and replaced dynamically, enhancing the overall integrity of imported templates. 2025-12-30 20:36:51 +03:00
Ümit Tunç 9d601cafda Enhance Template Processing and Cleanup: Updated the ImportHtmlTemplates command to skip additional custom tokens during HTML processing and added a cleanup step to remove leftover tokens from the data array. Improved the TemplateService to replace legacy tokens in HTML, ensuring better template integrity during imports. 2025-12-29 09:39:21 +03:00
Ümit Tunç f4603456b1 Enhance Template Preview Functionality: Added a preview action to both HeaderTemplatesTable and FooterTemplatesTable, allowing users to preview templates in a modal. Updated localization files to include preview action labels in both English and Turkish. Introduced new Blade views for rendering template previews, improving the overall user experience in template management. 2025-12-27 09:50:38 +03:00
Ümit Tunç 537e2769cd Improve Asset Path Handling and Add Preview Action: Enhanced the ImportHtmlTemplates command to support fallback asset paths for better template import functionality. Updated the TemplateService to handle old asset paths. Added a preview action in the SectionTemplates localization files for improved user experience in template management. 2025-12-27 09:45:10 +03:00
Ümit Tunç f609eb3ec1 Enhance Template Import and Preview Functionality: Updated the ImportHtmlTemplates command to improve asset path handling by moving files to storage and updating HTML asset paths. Added a preview action in SectionTemplatesTable for better template management, along with a new Blade view for rendering previews. Adjusted route for template preview to accept any request method for flexibility. 2025-12-27 09:38:38 +03:00
Ümit Tunç 70cba75441 Refactor Template Processing and Update Setting Model: Enhanced the ImportHtmlTemplates command to improve header processing with dynamic logo handling based on navbar type. Updated the Setting model to include new accessors for various field types, ensuring better data retrieval. Adjusted the SettingSeeder to clear logo paths for better management. 2025-12-27 09:26:47 +03:00
Ümit Tunç 67187e646c Update SettingSeeder to Change Group from 'layout' to 'theme': Refactored frontend layout settings in the SettingSeeder to categorize them under 'theme' instead of 'layout', ensuring better organization and clarity in theme-related configurations. 2025-12-27 08:12:33 +03:00
Ümit Tunç 8244bcc74c Refactor ImportHtmlTemplates Command: Enhanced the command to process HTML templates by introducing a more structured approach for extracting header, footer, and section templates. Implemented dynamic placeholder replacements and improved asset path handling. Added support for light and dark logo settings in the database seeder, ensuring better logo management for different themes. 2025-12-27 07:57:48 +03:00
Ümit Tunç bacd5d7309 Add ImportHtmlTemplates Command: Created a new console command to import HTML templates from the public/html directory into the database. The command extracts header, footer, and section templates, processes HTML content, and supports placeholder replacements for dynamic data integration. 2025-12-26 19:12:32 +03:00
Ümit Tunç 5be9354ecf Add Turkish Localization for User Resource: Created a new language file for user-related labels and messages in Turkish, ensuring proper localization support for user management features. 2025-11-07 23:30:05 +03:00
Ümit Tunç 0f9a68ec16 Update .gitignore to include composer.lock: Added composer.lock to the .gitignore file to prevent it from being tracked by Git, ensuring that dependency management remains consistent across environments. 2025-11-07 23:03:56 +03:00
Ümit Tunç 68fd923b42 Add Blog Category Resource and CRUD Pages: Created BlogCategoryResource with associated pages for listing, creating, and editing blog categories. Implemented localization for all labels and messages. Enhanced BlogCategory model to specify foreign key for related blogs. 2025-11-06 17:48:20 -03:00
Ümit Tunç 7563577aa8 Implement Filtering and Commenting Features in Blog: Enhanced BlogController to support filtering posts by author, category, and tags. Added a storeComment method to handle comment submissions, including validation and success/error messaging. Updated blog views to display comments and improved layout for better user engagement. 2025-11-06 17:08:46 -03:00
Ümit Tunç 4bdcf66c99 Implement Commenting Feature in Blog: Enhanced BlogController to handle comments by adding a new storeComment method. Updated blog show view to display approved comments and related posts, improving user engagement and content interaction. Added routes for comment submission, ensuring a complete commenting system. 2025-11-06 16:59:25 -03:00
Ümit Tunç 1fd56cc953 Refine Model Attribute Access in TemplateService: Enhanced the replacePlaceholders method to improve the retrieval of model attributes and accessors. Updated logic to handle image/file URLs more effectively and streamlined the process of accessing model properties, ensuring robustness in placeholder replacement. 2025-11-06 16:52:40 -03:00
Ümit Tunç f65ba75f41 Enhance TemplateService Placeholder Replacement: Updated the replacePlaceholders method to improve handling of model attributes when values are not found in the provided data. Added logic to retrieve image/file URLs and model attributes dynamically, enhancing flexibility and robustness in content rendering. 2025-11-06 16:52:25 -03:00
Ümit Tunç 43ff270cbd Refactor TemplateService and Blog Views: Updated TemplateService to utilize a generic model for placeholder replacement, enhancing flexibility in content rendering. Modified blog views to use the new featured image URL property, improving image handling and ensuring consistency across templates. 2025-11-06 16:51:17 -03:00
Ümit Tunç 605f0d158f Refactor Blog and Page Controllers: Updated BlogController and PageController to utilize the new Blog model and integrated dynamic header and footer templates. Removed the DatabaseSeeder file as it is no longer needed. Enhanced the TemplateService to support dynamic content rendering for both blog and page templates, improving the overall template management system. 2025-11-06 16:49:02 -03:00
Ümit Tunç 920502c5d3 Enhance placeholder functionality: Updated TemplateService to support 'setting' placeholders, allowing dynamic retrieval of settings values. Modified the placeholder picker to include setting types and added localization for new placeholder types in both English and Turkish. Improved site layout by integrating settings for favicon and custom CSS. 2025-11-05 17:18:02 -03:00
Ümit Tunç 27e1846aec Add setting helpers: Introduced a new helper function for retrieving settings values, enhancing the configuration management. Updated composer.json to autoload the new helper file. Updated the app.css and app.js files to the latest versions of Tailwind CSS and Chart.js, respectively, ensuring compatibility and performance improvements. 2025-11-05 16:52:47 -03:00
Ümit Tunç 9248df9a99 Update placeholder picker component: Added support for special placeholders in the placeholder picker, enhancing the user experience by allowing easier insertion of predefined placeholders. Removed the dedicated section for special placeholders to streamline the interface. 2025-11-05 11:09:14 -03:00