Commit graph

29 commits

Author SHA1 Message Date
Emil Gulamov
020679f26c Ensure correct URL handling for product page translations 2024-09-07 21:51:07 +04:00
Emil Gulamov
00ba64c6e1 Modified mobile layout with MobileMenuFooter and ThemeSelectMobile.
Added MobileMenuFooter and ThemeSelectMobile components to enhance user interactivity for mobile layouts. These new components facilitate theme switch and house utility icons and language selection in structured, mobile-friendly layouts. Accompanying style updates were implemented to ensure visual consistency, and the astro.config.mjs file was updated to link the MobileMenuFooter component.
2024-06-25 02:58:36 +04:00
Emil Gulamov
df9b56efd8 Add ThemeSelect component with theme toggle functionality to the Starlight's Navbar
A new ThemeSelect.astro file was added to let users toggle between light and dark themes in Starlight Docs. This component replaces the default ThemeProvider.astro component
2024-06-22 17:47:58 +04:00
Emil Gulamov
f62575ac24 Update various scripts and styles including Lenis library
The Lenis library is updated to improve smooth scrolling. The lenis.js script is replaced by lenisSmoothScroll.js and certain lenis related CSS rules are removed. Also, it encompasses changes in the way some plugins are imported in different components, moving from inline script import to modular imports. Additionally, the customCss file location is updated in the astro.config.mjs file. New dependencies are added to the package and package-lock json.
2024-06-21 19:09:44 +04:00
Emil Gulamov
d894fe35d0 Update language setting and upgrade package dependencies 2024-06-12 22:51:37 +04:00
Emil Gulamov
d795a4a578 Change locale codes in astro.config.mjs 2024-04-03 15:45:19 +04:00
Emil Gulamov
3554489b60 Adjust sitemap locale settings and meta tags formatting in astro.config 2024-04-03 15:29:21 +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
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
9caf68d975 Enhance site with bilingual support
Added conditions for changing form labels, navigation items according to the current locale. The README file was also updated accordingly to reflect these changes.
2024-03-26 09:11:14 +04: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
522eb397f0 Remove StarlightLayout and update sidebar configuration
Deleted StarlightLayout.astro file and removed its references in various markdown files. Also, extended the sidebar configuration in the astro.config.mjs to include translations and added menu items under the Tools & Equipment section.
2024-03-21 23:57:00 +04:00
Emil Gulamov
36695d3340 Update UI component and application styles
Moved SiteTitle.astro to a new Starlight directory and enhanced application styles across multiple CSS classes. Updated lists in .mdx files to use bullet points instead of numbers. The relocation of the SiteTitle component contributes to a more organized project structure. Changes in styles improve the application's visual appeal and readability, while the updated list format enhances content presentation.
2024-03-21 17:24:38 +04:00
Emil Gulamov
f6d71d98fc Add Starlight documentation
Added Starlight to the project for improved documentation capabilities, including internalization support and enhanced styling. This will provide a more streamlined and user-friendly experience for users accessing documentation across different languages and platforms.
2024-03-20 07:46:14 +04:00
Emil Gulamov
87cf339241 Remove astro-critters package and update astro.config.mjs
The astro-critters package has been removed resulting in updates in the astro.config.mjs, package.json and package-lock.json files. The code in astro.config.mjs has been reformatted for better readability.
2024-03-17 17:37:30 +04:00
Emil Gulamov
e0cec536e7 Update astro.config.mjs and add astro-critters package
Added the astro-critters package to improve critical CSS inlining and prioritization. This update involves changes to both the astro.config.mjs to import the package and set it up for integration, and package.json along with package-lock.json to add the package.
2024-03-17 17:25:44 +04:00
Emil Gulamov
33f667cd55 Update @astrojs/check, @astrojs/vercel and astro packages versions
Updated the versions of @astrojs/check, @astrojs/vercel and astro packages in package.json and package-lock.json. Also enabled the directRenderScript experimental feature in astro.config.mjs. Refactored navigation link active class logic in NavLink.astro to use 'DOMContentLoaded' event for better performance.
2024-03-11 21:22:51 +04:00
Emil Gulamov
982f6f081a Enable prefetch and experimental client prerender in Astro config
The commit introduces prefetch in the Astro configuration to improve initial load speed. Additionally, it enables an experimental feature, clientPrerender, to potentially enhance rendering performance. Changes have been made keeping both functionality and performance improvements in mind.
2024-02-22 22:08:45 +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
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
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
c547ce4d7d Add 'astro-compressor' and 'astro-critters' to astro config and packages
This commit introduces 'astro-compressor' and 'astro-critters' to the project's astro configuration file and package files. This is reflected in both the regular package file and the package lock file. The compressor integration has gzip disabled and brotli enabled in the astro configuration.
2024-02-19 08:00:15 +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
bae3f6f61e Update image configuration in astro.config.mjs
The image configuration in the astro.config.mjs file has been extended to include empty domains and AVIF and WebP formats. This adjustment will enhance image handling capabilities and ensure compatibility with a wider range of image formats.
2024-02-12 17:30:54 +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
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
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