File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,8 @@ import { v4 as uuidv4 } from 'uuid';
9
9
const IndexProducts = ( { products } ) => {
10
10
return (
11
11
< >
12
-
13
12
< section className = "container mx-auto bg-white" >
14
-
15
- < div
16
- id = "product-container"
17
- className = "flex flex-wrap items-center"
18
- >
19
-
20
-
13
+ < div id = "product-container" className = "flex flex-wrap items-center" >
21
14
{ products ? (
22
15
products . map (
23
16
( {
@@ -41,7 +34,7 @@ const IndexProducts = ({ products }) => {
41
34
< a >
42
35
< img
43
36
id = "product-image"
44
- className = "transition duration-500 ease-in-out transform hover:grow hover:shadow-lg hover:scale-105"
37
+ className = "transition duration-500 ease-in-out transform hover:grow hover:shadow-lg hover:scale-105"
45
38
//className="w-64 transition duration-500 ease-in-out transform hover:grow hover:shadow-lg hover:scale-105"
46
39
src = { image . sourceUrl }
47
40
/>
Original file line number Diff line number Diff line change @@ -17,11 +17,9 @@ const Produkter = ({ products }) => {
17
17
18
18
return (
19
19
< >
20
- < PageTitle title = "Produkter" marginleft = "true" />
21
-
22
- {
23
- products && < IndexProducts products = { products } />
24
- }
20
+ < PageTitle title = "Produkter" marginleft = "true" />
21
+
22
+ { products && < IndexProducts products = { products } /> }
25
23
26
24
{ ! products && ! error && (
27
25
< div className = "h-64 mt-8 text-2xl text-center" >
You can’t perform that action at this time.
0 commit comments