Commit graph

171 commits

Author SHA1 Message Date
Lorenzo Tomas Diez
e4e2f088be fix-related-cards: adds property for other languages 2024-06-06 00:23:49 -03:00
mike.feng
beddd13dcd fix:correct a link address path error 2024-05-29 15:52:13 +08:00
Emil Gulamov
1a3c30407d Update package dependencies and simplify blog post metadata 2024-05-26 22:14:10 +04:00
Emil Gulamov
1ee6545eb5 Update product description in a765.md
The previously blank description for the product SF-AB A765 has been updated to "Assorted Screw Set".
2024-04-24 18:33:36 +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
b54e445a26 Adjust Lenis library's initial configuration settings 2024-04-14 04:29:36 +04:00
Emil Gulamov
242b411ab0 Update hyperlink paths and import statements across files 2024-04-11 00:00:08 +04:00
Emil Gulamov
b3204904ba Fix typo in LanguagePicker component's class attribute 2024-04-10 03:28:01 +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
7aede2c230 Adjust dropdown menu transformation properties
This commit makes changes to the transformation properties for the dropdown menu in the 'LanguagePicker' component. New properties have been added to better position the dropdown on both mobile and desktop views resulting in a more responsive design.
2024-04-05 04:06:52 +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
06e2222650 Refactor logo imports and update logo attributes in SiteTitle 2024-04-02 21:07:43 +04:00
Emil Gulamov
616346ef9f Merge remote-tracking branch 'origin/add-toc' into add-toc 2024-04-02 20:22:19 +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
4bd7100de9
Merge branch 'main' into add-toc 2024-04-02 16:18:33 +04:00
Emil Gulamov
5cac9eb782 Add new Head component and update dependencies
A new Head component has been added and interactions with view transitions have been defined within it. The .webp format is now being used for social media metadata. Also, astro-vtbot has been added as a new dependency.
2024-04-02 03:58:26 +04:00
Emil Gulamov
c1fc2b759a 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:19 +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
103b3cb75a Add generateToc utility and GSAP's ScrollTrigger library
A new utility function `generateToc` has been created in `src/utils/generateToc.ts` for generation of table of contents. The utility includes child component extraction and error handling for orphan headings. Additionally, GSAP's ScrollTrigger library has been included under `public/scripts/vendor/gsap/` to manage scroll-triggered animations.
2024-04-02 01:43:19 +04:00
Emil Gulamov
559569cf1c Add titles to social icons and update URLs
Added titles to the social icons for better accessibility and updated the URLs for each social platform in the navigation component. Also added an aria-label to the LanguagePicker component and included the icon title in the Icon.astro file.
2024-03-31 00:48:41 +04:00
Emil Gulamov
007e23dd23 Merge remote-tracking branch 'origin/main' 2024-03-30 14:52:00 +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
9566b4403f
Merge pull request #29 from rotary-dev-fellowship/refactor/brandlogo-props
Refactor: Simplify BrandLogo Component Props Handling
2024-03-30 03:45:40 +04:00
Emil Gulamov
f56f433fac Improve metadata with alternate language support
Updated metadata component to add support for alternate languages and a canonical link.
2024-03-30 03:34:10 +04:00
Ricardo Tribaldos
02ca410e84 Update BrandLogo usage in FooterSection and Navbar 2024-03-29 18:00:48 -05:00
Ricardo Tribaldos
e19f34fb87 Refactor BrandLogo component to use spread operator for props 2024-03-29 18:00:26 -05:00
Emil Gulamov
9bd4ff79ac Add BrandLogo and LanguagePicker components
Introduced two new components (BrandLogo and LanguagePicker) to the Navbar component. This refactor improves readability and maintainability of the code. Additionally, SVG icons are extracted into reusable components
2024-03-30 01:18:02 +04:00
Emil Gulamov
d3212bc62d Update UI styles and improve navigation and SEO features
This commit introduces several UI behavior improvements, particularly enhancing the hover states of buttons in dark mode, and tweaking language-specific navigation. It also includes significant enhancements to the project's SEO configuration by revising the README documentation and transitioning the management of SEO-related data to a centralized `constants.ts` file for more structured and manageable SEO settings.
2024-03-29 00:47:11 +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
3431077897 Move social image to /src/images to allow Astro auto optimization 2024-03-27 17:03:27 -05:00
Ricardo Tribaldos
827086c49d Extract contants from Meta component 2024-03-27 16:57:42 -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
c1bccf25d5 Generate dynamic favicons 2024-03-26 12:19:13 -05:00