diff --git a/client/constants/Pattern.ts b/client/constants/Pattern.ts index ccdc727..5a150d1 100644 --- a/client/constants/Pattern.ts +++ b/client/constants/Pattern.ts @@ -1,4 +1,5 @@ enum Pattern { + Avatar = 'Avatar', AvatarList = 'Avatar list', Badge = 'Badge', Breadcrumb = 'Breadcrumb', diff --git a/client/pages/ExplorePage.tsx b/client/pages/ExplorePage.tsx index 9fd8c1f..15b3f69 100644 --- a/client/pages/ExplorePage.tsx +++ b/client/pages/ExplorePage.tsx @@ -88,6 +88,7 @@ const ExplorePage = () => {
+ diff --git a/client/pages/HomePage.tsx b/client/pages/HomePage.tsx index eb7fbcd..0481f92 100644 --- a/client/pages/HomePage.tsx +++ b/client/pages/HomePage.tsx @@ -170,7 +170,7 @@ const HomePage = () => { marginBottom: '16px', }} > - 50+ patterns + 60+ patterns
= () => { /> - + ); }; diff --git a/client/patterns/avatar/Cover.tsx b/client/patterns/avatar/Cover.tsx new file mode 100644 index 0000000..b0de94c --- /dev/null +++ b/client/patterns/avatar/Cover.tsx @@ -0,0 +1,51 @@ +import React from 'react'; + +import Frame from '../../placeholders/Frame'; + +const Cover: React.FC<{}> = () => { + return ( + +
+
+ + + +
+
+ + ); +}; + +export default Cover; diff --git a/client/patterns/avatar/Details.tsx b/client/patterns/avatar/Details.tsx new file mode 100644 index 0000000..123eaff --- /dev/null +++ b/client/patterns/avatar/Details.tsx @@ -0,0 +1,83 @@ +import React from 'react'; + +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/initial-avatar/Details.tsx b/client/patterns/initial-avatar/Details.tsx index a0ee851..25f1fc5 100644 --- a/client/patterns/initial-avatar/Details.tsx +++ b/client/patterns/initial-avatar/Details.tsx @@ -86,7 +86,13 @@ const Details: React.FC<{}> = () => { ); diff --git a/client/patterns/presence-indicator/Details.tsx b/client/patterns/presence-indicator/Details.tsx index f9cc574..177fc68 100644 --- a/client/patterns/presence-indicator/Details.tsx +++ b/client/patterns/presence-indicator/Details.tsx @@ -72,7 +72,10 @@ const Details: React.FC<{}> = () => { `} /> - + + ); }; diff --git a/public/sitemap.xml b/public/sitemap.xml index 5ef572f..5adeb20 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -5,6 +5,7 @@ https://csslayout.io/patterns/split-screen https://csslayout.io/patterns/sticky-footer https://csslayout.io/patterns/sticky-header + https://csslayout.io/patterns/avatar https://csslayout.io/patterns/avatar-list https://csslayout.io/patterns/badge https://csslayout.io/patterns/breadcrumb