Skip to content

Commit

Permalink
update dependencies, fix width of the recipe description
Browse files Browse the repository at this point in the history
  • Loading branch information
CiotkaCierpienia committed Mar 9, 2022
1 parent cdf4d0a commit 9d3b74c
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 22 deletions.
1 change: 1 addition & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './src/style/global.css';
import '@fontsource/sora/300.css';
import '@fontsource/sora/600.css';
import '@fontsource/inter/600.css';
import '@fontsource/karla/400.css';
import '@fontsource/karla/700.css';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@popperjs/core": "^2.11.0",
"@tailwindcss/forms": "^0.4.0",
"@tailwindcss/line-clamp": "^0.3.1",
"flotiq-components-react": "^0.4.13",
"flotiq-components-react": "^0.4.14",
"gatsby": "^4.7.2",
"gatsby-plugin-google-analytics": "^4.7.0",
"gatsby-plugin-image": "^2.7.0",
Expand Down
25 changes: 13 additions & 12 deletions src/components/RecipeCompactCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,19 @@ const RecipeCompactCard = ({
</p>
</div>
</Link>
<div className="flex flex-wrap justify-start text-sm font-light mt-3">
{tags && tags.map((tag) => (
<a
key={tag}
href="/"
className="mr-5 my-1 py-2 inline-flex items-center justify-center
rounded-md underline text-xs font-light hover:text-secondary"
>
{tag}
</a>
))}
</div>
{/* Uncomment this to add categories to your recipes */}
{/* <div className="flex flex-wrap justify-start text-sm font-light mt-3"> */}
{/* {tags && tags.map((tag) => ( */}
{/* <Link */}
{/* key={tag} */}
{/* href="/" */}
{/* className="mr-5 my-1 py-2 inline-flex items-center justify-center */}
{/* rounded-md underline text-xs font-light hover:text-secondary" */}
{/* > */}
{/* {tag} */}
{/* </Link> */}
{/* ))} */}
{/* </div> */}
</Card.Body>
</Card>
);
Expand Down
2 changes: 1 addition & 1 deletion src/templates/recipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const RecipeTemplate = ({ data }) => {
additionalClasses={['']}
/>
<div className="flex flex-wrap max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex flex-col pl-0 mb-10">
<div className="flex flex-col pl-0 mb-10 w-full">
<div className="text-white bg-primary mt-10 px-10 md:px-24 py-10 relative">
<div className="absolute top-0 left-0 h-6 md:h-12 w-6 md:w-12 bg-light-gray" />
<Header
Expand Down
9 changes: 5 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ module.exports = {
'medium-gray': '#ebebeb',
'light-gray': '#F9F9F9',
},
},
fontFamily: {
karla: ['Karla', 'sans-serif'],
sora: ['Sora', 'sans-serif'],
fontFamily: {
karla: ['Karla', 'sans-serif'],
sora: ['Sora', 'sans-serif'],
inter: ['Inter', 'sans-serif'],
},
},
},
presets: [
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5168,10 +5168,10 @@ flatted@^3.1.0:
resolved "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz"
integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==

flotiq-components-react@^0.4.13:
version "0.4.13"
resolved "https://registry.npmjs.org/flotiq-components-react/-/flotiq-components-react-0.4.13.tgz"
integrity sha512-ABXzQiPFRua6l6o4JsrGwXr67XBB5srcdscbtwPFDiO3jYjO496zVG1ejoEVE27RrKB9d8cwJUM9jLCby8UcVg==
flotiq-components-react@^0.4.14:
version "0.4.14"
resolved "https://registry.yarnpkg.com/flotiq-components-react/-/flotiq-components-react-0.4.14.tgz#5995e69ffdef7249f6bcb9b5a7149db947daa036"
integrity sha512-L6W3Nm5Z0C3kNHDksOMoNh02KM07SORP4Ewy8NdYJTpMyqj2rTDhU9UG69giP2xMUH7eqe8J3LAcWPkOKIuyow==

follow-redirects@^1.0.0, follow-redirects@^1.14.0:
version "1.14.8"
Expand Down

0 comments on commit 9d3b74c

Please sign in to comment.