Commit graph

59 commits

Author SHA1 Message Date
Emil Gulamov
5e2a3f88b9 Add NavLink component for navbar
This commit introduces a reusable NavLink component for the navigation bar. This component has a script to highlight the active link by comparing the current URL with each link's href. It also improves code readability by separating concerns.
2024-02-12 17:16:21 +04:00
Emil Gulamov
6eeb74c235 Implement AccordionItem component and FAQ section
Implemented a new AccordionItem component and a Frequently Asked Questions (FAQ) section on the website. The AccordionItem component is a reusable, customizable accordion-style UI element that can be used for compact, expandable content presentation. The FAQ section uses the AccordionItem to present a list of commonly asked questions and their answers, with a clean expand/collapse interaction for readability.
2024-02-12 05:46:48 +04:00
Emil Gulamov
66bbe9f963 Rename 'paragraph' prop to 'content' across components
The 'paragraph' prop has been updated to 'content' in Astro components to provide more flexibility in what content it can include. This change affects IconBlock, TabNav, FeaturesNavs, and FeaturesGeneral components, ensuring the prop name is consistently used throughout and reflects its function more accurately.
2024-02-12 05:46:27 +04:00
Emil Gulamov
41deaa4fbf Refactor component names and add newline in SecondaryCTA
Refactored the names of the Testimonials and Pricing components to TestimonialsSection and PricingSection for better understanding. Also fixed the lack of newline at the end of file in SecondaryCTA component.
2024-02-12 04:48:22 +04:00
Emil Gulamov
a12fb8be40 Add FeaturesNavs component and update TabNav & TabContent components
This commit introduces a new component 'FeaturesNavs' that includes the navigation for the tools, dashboards, and robust features selections. It also modifies the existing 'TabNav' and 'TabContent' components to manage the functionality of the tabs dynamically. Changes emphasize the use of 'first' and 'second' props to manage the initial active tab and style variations.
2024-02-12 03:50:38 +04:00
Emil Gulamov
dd387e7a08 Add IconBlock component and use in FeaturesGeneral
Introduced a new Astro component, IconBlock, used for displaying icons paired with a heading and paragraph. This component is then utilized in the newly added FeaturesGeneral component, which encapsulates a feature section of the UI with a title, subtitle, image and a dynamic set of IconBlocks. This promotes reusability and visual consistency across the application.
2024-02-11 23:55:40 +04:00
Emil Gulamov
3174ed252e Add Avatar component
The commit introduces an Avatar component in Astro. This component is primarily used for displaying user avatars, taking in source and alt text as props. It's highly reusable, providing versatility for displaying avatars across various features in the application.
2024-02-11 22:46:11 +04:00
Emil Gulamov
61950cc4f3 Add FullStar and HalfStar components
The commit introduces two new Astro components: FullStar and HalfStar. These components are primarily used for displaying rating stars. They show a filled star and half-filled star, which are useful in building a user review feature especially in eCommerce platforms.
2024-02-11 22:46:00 +04:00
Emil Gulamov
7c2c33331e Add PrimaryCTA and SecondaryCTA components
This commit adds two new Astro components: PrimaryCTA and SecondaryCTA. These components represent the primary and secondary Call To Action (CTA) buttons, respectively. Both components accept title and url as props, and present clickable buttons styled according to their classification.
2024-02-11 22:45:46 +04:00