diff --git a/src/views/Product/Desktop/index.js b/src/views/Product/Desktop/index.js new file mode 100644 index 0000000..ac958a4 --- /dev/null +++ b/src/views/Product/Desktop/index.js @@ -0,0 +1,11 @@ +import React from "react"; + +const DesktopProductLayout = () =>{ + return ( +
+ Desktop +
+ ); +}; + +export default DesktopProductLayout; \ No newline at end of file diff --git a/src/views/Product/index.js b/src/views/Product/index.js index 041561b..a7e1ed4 100644 --- a/src/views/Product/index.js +++ b/src/views/Product/index.js @@ -8,6 +8,7 @@ import Button from "../../components/Button"; import Header from "../../components/Header"; import Comment from "./Comment"; import Rate from "./Rate"; +import DesktopProductLayout from "./Desktop"; export const Product = ({ isMobile, @@ -173,7 +174,7 @@ export const Product = ({ ))} - ) :
Desktop
} + ) : } ); };