Added 'unsafe-eval' to the script-src directive in Content-Security-Policy header. This allows the use of eval() and similar methods for JavaScript within the project's scope. However, be aware that this might increase the risk of cross-site scripting attacks.
Added Starlight to the project for improved documentation capabilities, including internalization support and enhanced styling. This will provide a more streamlined and user-friendly experience for users accessing documentation across different languages and platforms.
Company policies have changed so our workflow should reflect that. Therefore, ESLint and related dependencies were removed along with corresponding sections in package.json, package-lock.json and GitHub Actions workflow.
Modified the GitHub Actions workflow to use a specific version of PNPM. This can ensure a consistent environment for the setup and execution of necessary tools and
Introduced new GitHub Actions workflows for installing necessary tools (PNPM, Node.js) and dependencies. Also added jobs to perform code quality checks using Astro and ESLint to ensure code quality and standards.
The astro-critters package has been removed resulting in updates in the astro.config.mjs, package.json and package-lock.json files. The code in astro.config.mjs has been reformatted for better readability.
Added the astro-critters package to improve critical CSS inlining and prioritization. This update involves changes to both the astro.config.mjs to import the package and set it up for integration, and package.json along with package-lock.json to add the package.
Created the 'PostFeedback.astro' and 'SocialShare.astro' component files to enrich the UI interface. The PostFeedback component renders a user feedback section with a title and two responsive buttons. Whereas, the SocialShare component provides users with hyperlinks to popular social media platforms - it also enables copy-pasting of current page links using the ClipboardJS utility function and dropdown functionality from the Preline plugin.
This commit introduces a new Bookmark button component along with its corresponding functionality using localStorage. It also updates the blog post layout by adding the Bookmark button, SocialShare, and PostFeedback components as well as restructuring the post tags section for better UI.
This commit updates the versions for several package dependencies in the `package.json` and `package-lock.json` files. Additionally, it adds the "gsap" package to the dependencies list. The commit also introduces ARIA roles to the "AnnouncementBanner.astro" component for improved accessibility. These labels help assistive technology, like screen readers, interpret the banner's purpose and information.
Added "eager" loading attribute to the image tags in two Astro components: TabContent and TestimonialItem. This optimization allows images to load immediately as soon as the page starts loading, improving the user's visual experience when first accessing the page.
Updated the versions of @astrojs/check, @astrojs/vercel and astro packages in package.json and package-lock.json. Also enabled the directRenderScript experimental feature in astro.config.mjs. Refactored navigation link active class logic in NavLink.astro to use 'DOMContentLoaded' event for better performance.
The versions of @astrojs/vercel and astro packages in package.json are upgraded. This change was necessary to utilize the latest features and improvements provided by these updated versions.
The versions of @astrojs/vercel and astro packages in package.json are upgraded. This change was necessary to utilize the latest features and improvements provided by these updated versions.
The CSS class associated with the button in the AnnouncementBanner component has been modified. Specifically, the backdrop brightness in dark mode has been updated to ensure better visibility and user experience. This change takes into consideration users who prefer dark themed interfaces.
The button title on the main page has been changed to "Explore ScrewFast on GitHub". Also, the title for AnnouncementBanner is now optional, enabling use of the banner without a predefined title, increasing its reusability. The CSS styles have also been updated to accommodate these changes.
The HeroSection component code has been refactored to include a whole new block component called ReviewComponent, which contains code for presenting avatars, review ratings, and the number of reviews previously contained within HeroSection alone. This enhances code modularity. Now, HeroSection simply imports and utilizes ReviewComponent when needed, making the code more concise and easier to manage.
Color scheme for the text and hover effect within the 'AnnouncementBanner' component has been updated for better visibility and user interface aesthetics. The changes predominantly involve the adjustment of 'text-neutral' and 'text-neutral-hover' classes in the Astro component file. These changes are expected to greatly enhance user readability and overall UI experience.
The 'banner-pattern.svg' asset has been moved from the 'src/images' directory to the 'public' directory. References to this asset have been updated accordingly in 'AnnouncementBanner.astro'. The move facilitates more efficient asset management and ensures correct file referencing.
In several areas of the code, event handlers had an unused event parameter. This change removes these unused parameters to improve the code's readability and maintainability. Specifically, the changes were made in the "Navbar.astro", "[...slug].astro", and "services.astro" components.
The 'bannerId' property has been removed from the AnnouncementBanner component as it is unneeded. This change has been reflected in both the component definition and places where the component is used, resulting in cleaner and more maintainable code.
Implemented a new Announcement Banner component on the main page. This banner features a dismiss button and is customizable with dynamic properties for title, bannerId, button Id, button title, and URL. Also, added a new SVG file for the banner's background pattern.
Included a comment in the '[...slug].astro' file within the src/pages/blog directory. This comment includes a URL providing an example of a more refined approach to choosing related blog posts.