Commit graph

127 commits

Author SHA1 Message Date
Emil Gulamov
a05415e1c0 @astrojs/vercel and astro package 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.
2024-03-10 00:08:52 +04:00
Emil Gulamov
1ab6b250fa Correct dark mode brightness for banner button
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.
2024-03-07 17:30:14 +04:00
Emil Gulamov
845c972565 Merge remote-tracking branch 'origin/main' 2024-03-07 02:05:28 +04:00
Emil Gulamov
e95dd9987a Update button title and make banner title optional
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.
2024-03-07 02:05:02 +04:00
Emil Gulamov
b4c0b290c3
Merge pull request #7 from mearashadowfax/dependabot/npm_and_yarn/astro-4.4.10
Bump astro from 4.4.5 to 4.4.10
2024-03-04 21:51:42 +04:00
dependabot[bot]
6c0aeab9a6
Bump astro from 4.4.5 to 4.4.10
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.4.5 to 4.4.10.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@4.4.10/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 17:50:30 +00:00
Emil Gulamov
6edea738fa Add ReviewComponent and refactor HeroSection
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.
2024-02-27 06:15:35 +04:00
Emil Gulamov
93fd511a97
Merge pull request #3 from mearashadowfax/dependabot/npm_and_yarn/astrojs/vercel-7.3.4
Bump @astrojs/vercel from 7.3.1 to 7.3.4
2024-02-26 22:19:50 +04:00
Emil Gulamov
f511b63cba
Merge pull request #4 from mearashadowfax/dependabot/npm_and_yarn/astrojs/sitemap-3.1.1
Bump @astrojs/sitemap from 3.0.5 to 3.1.1
2024-02-26 22:19:31 +04:00
dependabot[bot]
3cb8c4f054
Bump @astrojs/sitemap from 3.0.5 to 3.1.1
Bumps [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap) from 3.0.5 to 3.1.1.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/sitemap@3.1.1/packages/integrations/sitemap)

---
updated-dependencies:
- dependency-name: "@astrojs/sitemap"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 18:18:04 +00:00
dependabot[bot]
2c5d1beced
Bump @astrojs/vercel from 7.3.1 to 7.3.4
Bumps [@astrojs/vercel](https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel) from 7.3.1 to 7.3.4.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/vercel/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/vercel@7.3.4/packages/integrations/vercel)

---
updated-dependencies:
- dependency-name: "@astrojs/vercel"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 18:17:26 +00:00
Emil Gulamov
a6f482f8f5
Merge pull request #5 from mearashadowfax/dependabot/npm_and_yarn/astro-4.4.5
Bump astro from 4.4.0 to 4.4.5
2024-02-26 22:16:26 +04:00
Emil Gulamov
83568a99db
Merge pull request #6 from mearashadowfax/dependabot/npm_and_yarn/astrojs/check-0.5.6
Bump @astrojs/check from 0.5.4 to 0.5.6
2024-02-26 22:16:11 +04:00
dependabot[bot]
fb10272cd5
Bump @astrojs/check from 0.5.4 to 0.5.6
Bumps [@astrojs/check](https://github.com/withastro/language-tools/tree/HEAD/packages/astro-check) from 0.5.4 to 0.5.6.
- [Release notes](https://github.com/withastro/language-tools/releases)
- [Changelog](https://github.com/withastro/language-tools/blob/main/packages/astro-check/CHANGELOG.md)
- [Commits](https://github.com/withastro/language-tools/commits/@astrojs/check@0.5.6/packages/astro-check)

---
updated-dependencies:
- dependency-name: "@astrojs/check"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 17:10:53 +00:00
dependabot[bot]
70dffb5cd9
Bump astro from 4.4.0 to 4.4.5
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.4.0 to 4.4.5.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@4.4.5/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 17:10:26 +00:00
Emil Gulamov
7809c7857d
Update README.md 2024-02-25 02:42:55 -08:00
Emil Gulamov
32e163e9b5 Update color scheme in AnnouncementBanner component
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.
2024-02-25 03:46:27 +04:00
Emil Gulamov
4bd23d612e Move 'banner-pattern.svg' asset to public directory
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.
2024-02-25 00:07:34 +04:00
Emil Gulamov
b422d079fb Refactor event handlers to remove unused event parameter
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.
2024-02-24 23:59:08 +04:00
Emil Gulamov
bdfe5a4539 Remove 'bannerId' property from AnnouncementBanner
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.
2024-02-24 23:49:56 +04:00
Emil Gulamov
0d2c92052b Add new Announcement Banner component
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.
2024-02-24 23:39:00 +04:00
Emil Gulamov
f81a5542dd "Add example URL in blog page comments"
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.
2024-02-24 05:48:44 +04:00
Emil Gulamov
899cdd6cad Merge remote-tracking branch 'origin/main' 2024-02-23 20:56:25 +04:00
Emil Gulamov
8e6f720f75 Fix missing closing tag in Navbar
Fixed an issue where the NavLink component in the Navbar.astro file was not correctly closed.
2024-02-23 20:55:36 +04:00
Emil Gulamov
05b6da9729
Update README.md 2024-02-22 10:39:03 -08:00
Emil Gulamov
33be38566c
Update README.md 2024-02-22 10:33:00 -08:00
Emil Gulamov
982f6f081a Enable prefetch and experimental client prerender in Astro config
The commit introduces prefetch in the Astro configuration to improve initial load speed. Additionally, it enables an experimental feature, clientPrerender, to potentially enhance rendering performance. Changes have been made keeping both functionality and performance improvements in mind.
2024-02-22 22:08:45 +04:00
Emil Gulamov
0d6284cfea Refactor component code and enhance loading attributes
The commit modifies several components to streamline their code by minimizing extra comments and embedded interfaces. This alteration enhances overall code readability. Furthermore, the 'loading=eager' attribute has been added to image components in CardBlogRecent and CardBlog templates to optimize loading performance by instructing the browser to load these images as soon as possible.
2024-02-22 21:59:24 +04:00
Emil Gulamov
7e82aaa5df
Update README.md 2024-02-22 06:22:14 -08:00
Emil Gulamov
7910656bfa Refactor code for dynamic content generation
This commit refactors the code to enable dynamic content generation for three components: FeaturesStats, Meta, and services pages. The FeaturesStats component now receives statistics data through its props, enabling easier content updates. Similar changes have been made in Meta to use site URL from Astro configuration file and dynamically generate image URLs. The services pages code has been refactored to generate articles using an array, making it more maintainable and reusable. This improves the flexibility and scalability of the codebase.
2024-02-22 08:43:37 +04:00
Emil Gulamov
041ed7d55a Add TestimonialItem and StatsGrid components
This commit introduces two new components (TestimonialItem and StatsGrid) to modularize the display of testimonial and statistics information. It also updates the TestimonialsSection to utilize these new components and receive parameters through its props. The MainPage's data source has been adjusted to send the required props for these changes.
2024-02-22 08:43:19 +04:00
Emil Gulamov
2ec0e1975f Refactor and enhance components for better data handling
This commit refactors several components to improve data handling and flexibility. It primarily modifies the way data is passed as props to the components. By taking advantage of the flexibility that comes with the use of props, components such as HeroSection, FeaturesStatsAlt, and TestimonialsSectionAlt have been enhanced to adjust and render content dynamically. This creates an improvement in code reusability and maintainability across the application. Additionally, optional rendering has been added for secondary elements such as subtitles and buttons.
2024-02-21 22:01:09 +04:00
Emil Gulamov
e0ec04119c
Update README.md 2024-02-20 18:30:51 -08:00
Emil Gulamov
e474c34b53
Update README.md 2024-02-21 04:44:02 +04:00
Emil Gulamov
bd969ecf9f
Update README.md 2024-02-20 10:35:24 -08:00
Emil Gulamov
038bd68bd6
Update README.md 2024-02-20 10:33:42 -08:00
Emil Gulamov
7b3b237834 Update README and code comments for clarity
In this commit, the README file content has been simplified to make it more concise. Furthermore, important points have been highlighted using note and tip callout formats to make them more noticeable. Additionally, code comments and instructions have been updated for better understanding and ease of use.
2024-02-20 21:41:20 +04:00
Emil Gulamov
d2a606f03c Update code comments and enhance README documentation
This commit improves the clarity of code comments in several Astro components for better understanding of their functionality. Changes were also made to the 'rounded' class in UI cards for improved visual appearance. In the README file, detailed explanations of project structure, customization process, key features, tools and technologies used, and their roles are provided to enhance project documentation.
2024-02-20 20:50:32 +04:00
Emil Gulamov
ff2b8e56eb Update import paths for image assets
The directory structure for image assets has been reorganised. This change required updates to the import paths in several Astro components, especially those in the features and landing sections. The updated structure streamlines the organisation of image assets, improving code readability and maintainability.
2024-02-20 08:43:57 +04:00
Emil Gulamov
38e8049299 Refactor README and adjust import paths after directory restructuring
The codebase has been optimised with a reorganisation of the component directories. This required modifications to some import paths to preserve functionality, notably in services.astro. The README file was also decluttered and reframed under development and deployment commands to improve new developer onboarding. These changes pave the way for better SEO performance and ease of extendibility.
2024-02-20 08:41:34 +04:00
Emil Gulamov
09fc23fcdc
Create CODE_OF_CONDUCT.md 2024-02-19 19:59:42 -08:00
Emil Gulamov
31addc9ae0
Update README.md 2024-02-19 19:54:56 -08:00
Emil Gulamov
83553eb1c1 Update import paths due to directory restructuring
The directory structure of components was reorganized, which required the updating of import paths in various sections. This was crucial to maintain the functionality of the UI components, buttons, blocks, and avatars after the folder restructuring. This change also sets the groundwork for future enhancements, such as improving SEO performance.
2024-02-20 07:51:14 +04:00
Emil Gulamov
addbb5457a Refactor code and restructure directories
In response to the changes made to the directory structure of the project, the code has been refactored to adjust image import paths across various sections. It also involves reorganizing components into appropriate folders based on their roles in the application. Along with this, a new utility file for navigation links has been introduced, and configurations for authorizing remote images have been added to Astro configuration file, suggesting an enhancement in SEO performance.
2024-02-20 07:47:23 +04:00
Emil Gulamov
a7c3dee7a2 Update image import paths in various sections
The changes are simply adjustments to image import paths in several sections. This is due to the relocation of image resources and better aligns with the new file directory structure.
2024-02-19 18:19:29 +04:00
Emil Gulamov
58678ed276 Update import paths after directory restructure
All import paths to UI elements in various components have been updated following a directory restructure. The change helps to better organize components within the 'sections' and 'ui' directories.
2024-02-19 18:14:31 +04:00
Emil Gulamov
7a609e4a5c Refactor components to 'sections' directory and improve SEO
All component files have been moved to a newly created 'sections' directory for better organization. Changes in import paths are reflected in all dependent files. Also, implemented SEO enhancements by adding structured data and default meta descriptions to the Meta component, and adjusted it to accept these values as props from parent components.
2024-02-19 17:41:42 +04:00
Emil Gulamov
5b8218c5e5 Remove unnecessary semicolons in password fields
Redundant semicolons in password input fields in 'RegisterModal.astro' and 'LoginModal.astro' files have been removed. This addresses unnecessary symbols inserted in the code, ensuring cleaner and more readable syntax. 'aria-describedby' attribute in 'RegisterModal.astro' was also adjusted for better accessibility.
2024-02-19 10:13:23 +04:00
Emil Gulamov
1730ce1bd4 Update website URL and optimize robots.txt settings
The website URL references in the project have been updated from 'https://screw-fast.vercel.app' to 'https://screwfast.uk'. In addition, the 'robots.txt' settings have been optimized to specify different crawl delays for different bots, providing a more granular control over how search engines interact with our website. Also, minor adjustments have been made to the PasswordInput component to streamline the 'aria-describedby' attribute.
2024-02-19 10:05:50 +04:00
Emil Gulamov
2d2bada884 Replace div tags with section tags in various components
The div HTML tags in various components of the project have been replaced with more appropriate section tags for better semantic structure. This affects the TestimonialsSection, Products, FeaturesStats, and several other components. Options for minifying JavaScript in the process-html file have also been updated. In the MainLayout, a main tag has been added to wrap page content for better accessibility and semantics.
2024-02-19 09:36:37 +04:00