uofm-capstone / fall2024_agritech

1 stars 0 forks source link

Enhanced structure and styling of static pages #71

Closed Jordan-m-t closed 2 weeks ago

Jordan-m-t commented 2 weeks ago

Separate CSS for Static Pages: Created dedicated CSS files for services.css, privacy.css, and contact.css to handle styles specifically for the Services, Privacy, and Contact pages, ensuring a more modular and maintainable structure. Services Page: Developed a comprehensive services.html.erb page describing ProduceBridge's key services. Structured sections include: Core Services (Biowaste to Feed, Compost Creation, Natural Fertilizer) with short descriptions. Who We Serve detailing services for Grocery Stores, Farms, Truck Drivers, and Food Pantries. Call-to-Action to encourage users to get involved. Styled Services Page: Linked services.css to the services.html.erb file to handle layout, feature section design, and call-to-action button styling. Enhanced Contact Page: Moved inline styles from contact.html.erb to a new contact.css file. Updated the layout to include a centered form and responsive design elements. Modular JavaScript: Checked for necessary JavaScript interactions. Ensured any specific behavior was handled without inline scripts, preparing for a modular JavaScript approach if additional interactivity is required. Minor Updates to Home and About Pages: Used content from Home and About pages to help define the Services content, ensuring consistency in messaging.

Additional Notes: These updates improve the maintainability of the codebase by separating concerns (HTML, CSS, JavaScript) and enhancing page-specific customization. The project structure now supports easier future modifications to static pages without impacting global styling or behavior.