diff --git a/client/constants/Pattern.ts b/client/constants/Pattern.ts index 88edecd..9d5f2eb 100644 --- a/client/constants/Pattern.ts +++ b/client/constants/Pattern.ts @@ -21,6 +21,7 @@ enum Pattern { Modal = 'Modal', Notification = 'Notification', Pagination = 'Pagination', + PresenceIndicator = 'Presence indicator', PreviousNextButtons = 'Previous next buttons', PricingTable = 'Pricing table', PropertyList = 'Property list', diff --git a/client/pages/ExplorePage.tsx b/client/pages/ExplorePage.tsx index 68d6056..e9ba511 100644 --- a/client/pages/ExplorePage.tsx +++ b/client/pages/ExplorePage.tsx @@ -104,6 +104,7 @@ const ExplorePage = () => { + diff --git a/client/pages/HomePage.tsx b/client/pages/HomePage.tsx index 4f51ed9..f8c2e77 100644 --- a/client/pages/HomePage.tsx +++ b/client/pages/HomePage.tsx @@ -216,6 +216,7 @@ const HomePage = () => { + diff --git a/client/patterns/docked-at-corner/Details.tsx b/client/patterns/docked-at-corner/Details.tsx index 8329dae..eeb3c45 100644 --- a/client/patterns/docked-at-corner/Details.tsx +++ b/client/patterns/docked-at-corner/Details.tsx @@ -1,6 +1,8 @@ import React from 'react'; import Heading from '../../components/Heading'; +import RelatedPatterns from '../../components/RelatedPatterns'; +import Pattern from '../../constants/Pattern'; import DetailsLayout from '../../layouts/DetailsLayout'; import BrowserFrame from '../../placeholders/BrowserFrame'; import Rectangle from '../../placeholders/Rectangle'; @@ -138,6 +140,7 @@ const Details: React.FC<{}> = () => { + ); }; diff --git a/client/patterns/drop-cap/Cover.tsx b/client/patterns/drop-cap/Cover.tsx index 2ceb749..533ea47 100644 --- a/client/patterns/drop-cap/Cover.tsx +++ b/client/patterns/drop-cap/Cover.tsx @@ -23,8 +23,8 @@ const Cover: React.FC<{}> = () => { alignItems: 'center', border: '2px dashed rgba(0, 0, 0, 0.3)', display: 'flex', - marginRight: '8px', justifyContent: 'center', + marginRight: '8px', width: '32px', }} > diff --git a/client/patterns/drop-cap/Details.tsx b/client/patterns/drop-cap/Details.tsx index 88dba3a..f17e8d9 100644 --- a/client/patterns/drop-cap/Details.tsx +++ b/client/patterns/drop-cap/Details.tsx @@ -26,8 +26,9 @@ const Details: React.FC<{}> = () => { >
- Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document - written in a markup language like HTML. CSS is a cornerstone technology of the World Wide Web, + Cascading Style Sheets (CSS) is a style sheet language used for + describing the presentation of a document written in a markup + language like HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.
diff --git a/client/patterns/presence-indicator/Cover.tsx b/client/patterns/presence-indicator/Cover.tsx new file mode 100644 index 0000000..7d58164 --- /dev/null +++ b/client/patterns/presence-indicator/Cover.tsx @@ -0,0 +1,45 @@ +import React from 'react'; + +import Frame from '../../placeholders/Frame'; + +const Cover: React.FC<{}> = () => { + return ( + +
+
+
+
+
+ + ); +}; + +export default Cover; diff --git a/client/patterns/presence-indicator/Details.tsx b/client/patterns/presence-indicator/Details.tsx new file mode 100644 index 0000000..9ef9b89 --- /dev/null +++ b/client/patterns/presence-indicator/Details.tsx @@ -0,0 +1,80 @@ +import React from 'react'; + +import RelatedPatterns from '../../components/RelatedPatterns'; +import Pattern from '../../constants/Pattern'; +import DetailsLayout from '../../layouts/DetailsLayout'; +import BrowserFrame from '../../placeholders/BrowserFrame'; +import Circle from '../../placeholders/Circle'; + +const Details: React.FC<{}> = () => { + return ( + +
+ +
+ +
+
+
+ )} + source={` +
+ + ... + + +
+
+`} + /> +
+ + + ); +}; + +export default Details; diff --git a/public/sitemap.xml b/public/sitemap.xml index 2ea3ef8..a52843b 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -26,6 +26,7 @@ https://csslayout.io/patterns/modal https://csslayout.io/patterns/notification https://csslayout.io/patterns/pagination + https://csslayout.io/patterns/presence-indicator https://csslayout.io/patterns/previous-next-buttons https://csslayout.io/patterns/pricing-table https://csslayout.io/patterns/progress-bar