Commit graph

17 commits

Author SHA1 Message Date
Emil Gulamov
d1c619bb9e Refactor language switching logic for blog posts, insights and products
- Ensure URLs maintain correct structure without duplicating language prefixes
- Update script to dynamically reconstruct URLs when switching languages
- Improve logic for adding and removing language prefixes based on current path
2024-09-08 14:53:53 +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
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
Ricardo Tribaldos
18e31d3121 Replace hardcoded constants with variables from constants file 2024-03-27 17:25:34 -05: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
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
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
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