Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant enhancements to the MAC Paving and Sealcoating website, focusing on improving the map functionality, restructuring components, optimizing SEO, and refining the project's documentation. Key changes include the addition of a reusable
Mapcomponent, fixes for z-index issues in map styling, and updates to theREADME.mdfile to reflect the project's new scope and features.Map Functionality Enhancements:
src/components/Map.astro: Added a reusableMapcomponent for embedding maps with controlled z-index and responsive styling. This replaces the iframe-based implementation and ensures consistent behavior across pages.public/assets/css/map-fix.css: Introduced specific styles to resolve z-index conflicts between the map and other elements, ensuring proper layering and visibility of tooltips and popups.public/assets/js/map.js: Refactored the map initialization logic to support multiple map containers and improved popup content formatting for better user experience. [1] [2] [3] [4]SEO and Accessibility Improvements:
public/map.html: Removed unnecessary meta tags and addedrobotsdirectives to prevent indexing of the map page, aligning with SEO best practices. [1] [2]public/robots.txt: Blocked outdated URLs, includingmap.html, ensuring clean and optimized search engine visibility.Component Restructuring:
src/components/Footer.astro: Replaced the iframe-based map in the footer with the newMapcomponent for better integration and styling consistency.src/components/MapSection.astro: Integrated theMapcomponent into the service areas section, streamlining map embedding across the site.Documentation Updates:
README.md: Overhauled the file to reflect the project's new branding, features, and tech stack. Added detailed sections on setup, responsive design, performance, and deployment.