Commit graph

19 commits

Author SHA1 Message Date
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
acff1208ed
Merge branch 'main' into feat-siteConstants 2024-03-28 21:53:33 +04: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
34768af685 Generate dynamic favicon ico file 2024-03-26 12:39:49 -05:00
Ricardo Tribaldos
c1bccf25d5 Generate dynamic favicons 2024-03-26 12:19: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
991ec9a909 Add new PostFeedback and SocialShare components
Created the 'PostFeedback.astro' and 'SocialShare.astro' component files to enrich the UI interface. The PostFeedback component renders a user feedback section with a title and two responsive buttons. Whereas, the SocialShare component provides users with hyperlinks to popular social media platforms - it also enables copy-pasting of current page links using the ClipboardJS utility function and dropdown functionality from the Preline plugin.
2024-03-17 08:05:52 +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
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
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
771a3aacd9 Add GSAP library to project
A minified version of the GSAP (GreenSock Animation Platform) library has been added to the scripts/vendor directory. This library will be used to provide rich, high-performance animations for various components within the project.
2024-02-17 08:16:05 +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
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
2530eb2316 Add new SVG icon, web manifest, meta component, and robots.txt
Introduce an SVG icon to the project and establish a new web manifest containing app details and icon information. Add a Meta component to serve structured site metadata for better web presentation and search engine optimization. Include a new robot.txt to instruct web crawlers. The addition of these elements promotes better site recognition and SEO, enhancing user navigation and experience.
2024-02-12 07:37:22 +04:00
Emil Gulamov
3f6efbc54f Update dependencies and adjust styles
Added new dependencies to the Astro and npm configuration files which includes sitemap, vercel, and other packages. Removed the HSThemeAppearance script in ThemeIcon.astro and the favicon.svg file. Made minor adjustments to the class attributes of some components in HeroSection.astro for styling purposes. These changes aim to enhance website performance and user experience. Furthermore, the addition of the sitemap package will help improve website SEO.
2024-02-12 07:36:55 +04:00
Emil Gulamov
748b211eac Add new lenis.js file 2024-02-11 23:56:21 +04:00
Emil Gulamov
5b71fa87df Update dependencies and tailwind configuration
The package.json and package-lock.json files have been updated to include new development tools: Prettier, its Astro and TailwindCSS plugins, and a package called preline. The tailwind.config.mjs file has also been updated to reference preline and its plugin as well as to enable Tailwind's dark mode feature.
2024-02-11 22:47:39 +04:00
Emil Gulamov
d5b8e0527b Add initial project setup with Astro
This commit includes the introduction of Astro project setup files, including the configuration. The main change is the addition of the configuration file `astro.config.mjs`, where Tailwind is set up for Astro integration. It also adds `.gitignore` files, a `package.json`, and setup files for VSCode and IntelliJ IDEA. The project includes a favicon and a simple Astro page. It comes with a `package-lock.json` file which locks down the versions of each dependency ensuring that installs generate the exact same tree across machines.
2024-02-10 03:49:51 +04:00