Commit graph

177 commits

Author SHA1 Message Date
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
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
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
7700a60c9e Add French translation for various site components, data files, and navigation settings
This commit adds French translations to various components of the website. Specifically, a French Contact Us section has been created, as well as French versions of FAQs and feature data files. Additionally, French settings for the site navigation have been defined. This provides French-speaking users with a more convenient and accessible experience when using the site.
2024-03-26 01:13:31 +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
a7abaee69f Add new ContactSection_fr component and update related Icons
Introduced a new ContactSection_fr.astro component to handle the Contact Us section of the application and expanded the Icon component to encompass new icons used in the ContactSection.
2024-03-25 22:40:28 +04: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
831287db76 Add structured data to enhance SEO 2024-03-24 17:28:23 +04:00
Emil Gulamov
72ac3a27e3 Add reusable icons and update focus styles
Added icons as reusable components for easier and consistent implementation across the project. Also updated the focus ring styles on links to improve accessibility. This makes use of the `:focus-visible` pseudo-class to only display the ring when keyboard navigation is used.
2024-03-24 00:52:10 +04:00
Emil Gulamov
02487794e9 Add image and JSON data imports to index.astro
This commit includes importing several image files and JSON data files in 'index.astro'. It adds unique data imports for FAQ, features, and several feature images. It also modifies existing component props to use imported data, enhancing code reusability and maintainability.
2024-03-22 04:44:38 +04:00
Emil Gulamov
af314f187c Refactor FAQ section to utilize props and external data source
Revised FAQ component in Astro.js to import and use data from an external JSON source, instead of hardcoding the data. Updated TypeScript interfaces for the FAQ props, improving data structure and readability. The icons used have also been streamlined through a centralized 'Icon' component.
2024-03-22 04:44:09 +04:00
Emil Gulamov
24ae5dc3e2 Replace SVG icons with Icon component throughout the application
A centralized Icon component is now used to manage all SVG icons, improving code readability and maintainability. It also replaced manually defined SVG paths in various components including cards, buttons, and sections.
2024-03-22 04:43:44 +04:00
Emil Gulamov
7821ef382a Refactor features section to use flexible data and Icon components
Refactored the features section of the website to use externally-defined data alongside reusable Icon components. Now, tabs and feature blocks' content is dictated by passed-in props, improving the modularity and adaptability of the code. Individual SVG icons are also now handled by a single Icon component, simplifying the codebase and enhancing maintainability.
2024-03-22 04:43:19 +04:00
Emil Gulamov
2d8e7a38e6 Add FAQ and Features data, and implement UI components for Icons
Introduced FAQ and Features data files and set up new UI components for displaying icons. The FAQ data helps to answer common questions users may have and the Features data describes various offerings and services. In the Icon.astro and icons.ts file, created the logic for rendering different SVG icons based on data passed to the Icon component.
2024-03-22 04:38:07 +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
d69078b745 Update CSS properties and layouts in MDX files
The CSS properties in the starlight_main.css, starlight.css files were updated for both dark and light modes to improve color consistency and design elements such as background gradients and list marker color. Layouts of the MDX files (first-project-checklist.mdx, getting-started.mdx, and welcome-to-docs.mdx) were also updated to use the Starlight Layout.
2024-03-21 23:20:12 +04:00
Emil Gulamov
18d413f767 Update CSS properties and layouts in MDX files
The CSS properties in the starlight_main.css, starlight.css files were updated for both dark and light modes to improve color consistency and design elements such as background gradients and list marker color. Layouts of the MDX files (first-project-checklist.mdx, getting-started.mdx, and welcome-to-docs.mdx) were also updated to use the Starlight Layout.
2024-03-21 23:20:01 +04:00
Emil Gulamov
7b5776662c Update accent colors and enhance interactive elements
Modified accent colors in both dark and light modes for better visibility and consistency across the application. Included a hover effect for primary action buttons to improve user interaction. Also, adjustments were made to the border radius for certain elements, giving them a more modern and rounded appearance. These changes aim to enhance the overall user experience and the visual design of the application.
2024-03-21 22:31:54 +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
59de89cbd8 Merge remote-tracking branch 'origin/main' 2024-03-21 02:14:39 +04:00
Emil Gulamov
700b1cfe68 Update text and hover styles in PostFeedback.astro
Changed button text colors in PostFeedback.astro component to improve visibility. Hover styles were also tweaked to enhance user interaction.
2024-03-21 02:14:20 +04:00
newbeelearn
08e4a77b5f Add image source and alt to HeroSection
Added image source and alt to HeroSection so that images can be
passed to it. Right now it is hardcoded in HeroSection. This will improve
reusability of HeroSection by theme users.
2024-03-20 17:24:41 +05:30
Emil Gulamov
7ad68b54f4 Update "Getting Started" links in various language docs 2024-03-20 08:59:11 +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
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
b4f128b6e2 Add Bookmark button functionality and update blog post layout
This commit introduces a new Bookmark button component along with its corresponding functionality using localStorage. It also updates the blog post layout by adding the Bookmark button, SocialShare, and PostFeedback components as well as restructuring the post tags section for better UI.
2024-03-17 08:04:59 +04:00
Emil Gulamov
ed6d643023 Update package dependencies and enhance accessibility
This commit updates the versions for several package dependencies in the `package.json` and `package-lock.json` files. Additionally, it adds the "gsap" package to the dependencies list. The commit also introduces ARIA roles to the "AnnouncementBanner.astro" component for improved accessibility. These labels help assistive technology, like screen readers, interpret the banner's purpose and information.
2024-03-14 17:08:46 +04:00
Emil Gulamov
3c4ce677c3 Add "eager" loading to images in TabContent and TestimonialItem
Added "eager" loading attribute to the image tags in two Astro components: TabContent and TestimonialItem. This optimization allows images to load immediately as soon as the page starts loading, improving the user's visual experience when first accessing the page.
2024-03-11 22:09:59 +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
a05415e1c0 @astrojs/vercel and astro package versions
The versions of @astrojs/vercel and astro packages in package.json are upgraded. This change was necessary to utilize the latest features and improvements provided by these updated versions.
2024-03-10 00:08:52 +04:00
Emil Gulamov
1ab6b250fa Correct dark mode brightness for banner button
The CSS class associated with the button in the AnnouncementBanner component has been modified. Specifically, the backdrop brightness in dark mode has been updated to ensure better visibility and user experience. This change takes into consideration users who prefer dark themed interfaces.
2024-03-07 17:30:14 +04:00
Emil Gulamov
e95dd9987a Update button title and make banner title optional
The button title on the main page has been changed to "Explore ScrewFast on GitHub". Also, the title for AnnouncementBanner is now optional, enabling use of the banner without a predefined title, increasing its reusability. The CSS styles have also been updated to accommodate these changes.
2024-03-07 02:05:02 +04:00
Emil Gulamov
6edea738fa Add ReviewComponent and refactor HeroSection
The HeroSection component code has been refactored to include a whole new block component called ReviewComponent, which contains code for presenting avatars, review ratings, and the number of reviews previously contained within HeroSection alone. This enhances code modularity. Now, HeroSection simply imports and utilizes ReviewComponent when needed, making the code more concise and easier to manage.
2024-02-27 06:15:35 +04:00
Emil Gulamov
32e163e9b5 Update color scheme in AnnouncementBanner component
Color scheme for the text and hover effect within the 'AnnouncementBanner' component has been updated for better visibility and user interface aesthetics. The changes predominantly involve the adjustment of 'text-neutral' and 'text-neutral-hover' classes in the Astro component file. These changes are expected to greatly enhance user readability and overall UI experience.
2024-02-25 03:46:27 +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
b422d079fb Refactor event handlers to remove unused event parameter
In several areas of the code, event handlers had an unused event parameter. This change removes these unused parameters to improve the code's readability and maintainability. Specifically, the changes were made in the "Navbar.astro", "[...slug].astro", and "services.astro" components.
2024-02-24 23:59:08 +04:00
Emil Gulamov
bdfe5a4539 Remove 'bannerId' property from AnnouncementBanner
The 'bannerId' property has been removed from the AnnouncementBanner component as it is unneeded. This change has been reflected in both the component definition and places where the component is used, resulting in cleaner and more maintainable code.
2024-02-24 23:49:56 +04:00
Emil Gulamov
0d2c92052b Add new Announcement Banner component
Implemented a new Announcement Banner component on the main page. This banner features a dismiss button and is customizable with dynamic properties for title, bannerId, button Id, button title, and URL. Also, added a new SVG file for the banner's background pattern.
2024-02-24 23:39:00 +04:00
Emil Gulamov
f81a5542dd "Add example URL in blog page comments"
Included a comment in the '[...slug].astro' file within the src/pages/blog directory. This comment includes a URL providing an example of a more refined approach to choosing related blog posts.
2024-02-24 05:48:44 +04:00
Emil Gulamov
8e6f720f75 Fix missing closing tag in Navbar
Fixed an issue where the NavLink component in the Navbar.astro file was not correctly closed.
2024-02-23 20:55:36 +04:00
Emil Gulamov
0d6284cfea Refactor component code and enhance loading attributes
The commit modifies several components to streamline their code by minimizing extra comments and embedded interfaces. This alteration enhances overall code readability. Furthermore, the 'loading=eager' attribute has been added to image components in CardBlogRecent and CardBlog templates to optimize loading performance by instructing the browser to load these images as soon as possible.
2024-02-22 21:59:24 +04:00
Emil Gulamov
7910656bfa Refactor code for dynamic content generation
This commit refactors the code to enable dynamic content generation for three components: FeaturesStats, Meta, and services pages. The FeaturesStats component now receives statistics data through its props, enabling easier content updates. Similar changes have been made in Meta to use site URL from Astro configuration file and dynamically generate image URLs. The services pages code has been refactored to generate articles using an array, making it more maintainable and reusable. This improves the flexibility and scalability of the codebase.
2024-02-22 08:43:37 +04:00
Emil Gulamov
041ed7d55a Add TestimonialItem and StatsGrid components
This commit introduces two new components (TestimonialItem and StatsGrid) to modularize the display of testimonial and statistics information. It also updates the TestimonialsSection to utilize these new components and receive parameters through its props. The MainPage's data source has been adjusted to send the required props for these changes.
2024-02-22 08:43:19 +04:00
Emil Gulamov
2ec0e1975f Refactor and enhance components for better data handling
This commit refactors several components to improve data handling and flexibility. It primarily modifies the way data is passed as props to the components. By taking advantage of the flexibility that comes with the use of props, components such as HeroSection, FeaturesStatsAlt, and TestimonialsSectionAlt have been enhanced to adjust and render content dynamically. This creates an improvement in code reusability and maintainability across the application. Additionally, optional rendering has been added for secondary elements such as subtitles and buttons.
2024-02-21 22:01:09 +04:00