Commit Graph

61 Commits

Author SHA1 Message Date
Ümit Tunç 4a2a66c55c Add Menu Template functionality: Created MenuTemplate resource with CRUD pages, schemas, and table configuration. Implemented localization for menu template fields and integrated menu rendering capabilities. Enhanced TemplatePreviewController to support menu templates and updated dynamic template documentation accordingly. 2025-11-03 15:43:47 -03:00
Ümit Tunç 1d46c9243d Refactor TemplatePreviewController to enhance template retrieval and default data handling: Updated the preview method to fetch template objects by ID, introduced default data management, and replaced placeholders with default values using TemplateService. Improved method signatures for clarity and consistency in data handling. 2025-11-01 15:55:39 -03:00
Ümit Tunç 78d3bce584 Refactor TemplatePreviewController to support template content retrieval by ID: Updated the preview method to accept a record ID for fetching template content from the database. Introduced a private method to handle content retrieval for header, footer, and section templates. Enhanced error handling for empty content scenarios, improving the overall robustness of the template preview functionality. 2025-11-01 15:31:53 -03:00
Ümit Tunç 0d23c20f85 Implement default data functionality for templates: Added 'default_data' field to HeaderTemplate, FooterTemplate, and SectionTemplate models. Enhanced TemplateService to generate dynamic fields based on this new data. Updated form schemas in template forms to include sections for default values, improving template management and usability. Added localization support for new fields in both English and Turkish. 2025-11-01 02:01:07 -03:00
Ümit Tunç 52c4ba1b19 Add template preview functionality: Introduced TemplatePreviewController and TemplatePreviewService for rendering dynamic previews of header, footer, and section templates. Updated form schemas to include preview components and enhanced real-time content updates. Added configuration for template assets and integrated preview functionality into the admin panel. 2025-10-31 16:48:36 -03:00
Ümit Tunç 02e4f46694 Implement dynamic template rendering and page observer: Enhanced PageController to support dynamic header and footer templates, utilizing TemplateService for placeholder replacement. Introduced PageObserver to manage homepage status across pages. Updated routes for improved debugging and dynamic homepage display. Refactored views to accommodate new templating system. 2025-10-31 15:49:29 -03:00
Ümit Tunç 22b39d94a9 Add Page Section Builder functionality: Introduced a new section builder for dynamic page sections in the Filament Admin panel, allowing users to add various section types with flexible key-value data management. Enhanced the Page model with methods for parsed sections and section data retrieval. Updated localization files to support new section-related terms and added comprehensive documentation for usage and best practices. 2025-10-30 16:28:50 -03:00
Ümit Tunç 08e07a9e63 Add Blog functionality: Created BlogController with index and show methods, added blog views, and integrated localization for meta tags. Updated routes to include blog paths. 2025-10-30 15:26:11 -03:00
Ümit Tunç fa136f4948 Remove unnecessary blank lines in PageController, footer, and navigation Blade templates for cleaner code structure. 2025-10-03 13:01:37 -03:00
Ümit Tunç 736f9c536d Add initial website setup: Created essential files including package-lock.json, setup documentation, and foundational Blade templates. Implemented PageController for homepage and page display, integrated navigation and footer components, and established dark mode functionality. Enhanced CSS for custom scrollbar and smooth scrolling. Added SVG logos for branding. Updated routes for page handling. 2025-10-01 02:21:31 -03:00
Ümit Tunç ac4038db82 Initialize Laravel project with essential configuration files and structure. Added .editorconfig, .env.example, .gitattributes, .gitignore, .htaccess, and various Laravel framework files including routes, controllers, models, and views. Set up basic testing structure with example tests. Included necessary assets for frontend development with Tailwind CSS and Vite integration. 2025-09-27 12:49:10 -03:00