From 61950cc4f3564db9a450173705f8e923ae9ad5bc Mon Sep 17 00:00:00 2001 From: Emil Gulamov <125820963+mearashadowfax@users.noreply.github.com> Date: Sun, 11 Feb 2024 22:46:00 +0400 Subject: [PATCH] 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. --- src/components/ui/stars/FullStar.astro | 11 +++++++++++ src/components/ui/stars/HalfStar.astro | 14 ++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/components/ui/stars/FullStar.astro create mode 100644 src/components/ui/stars/HalfStar.astro diff --git a/src/components/ui/stars/FullStar.astro b/src/components/ui/stars/FullStar.astro new file mode 100644 index 0000000..4303443 --- /dev/null +++ b/src/components/ui/stars/FullStar.astro @@ -0,0 +1,11 @@ + + + diff --git a/src/components/ui/stars/HalfStar.astro b/src/components/ui/stars/HalfStar.astro new file mode 100644 index 0000000..7b9c804 --- /dev/null +++ b/src/components/ui/stars/HalfStar.astro @@ -0,0 +1,14 @@ + + + +