diff --git a/client/constants/Pattern.ts b/client/constants/Pattern.ts index 65740ae..dc0ce5a 100644 --- a/client/constants/Pattern.ts +++ b/client/constants/Pattern.ts @@ -5,6 +5,7 @@ enum Pattern { Accordion = 'Accordion', + ArrowButtons = 'Arrow buttons', Avatar = 'Avatar', AvatarList = 'Avatar list', Badge = 'Badge', diff --git a/client/pages/ExplorePage.tsx b/client/pages/ExplorePage.tsx index 52cb216..d2ffae3 100644 --- a/client/pages/ExplorePage.tsx +++ b/client/pages/ExplorePage.tsx @@ -148,6 +148,7 @@ const ExplorePage = () => {
+ diff --git a/client/patterns/arrow-buttons/Cover.tsx b/client/patterns/arrow-buttons/Cover.tsx new file mode 100644 index 0000000..8635c58 --- /dev/null +++ b/client/patterns/arrow-buttons/Cover.tsx @@ -0,0 +1,82 @@ +/** + * A collection of popular layouts and patterns made with CSS (https://csslayout.io) + * (c) 2019 - 2020 Nguyen Huu Phuoc + */ + +import React from 'react'; + +import Frame from '../../placeholders/Frame'; + +const Cover: React.FC<{}> = () => { + return ( + +
+
+
+
+
+
+
+
+ + ); +}; + +export default Cover; diff --git a/client/patterns/arrow-buttons/Details.tsx b/client/patterns/arrow-buttons/Details.tsx new file mode 100644 index 0000000..ccbcab9 --- /dev/null +++ b/client/patterns/arrow-buttons/Details.tsx @@ -0,0 +1,292 @@ +/** + * A collection of popular layouts and patterns made with CSS (https://csslayout.io) + * (c) 2019 - 2020 Nguyen Huu Phuoc + */ + +import React from 'react'; +import { Helmet } from 'react-helmet'; + +import RelatedPatterns from '../../components/RelatedPatterns'; +import Pattern from '../../constants/Pattern'; +import DetailsLayout from '../../layouts/DetailsLayout'; +import BrowserFrame from '../../placeholders/BrowserFrame'; + +const Details: React.FC<{}> = () => { + return ( + + + + + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ )} + source={` + + + + + + + + + + + +`} + /> +
+ + + + ); +}; + +export default Details; diff --git a/client/patterns/close-button/Details.tsx b/client/patterns/close-button/Details.tsx index 52176c9..f460c97 100644 --- a/client/patterns/close-button/Details.tsx +++ b/client/patterns/close-button/Details.tsx @@ -116,7 +116,7 @@ const Details: React.FC<{}> = () => { />
- + ); }; diff --git a/client/patterns/popover-arrow/Details.tsx b/client/patterns/popover-arrow/Details.tsx index 249ef95..5a1677f 100644 --- a/client/patterns/popover-arrow/Details.tsx +++ b/client/patterns/popover-arrow/Details.tsx @@ -434,7 +434,7 @@ const Details: React.FC<{}> = () => { />
- + ); }; diff --git a/public/sitemap.xml b/public/sitemap.xml index 7fee9d4..5880451 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -1,6 +1,7 @@ https://csslayout.io/patterns https://csslayout.io/patterns/accordion + https://csslayout.io/patterns/arrow-buttons https://csslayout.io/patterns/avatar https://csslayout.io/patterns/avatar-list https://csslayout.io/patterns/badge