diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bf3666..20256d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.33](https://github.com/chingu-voyages/v46-tier2-team-19/compare/v0.0.32...v0.0.33) (2023-11-18) + + +### Bug Fixes + +* **header.jsx:** add z-index to nav element ([fbe40d5](https://github.com/chingu-voyages/v46-tier2-team-19/commit/fbe40d547d054dbbdba40f3f17c38124ed631be1)), closes [#115](https://github.com/chingu-voyages/v46-tier2-team-19/issues/115) +* **intro card:** hide plant corner detail on mobile ([1044c8d](https://github.com/chingu-voyages/v46-tier2-team-19/commit/1044c8d6582c7ee921228be97e40877f88912f45)) +* **recipe difficulty card:** hide card when no data available ([ed6c084](https://github.com/chingu-voyages/v46-tier2-team-19/commit/ed6c084c1644eece8da2559833696c9fdc83d480)) +* **search page:** layout fixes ([3a3138a](https://github.com/chingu-voyages/v46-tier2-team-19/commit/3a3138a3d6a1eaecaaf65c1f1553350eb926f042)) +* **search.jsx:** move colored balls code above heading for proper stacking order ([1873016](https://github.com/chingu-voyages/v46-tier2-team-19/commit/1873016c121350dff05acd8d5200d248cdddde93)), closes [#115](https://github.com/chingu-voyages/v46-tier2-team-19/issues/115) +* **search.jsx:** remove z-index from heading ([9372547](https://github.com/chingu-voyages/v46-tier2-team-19/commit/9372547e9b437401a7e589c3a30b73a912ab0f1a)), closes [#115](https://github.com/chingu-voyages/v46-tier2-team-19/issues/115) +* **tags:** change tags link to properly format ([a92259a](https://github.com/chingu-voyages/v46-tier2-team-19/commit/a92259ae8bcd5cb8b188bcbd05b6947e439827b8)) +* **tips:** pad control dots and round out avatar images ([b5f2ea4](https://github.com/chingu-voyages/v46-tier2-team-19/commit/b5f2ea4d3bfdee97b385887c50cc02dbec234a73)) + ### [0.0.32](https://github.com/chingu-voyages/v46-tier2-team-19/compare/v0.0.31...v0.0.32) (2023-11-13) ### [0.0.31](https://github.com/chingu-voyages/v46-tier2-team-19/compare/v0.0.30...v0.0.31) (2023-11-12) diff --git a/package-lock.json b/package-lock.json index 15bc4a4..ddb71ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "recipe-app", - "version": "0.0.32", + "version": "0.0.33", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "recipe-app", - "version": "0.0.32", + "version": "0.0.33", "dependencies": { "@headlessui/react": "^1.7.17", "@tanstack/react-query": "^4.36.1", diff --git a/package.json b/package.json index 056a879..392eca9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "recipe-app", "private": true, - "version": "0.0.32", + "version": "0.0.33", "type": "module", "scripts": { "dev": "vite", diff --git a/src/features/recipes/components/feature-of-the-day/feature-of-the-day.jsx b/src/features/recipes/components/feature-of-the-day/feature-of-the-day.jsx index 1485398..2ed49fa 100644 --- a/src/features/recipes/components/feature-of-the-day/feature-of-the-day.jsx +++ b/src/features/recipes/components/feature-of-the-day/feature-of-the-day.jsx @@ -11,17 +11,21 @@ export const FeatureOfTheDay = () => { Recipe of the day
- + Roasted Chicken And Sweet Potatoes Recipe

@@ -33,10 +37,10 @@ export const FeatureOfTheDay = () => {

diff --git a/src/features/recipes/components/recipe-details/Description.jsx b/src/features/recipes/components/recipe-details/Description.jsx index 39663f3..66dd5a6 100644 --- a/src/features/recipes/components/recipe-details/Description.jsx +++ b/src/features/recipes/components/recipe-details/Description.jsx @@ -31,7 +31,7 @@ export const Description = ({ description }) => { const body = words.slice(titleLength).join(" "); console.log("body length:", body.length); return description ? ( -
+
10 ? "text-clamp-h3" : ""}> {title} diff --git a/src/features/recipes/components/recipe-details/IntroCard.jsx b/src/features/recipes/components/recipe-details/IntroCard.jsx index 7f5d8ef..374959a 100644 --- a/src/features/recipes/components/recipe-details/IntroCard.jsx +++ b/src/features/recipes/components/recipe-details/IntroCard.jsx @@ -10,7 +10,7 @@ export const IntroCard = ({ name, imageUrl, description }) => {
@@ -30,7 +30,7 @@ export const IntroCard = ({ name, imageUrl, description }) => { ); return ( -
+
{
-
+
{ renditions={recipe.renditions} className="mb-12 outline-4 md:col-start-7 md:col-end-13 md:row-start-1 lg:col-start-1 lg:col-end-5 lg:row-start-3 lg:-mx-4 lg:-mb-4 2xl:col-end-4" /> - - - + { // Available cards: @@ -28,31 +29,39 @@ export const RecipeDifficultyCard = ({ tags }) => { (tag) => tag.type === "difficulty" && tag.name === "5_ingredients_or_less", ); return ( -
- -
- {easy && ( - +
+ - )} - {quickText && ( - - )} - {simple && ( - - )} -
-
+
+ {easy && ( + + )} + {quickText && ( + + )} + {simple && ( + + )} +
+
+
+ ) ); }; diff --git a/src/features/recipes/components/recipe-details/Tags.jsx b/src/features/recipes/components/recipe-details/Tags.jsx index dcb7db7..de75d33 100644 --- a/src/features/recipes/components/recipe-details/Tags.jsx +++ b/src/features/recipes/components/recipe-details/Tags.jsx @@ -18,8 +18,8 @@ export const Tags = ({ tags }) => { return ( {tag.display_name} diff --git a/src/features/recipes/components/recipe-details/Tips.jsx b/src/features/recipes/components/recipe-details/Tips.jsx index 7d82b76..0fbce59 100644 --- a/src/features/recipes/components/recipe-details/Tips.jsx +++ b/src/features/recipes/components/recipe-details/Tips.jsx @@ -26,7 +26,7 @@ export const Tips = ({ recipeId }) => { showIndicators={true} dynamicHeight={false} stopOnHover={true} - className="bg-transparent mx-[-2.25rem] [&_.carousel-slider]:overflow-visible [&_.control-dots]:bottom-[-2rem]" + className="bg-transparent mx-[-2.25rem] [&_.carousel-slider]:overflow-visible [&_.control-dots]:bottom-[-2rem] [&_.control-dots]:px-6" > {tips.map((tip) => (
@@ -58,7 +58,7 @@ const TipCard = ({ return (
-
+
{ {name} -