Commit graph

200 commits

Author SHA1 Message Date
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
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