|
1 | | -import Button from "components/Button/Button"; |
| 1 | +import Button from "components/base/Button/Button"; |
2 | 2 | import { |
3 | 3 | Places, |
4 | 4 | UserProfileSubheader, |
5 | 5 | UserProfileSubheaderMobile, |
6 | | -} from "components/UserProfileSubheader/UserProfileSubheader"; |
| 6 | +} from "components/UserProfileSubheader"; |
| 7 | +import CompareFavoritesButton from "components/CompareFavoritesButton"; |
7 | 8 |
|
8 | 9 | import ArrowLeftIcon from "assets/icons/arrow-left.svg?react"; |
9 | 10 | import ArrowRightIcon from "assets/icons/arrow-right.svg?react"; |
@@ -75,7 +76,7 @@ const Components = () => { |
75 | 76 | size="small" |
76 | 77 | label="Add to favorites" |
77 | 78 | leftIcon={ |
78 | | - <StarIcon className="font-normal h-[14px] w-[14px]" /> |
| 79 | + <StarIcon className="font-normal h-[14px] w-[14px] fill fill-orange-800" /> |
79 | 80 | } |
80 | 81 | /> |
81 | 82 | </div> |
@@ -106,7 +107,7 @@ const Components = () => { |
106 | 107 | variant="orange" |
107 | 108 | label="Add to favorites" |
108 | 109 | leftIcon={ |
109 | | - <StarIcon className="font-normal h-[14px] w-[14px]" /> |
| 110 | + <StarIcon className="font-normal h-[14px] w-[14px] fill fill-orange-800" /> |
110 | 111 | } |
111 | 112 | /> |
112 | 113 | </div> |
@@ -156,14 +157,47 @@ const Components = () => { |
156 | 157 | size="large" |
157 | 158 | label="Add to favorites" |
158 | 159 | leftIcon={ |
159 | | - <StarIcon className="font-normal h-[14px] w-[14px]" /> |
| 160 | + <StarIcon className="font-normal h-[17px] w-[17px] fill fill-orange-800" /> |
160 | 161 | } |
161 | 162 | /> |
162 | 163 | </div> |
163 | 164 | </div> |
164 | 165 | </div> |
165 | 166 | </section> |
166 | 167 |
|
| 168 | + {/* Section for Button Group */} |
| 169 | + <section className="p-8 bg-white border border-gray-200 rounded-lg shadow-sm"> |
| 170 | + <h2 className="text-3xl font-medium text-gray-800 mb-8 pb-4 border-b"> |
| 171 | + Button group |
| 172 | + </h2> |
| 173 | + <div className="space-y-8"> |
| 174 | + <div className="flex flex-col gap-4"> |
| 175 | + <h3 className="text-xl text-gray-800 mb-2"> |
| 176 | + Small |
| 177 | + </h3> |
| 178 | + <div> |
| 179 | + <CompareFavoritesButton size="small" /> |
| 180 | + </div> |
| 181 | + </div> |
| 182 | + <div className="flex flex-col gap-4"> |
| 183 | + <h3 className="text-xl text-gray-800 mb-2"> |
| 184 | + Medium |
| 185 | + </h3> |
| 186 | + <div> |
| 187 | + <CompareFavoritesButton /> |
| 188 | + </div> |
| 189 | + </div> |
| 190 | + <div className="flex flex-col gap-4"> |
| 191 | + <h3 className="text-xl text-gray-800 mb-2"> |
| 192 | + Large |
| 193 | + </h3> |
| 194 | + <div> |
| 195 | + <CompareFavoritesButton size="large" /> |
| 196 | + </div> |
| 197 | + </div> |
| 198 | + </div> |
| 199 | + </section> |
| 200 | + |
167 | 201 | {/* Section for User profile sub header */} |
168 | 202 | <section className="p-8 bg-white border border-gray-200 rounded-lg shadow-sm"> |
169 | 203 | <h2 className="text-3xl font-medium text-gray-800 mb-8 pb-4 border-b"> |
|
0 commit comments