From 254db1ab99fb7e8d5feda3792b3f973ddd36c7dc Mon Sep 17 00:00:00 2001 From: Phuoc Nguyen Date: Sat, 18 Jan 2020 15:11:29 +0700 Subject: [PATCH] Add watermark pattern --- client/constants/Pattern.ts | 1 + client/pages/ExplorePage.tsx | 1 + client/patterns/watermark/Cover.tsx | 38 ++++++++ client/patterns/watermark/Details.tsx | 132 ++++++++++++++++++++++++++ public/sitemap.xml | 1 + 5 files changed, 173 insertions(+) create mode 100644 client/patterns/watermark/Cover.tsx create mode 100644 client/patterns/watermark/Details.tsx diff --git a/client/constants/Pattern.ts b/client/constants/Pattern.ts index ca1f16d..4056de7 100644 --- a/client/constants/Pattern.ts +++ b/client/constants/Pattern.ts @@ -90,6 +90,7 @@ enum Pattern { UploadButton = 'Upload button', ValidationIcon = 'Validation icon', VideoBackground = 'Video background', + Watermark = 'Watermark', Wizard = 'Wizard', } diff --git a/client/pages/ExplorePage.tsx b/client/pages/ExplorePage.tsx index db33d99..d534478 100644 --- a/client/pages/ExplorePage.tsx +++ b/client/pages/ExplorePage.tsx @@ -186,6 +186,7 @@ const ExplorePage = () => { + diff --git a/client/patterns/watermark/Cover.tsx b/client/patterns/watermark/Cover.tsx new file mode 100644 index 0000000..44abda8 --- /dev/null +++ b/client/patterns/watermark/Cover.tsx @@ -0,0 +1,38 @@ +/** + * 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 ( + +
+
+ Draft +
+
+ + ); +}; + +export default Cover; diff --git a/client/patterns/watermark/Details.tsx b/client/patterns/watermark/Details.tsx new file mode 100644 index 0000000..85a1665 --- /dev/null +++ b/client/patterns/watermark/Details.tsx @@ -0,0 +1,132 @@ +/** + * 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 DetailsLayout from '../../layouts/DetailsLayout'; +import Block from '../../placeholders/Block'; +import BrowserFrame from '../../placeholders/BrowserFrame'; + +const Details: React.FC<{}> = () => { + return ( + + + + + +
+ +
+
+
+ Draft +
+
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+ )} + source={` +
+ +
+ +
+ Draft +
+
+ + + ... +
+`} + /> + +
+ ); +}; + +export default Details; diff --git a/public/sitemap.xml b/public/sitemap.xml index e04d9a7..92a7f08 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -86,5 +86,6 @@ https://csslayout.io/patterns/upload-button https://csslayout.io/patterns/validation-icon https://csslayout.io/patterns/video-background + https://csslayout.io/patterns/watermark https://csslayout.io/patterns/wizard \ No newline at end of file