Commit graph

76 commits

Author SHA1 Message Date
Emil Gulamov
1a3c30407d Update package dependencies and simplify blog post metadata 2024-05-26 22:14:10 +04:00
Emil Gulamov
58134efaf2 Update French translations on website pages 2024-04-24 00:10:41 +04:00
Emil Gulamov
f0d671ff49 Update French translations on website pages 2024-04-24 00:08:04 +04:00
Emil Gulamov
61882e896e Merge remote-tracking branch 'origin/main' 2024-04-23 23:50:04 +04:00
Emil Gulamov
dc1b76b20f Update logic for loading blog posts in different languages
The changes in this commit involve updates to the logic that drives loading of blog posts. Further changes were made to various components to pass the locale as a prop, which is then used for URL formation in these components.
2024-04-23 23:49:47 +04:00
Emil Gulamov
2da6ae38af Add new blog posts in English and French 2024-04-23 23:46:21 +04:00
Emil Gulamov
d2ecb964c2 Refactor product page 2024-04-20 14:34:26 +04:00
Emil Gulamov
93121c1029 Add table display for specifications
Restructured the display of product specifications into a table format, providing users with two choices: a list of items or a table.
2024-04-20 14:21:18 +04:00
Emil Gulamov
6a6f08d83f Update import paths in manifest.json and constants.ts files 2024-04-17 19:24:41 +04:00
Emil Gulamov
e57a205784 Refactor imports to utilize absolute paths
This commit changes all project imports to use absolute paths instead of relative ones. In addition, the 'tsconfig.json' has been updated to recognize new paths, aiding in easier project navigation and improved readability. The implemented changes result in cleaner imports and a more comprehensible project structure.
2024-04-17 18:25:49 +04:00
Emil Gulamov
242b411ab0 Update hyperlink paths and import statements across files 2024-04-11 00:00:08 +04:00
Emil Gulamov
b3f670ef52 Refactor code to use Tailwind color names
This commit includes both a typo fix in the `icons.ts` file, and substituting hard-coded color hex codes with corresponding Tailwind color palette names.
2024-04-09 19:23:28 +04:00
Emil Gulamov
c92a067040 Replace color hex codes with Tailwind color palette
Replaced all custom color hex codes used in various component classes with their corresponding color names from the expanded Tailwind color palette. This ensures consistent styling across components and enhances readability and maintainability of the code.
2024-04-07 18:23:16 +04:00
Emil Gulamov
4ab913d11a Improve progress bar functionality on insights page
The transformation animation has been replaced by a dynamic script that adjusts the width of the progress bar based on the user's scroll position. This functionality has been implemented for both desktop and mobile.
2024-04-05 21:33:57 +04:00
Emil Gulamov
1fc42828b3 Refactor ToC generation and active link handling
The SVG HTML was moved into a constant for cleaner code.
2024-04-02 21:59:53 +04:00
Emil Gulamov
65037e910f Add spacing in CSS for improved readability 2024-04-02 21:43:50 +04:00
Emil Gulamov
332dd8f5ce Refine README and add typings to ToC functions 2024-04-02 21:33:55 +04:00
Emil Gulamov
e896368f49 Update README and refactor Table of Contents (ToC) code
This commit updates the README file to reflect the addition of a dynamic ToC with a scroll progress indicator in the insights posts. The code related to this functionality has also been refactored in the insights file to split the logic within event listeners into separate functions, leading to higher readability and cleaner code.
2024-04-02 21:21:43 +04:00
Emil Gulamov
dfc6d085e0 Remove generateToc file and refactor TOC in insights page
The generateToc.ts file has been deleted and the way Table of Contents is generated in the insights page has been refactored. The refactoring changes include graphical enhancements, making the UI more dynamic, and implementing GSAP's ScrollTrigger for the headings. Increased readability and easier code maintenance are also anticipated from this.
2024-04-02 20:21:57 +04:00
Emil Gulamov
064a48b157 Update configuration and enhance insight page interactions
This commit updates certain configurations for improved functionality. Significant updates have been made to enhance the structure of the 'insights' webpage, with the addition of scroll-triggered animations. A progress indicator has now been implemented, to improve interactivity and user experience.
2024-04-02 01:44:15 +04:00
Emil Gulamov
87c23ca26e Rename product subtitles and adjust schema in collections
Redesigned the product markdown files and schema to divide product title and subtitle into separate 'title' and 'description' fields to provide better data representation. Adjusted CardWide and CardSmall components to accommodate these changes, ensuring consistent and appropriate depiction of product descriptions across all pages.
2024-03-30 14:51:44 +04:00
Emil Gulamov
d82473b35c Add pricing.json and integrate into PricingSection component
The pricing details, previously hardcoded in the PricingSection component, have been extracted to a separate JSON file in both English and French. They are now dynamically loaded into the PricingSection, enhancing maintainability and content management capabilities.
2024-03-29 00:46:57 +04:00
Emil Gulamov
acff1208ed
Merge branch 'main' into feat-siteConstants 2024-03-28 21:53:33 +04:00
Emil Gulamov
74c986e405 Update manifest ID and reduce favicon sizes
The favicon size options have been reduced to only 16px and 32px, abandoning larger, less commonly used sizes.
2024-03-28 18:08:43 +04:00
Ricardo Tribaldos
18e31d3121 Replace hardcoded constants with variables from constants file 2024-03-27 17:25:34 -05:00
Ricardo Tribaldos
34768af685 Generate dynamic favicon ico file 2024-03-26 12:39:49 -05:00
Ricardo Tribaldos
3a4662a5b0 Remove console.log statements left in manifest.json.ts 2024-03-26 12:22:13 -05:00
Ricardo Tribaldos
4de42dc850 Generate dynamic manifest file and icons
This update also moves the main icon images from the public folder to the src folder and remove the ones that are going to be generated and optimized by Astro.
2024-03-26 12:06:02 -05:00
Emil Gulamov
27583d8191 Improve site's multi-language support by adding French translation
This update vastly improves the website's support for multiple languages by adding French translations to several new pages, including 404, contact, products index, home, and services pages. This update also introduces a new ContactSection_fr.astro component for a French version of the Contact Us section. Site configuration has been modified to appropriately handle these new additions.
2024-03-26 01:13:16 +04:00
Emil Gulamov
82916cce1b Add French translations of new pages and update site configuration
Introduced French translations of new pages including 404, contact, products index, home, and services. Also updated site configuration to handle French translations and added a new ContactSection_fr.astro component for the French version of the Contact Us section.
2024-03-25 22:40:55 +04:00
Emil Gulamov
5a7150cc05 Update tsconfig and import paths for project-wide consistency
Modified tsconfig.json to add compilerOptions for @/* base directory paths and updated all relative file import paths in the project to use this configuration. This change provides a cleaner, more consistent, and efficient way to handle file imports.
2024-03-25 22:39:36 +04:00
Emil Gulamov
831287db76 Add structured data to enhance SEO 2024-03-24 17:28:23 +04:00
Emil Gulamov
02487794e9 Add image and JSON data imports to index.astro
This commit includes importing several image files and JSON data files in 'index.astro'. It adds unique data imports for FAQ, features, and several feature images. It also modifies existing component props to use imported data, enhancing code reusability and maintainability.
2024-03-22 04:44:38 +04:00
newbeelearn
08e4a77b5f Add image source and alt to HeroSection
Added image source and alt to HeroSection so that images can be
passed to it. Right now it is hardcoded in HeroSection. This will improve
reusability of HeroSection by theme users.
2024-03-20 17:24:41 +05:30
Emil Gulamov
b4f128b6e2 Add Bookmark button functionality and update blog post layout
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.
2024-03-17 08:04:59 +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
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
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
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
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
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
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
Emil Gulamov
e3888b18cb Add HTML minification process and update dependencies
A new script for HTML minification has been added, which is run after the build process. Several dependencies were updated, including the Astro framework and its related plugins. The 'astro-critters' package and its usage in the Astro configuration were removed. A minor animation timing change was also made in the [...slug].astro file.
2024-02-19 08:58:15 +04:00
Emil Gulamov
f7f2f38d32 Update various UI elements and improve form error handling
This commit introduces adjustments to several UI elements, including title alignment, font sizes, and avatars loading. The updates aim to improve the overall visual appeal and user experience on the website. In addition, better error handling has been added to form inputs, including adding unique error IDs for each form's email input to enhance user feedback and accessibility.
2024-02-18 23:16:41 +04:00