Commit graph

41 commits

Author SHA1 Message Date
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
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
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
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
Emil Gulamov
e7b0e8ae74 Refactor components and improve commenting
Multiple Astro UI components such as sections, buttons, and modals have been refactored for better code efficiency and cleanliness. Inline comments have been enhanced to provide more context and explanation, improving understanding of components and their properties. Renamed TestimonialsSection2 to TestimonialsSectionAlt for better semantics.
2024-02-18 07:42:02 +04:00
Emil Gulamov
8d43521b45 Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
Emil Gulamov
03f0d73c45 Refactor code and enhance comments in multiple files
The changes made include code refactoring and reformatting in several files for better readability, and to adhere to best practices. Detailed and intuitive comments were added to the code, improving clarity and understanding of the codebase. There were also some class adjustments and minor changes in several files ranging from reordering class listings to updating element selections. Import statements were also modified for clarity. Accordion functionality was removed, potentially indicating a pending replacement or enhancement.
2024-02-18 07:40:53 +04:00
Emil Gulamov
c2dda2165b Update component codebase for readability and maintenance
Several component files have been refactored to improve code clarity and ease of maintenance. This includes introducing comprehensive comments explaining the functionality and purpose of sections of the code, as well as leveraging Astro.js for more streamlined data sourcing. The commit also includes the removal of redundant files from the vendor scripts directory as part of a general clean-up, improving overall codebase organization.
2024-02-18 07:39:53 +04:00
Emil Gulamov
04e8089294 Refactor several component files for improved maintainability
This commit refactors multiple component files for better understandability and maintainability. Detailed comments are added for enhanced readability. The data source is defined using Astro.js to simplify the process of acquiring data for the components. Unnecessary files like 'preline.js' from the vendor scripts directory are deleted as part of clean-up.
2024-02-18 07:39:17 +04:00
Emil Gulamov
69530ff398 Add "Insights" category and related components
A new category called "Insights" has been added to the blog. New components such as individual insights page layout and individual insights card have been added. The new components also include astro content files for individual insight articles. This provides users with more in-depth information and can potentially increase user engagement.
2024-02-18 00:55:43 +04:00
Emil Gulamov
ac22de1301 Add insights category and related articles section to blog
Code has been updated to include insights as a new category of blog posts. Each blog post now also includes a related articles section at the bottom. The new feature enriches the content offering for users and potentially increases user engagement. The code has also been cleaned up for readability and consistency, improving maintainability long term.
2024-02-18 00:55:32 +04:00
Emil Gulamov
a5c2e6bbde Add blog and avatar page components
This code introduces new Astro components for the blog pages and avatar elements, along with their corresponding layout and display factors. It also includes relevant asset imports, formatting utility functions, and mapping of blog content collection for dynamic content presentation.
2024-02-17 08:16:25 +04:00
Emil Gulamov
bfc01cc16d Add new card components for blog and product sections
Introduced four new Astro components: CardBlog, CardBlogRecent, CardSmall and CardWide, designed for displaying blog entries and products. These components have been equipped with asset imports, content collection types, and interactive prefetch links for better user experience and performance.
2024-02-17 08:16:16 +04:00
Emil Gulamov
10708a3d35 Add new scripts to Navbar and enhance NavLink's functionality
New scripts added to 'Navbar' component improve design functionality. 'NavLink' handling of current page has been refined to accurately reflect the current user's location with the addition of splitting the URL pattern. Changes in 'MainLayout' reflect updated script paths to match recent directory changes. These refinements improve usability and streamline codebase.
2024-02-17 08:14:59 +04:00
Emil Gulamov
f1fa424976 Remove unused GSAP library from public assets
The GSAP (GreenSock Animation Platform) JavaScript library was not in use, thus the gsap.min.js file has been deleted from the public/assets/vendor directory. This removal is part of codebase cleanup to improve application performance and efficiency.
2024-02-17 08:14:46 +04:00
Emil Gulamov
88b246d366 Remove 'prod.astro' and make image component properties optional
The 'prod.astro' page is deleted as a part of refactoring process. Also, title, src, alt, and url properties of ImgSmall and ImgWide components are now optional, which provides greater flexibility and reduces risk of errors when these components are used in various parts of application.
2024-02-16 08:43:28 +04:00
Emil Gulamov
33c942f261 Migrate product content to Markdown format and add new features
Product information previously stored in JSON files has been migrated to Markdown format for efficient content management. Additionally, added a new button component for 404 pages to improve navigation and user experience. Defined a new schema for product collections and included GSAP JavaScript library for future animations.
2024-02-16 08:36:04 +04:00
Emil Gulamov
885c0f9754 Add new "SF-BN B203" product description and implement product details page
The new product file "b203.json" was added to the product description containing detailed descriptions, features and product aspects. In the "prod.astro" file, a product details page was implemented, which fetches data from the JSON file and presents it to the user. The changes also included the development of a "ProductTabBtn" component to improve code modularity and the user interface.
2024-02-15 10:07:14 +04:00
Emil Gulamov
539837b6d9 Improve code readability and simplicity
Condensed the code by breaking down long lines into multiple lines and removing unneeded classes in several UI components. The changes enhance readability, declutter the codebase, and result in a more accessible and maintainable code structure.
2024-02-15 10:06:55 +04:00
Emil Gulamov
6f7f2ec4d4 Refactor codebase
All changes aim to clean up the codebase and eliminate unused or unnecessary code.
2024-02-15 00:35:36 +04:00
Emil Gulamov
5881b7798b Refactor codebase
All changes aim to clean up the codebase and eliminate unused or unnecessary code.
2024-02-15 00:17:43 +04:00
Emil Gulamov
6025dc07db Add new UI components and secure headers configuration
Introduced new UI components including testimonial section, avatar, and image elements. Configured secure headers in vercel.json file to enhance security. These changes improve both the aesthetic appeal and security of the website.
2024-02-14 22:57:02 +04:00
Emil Gulamov
a9b4e8c0dc Update testimonials and improve code readability
Refactored the image URL in testimonials and reduced redundancy in the FeaturesStats and accordion components, enhancing code readability. Also, implemented dynamic id generation in the FAQ component, improving scalability and maintainability. Added new pages to the website and updated the meta information, improving SEO.
2024-02-14 22:56:43 +04:00
Emil Gulamov
fbc2128cdb Add new UI components and sections
Added new UI components including Checkbox, StatsBig, and StatsSmall for forms and stats display. Additionally, new layout sections such as FeaturesStats, LeftSection, RightSection, MainSection were added. These various additions and improvements aim to enhance the website's interface and interaction for users.
2024-02-14 05:49:44 +04:00
Emil Gulamov
b8097da9ab Add ContactIconBlock and revamp contact form
Implemented a new ContactIconBlock in the UI, including its Astro file and related props. Also added various form input components including EmailContactInput, PhoneInput, and PasswordInput for a more comprehensive contact section. Updated ContactSection with the new input fields and improved structure for better user experience and functionality.
2024-02-14 05:48:53 +04:00
Emil Gulamov
443597b15d Remove unused authentication components and settings
Due to design changes, removed old authentication components and related configuration settings in .idea and .vscode folders. Changes include elimination of subscription input, email input, login and register modals, and user interface blocks. All changes aim to clean up the codebase and eliminate unused or unnecessary code.
2024-02-14 05:47:32 +04:00
Emil Gulamov
829d87be7c Update image format and adjust page layout
Image format has been updated to avif format in TabContent.astro, FeaturesGeneral.astro for better performance. Metadata in Meta.astro was also updated to provide precise information about the website. Layout changes were made in HeroSection2.astro for better visual representation.
2024-02-13 06:19:17 +04:00
Emil Gulamov
aa2662df78 Add new authentication components and footer section
Introduced new user interface components used for authentication pages, including LoginModal, RegisterModal, RecoverModal, and associated input elements. Added a comprehensive FooterSection containing links to main site areas and social media platforms. These updates enhance the usability and functionality of the application's user registration and navigation.
2024-02-13 05:51:18 +04:00
Emil Gulamov
6610a27857 Update image handling and responsive button text sizing
Simplified image handling configuration in the "astro.config.mjs" by removing explicit sizing. Updated text sizing of PrimaryCTA and SecondaryCTA components to scale responsively in 2xl views. Aimed to improve the user interface and experience on larger screens.
2024-02-13 05:50:53 +04:00
Emil Gulamov
2acfdaa84a Simplify image configuration and update button text sizing
The image handling configuration within astro.config.mjs has been simplified by removing explicit sizing and format details. Concurrently, button text sizing for both PrimaryCTA and SecondaryCTA components has been updated to scale responsively on 2xl views, ensuring better user interface on larger screens.
2024-02-12 17:36:50 +04:00
Emil Gulamov
9b5d157267 Update website configuration and improve UI
The website's configuration is updated with new site URL and vercelStatic adapter modified with image configuration. The UI is also enhanced, with color and aspect ratio adjustments in PricingSection and TabContent. Moreover, image sizes in ClientsSection are regularized.
2024-02-12 17:17:04 +04:00
Emil Gulamov
5e2a3f88b9 Add NavLink component for navbar
This commit introduces a reusable NavLink component for the navigation bar. This component has a script to highlight the active link by comparing the current URL with each link's href. It also improves code readability by separating concerns.
2024-02-12 17:16:21 +04:00
Emil Gulamov
6eeb74c235 Implement AccordionItem component and FAQ section
Implemented a new AccordionItem component and a Frequently Asked Questions (FAQ) section on the website. The AccordionItem component is a reusable, customizable accordion-style UI element that can be used for compact, expandable content presentation. The FAQ section uses the AccordionItem to present a list of commonly asked questions and their answers, with a clean expand/collapse interaction for readability.
2024-02-12 05:46:48 +04:00
Emil Gulamov
66bbe9f963 Rename 'paragraph' prop to 'content' across components
The 'paragraph' prop has been updated to 'content' in Astro components to provide more flexibility in what content it can include. This change affects IconBlock, TabNav, FeaturesNavs, and FeaturesGeneral components, ensuring the prop name is consistently used throughout and reflects its function more accurately.
2024-02-12 05:46:27 +04:00
Emil Gulamov
41deaa4fbf Refactor component names and add newline in SecondaryCTA
Refactored the names of the Testimonials and Pricing components to TestimonialsSection and PricingSection for better understanding. Also fixed the lack of newline at the end of file in SecondaryCTA component.
2024-02-12 04:48:22 +04:00
Emil Gulamov
a12fb8be40 Add FeaturesNavs component and update TabNav & TabContent components
This commit introduces a new component 'FeaturesNavs' that includes the navigation for the tools, dashboards, and robust features selections. It also modifies the existing 'TabNav' and 'TabContent' components to manage the functionality of the tabs dynamically. Changes emphasize the use of 'first' and 'second' props to manage the initial active tab and style variations.
2024-02-12 03:50:38 +04:00
Emil Gulamov
dd387e7a08 Add IconBlock component and use in FeaturesGeneral
Introduced a new Astro component, IconBlock, used for displaying icons paired with a heading and paragraph. This component is then utilized in the newly added FeaturesGeneral component, which encapsulates a feature section of the UI with a title, subtitle, image and a dynamic set of IconBlocks. This promotes reusability and visual consistency across the application.
2024-02-11 23:55:40 +04:00
Emil Gulamov
3174ed252e Add Avatar component
The commit introduces an Avatar component in Astro. This component is primarily used for displaying user avatars, taking in source and alt text as props. It's highly reusable, providing versatility for displaying avatars across various features in the application.
2024-02-11 22:46:11 +04:00
Emil Gulamov
61950cc4f3 Add FullStar and HalfStar components
The commit introduces two new Astro components: FullStar and HalfStar. These components are primarily used for displaying rating stars. They show a filled star and half-filled star, which are useful in building a user review feature especially in eCommerce platforms.
2024-02-11 22:46:00 +04:00
Emil Gulamov
7c2c33331e Add PrimaryCTA and SecondaryCTA components
This commit adds two new Astro components: PrimaryCTA and SecondaryCTA. These components represent the primary and secondary Call To Action (CTA) buttons, respectively. Both components accept title and url as props, and present clickable buttons styled according to their classification.
2024-02-11 22:45:46 +04:00